Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RobotAPI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lennard Hofmann
RobotAPI
Commits
6920db16
Commit
6920db16
authored
10 years ago
by
Nikolaus Vahrenkamp
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of
https://i61wiki.itec.uka.de/git/robot-api
parents
51b23ea9
f738ca45
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
source/RobotAPI/components/units/HapticObserver.h
+1
-1
1 addition, 1 deletion
source/RobotAPI/components/units/HapticObserver.h
source/RobotAPI/interface/visualization/DebugDrawerInterface.ice
+19
-2
19 additions, 2 deletions
...RobotAPI/interface/visualization/DebugDrawerInterface.ice
with
20 additions
and
3 deletions
source/RobotAPI/components/units/HapticObserver.h
+
1
−
1
View file @
6920db16
...
...
@@ -41,7 +41,7 @@ namespace armarx
HapticObserverPropertyDefinitions
(
std
::
string
prefix
)
:
ComponentPropertyDefinitions
(
prefix
)
{
define
Required
Property
<
std
::
string
>
(
"HapticTopicName"
,
"Name of the HapticUnit Topic"
);
define
Optional
Property
<
std
::
string
>
(
"HapticTopicName"
,
"HapticValues"
,
"Name of the HapticUnit Topic"
);
}
};
...
...
This diff is collapsed.
Click to expand it.
source/RobotAPI/interface/visualization/DebugDrawerInterface.ice
+
19
−
2
View file @
6920db16
...
...
@@ -31,6 +31,18 @@
module
armarx
{
/*!
* \brief The Color struct
* Values in [0,1]
*/
struct
DrawColor
{
float
r
;
float
g
;
float
b
;
};
/*!
* \brief A layered drawing interface.
* All drawing operations are identified with a layer name in order to distinguish different drawing entitties.
...
...
@@ -45,7 +57,9 @@ module armarx
* \param poseName The internal name of the pose (can be used to update/disable the drawing).
* \param globalPose The pose in global coordinate syetem.
*/
void
setPoseLayerVisu
(
string
layerName
,
string
poseName
,
PoseBase
globalPose
);
void
setPoseVisu
(
string
layerName
,
string
poseName
,
PoseBase
globalPose
);
void
setLineVisu
(
string
layerName
,
string
lineName
,
Vector3Base
globalPosition1
,
Vector3Base
globalPosition2
,
float
lineWidth
,
DrawColor
color
);
/*!
* \brief setPoseVisu draws on the "debug" layer
...
...
@@ -53,18 +67,21 @@ module armarx
* \param globalPose
*/
void
setPoseDebugLayerVisu
(
string
poseName
,
PoseBase
globalPose
);
void
setLineDebugLayerVisu
(
string
lineName
,
Vector3Base
globalPosition1
,
Vector3Base
globalPosition2
,
float
lineWidth
,
DrawColor
color
);
/*!
* \brief Remove visualization of coordinate system.
* \param layerName The name of the drawing layer.
* \param poseName The name of the pose.
*/
void
removePoseLayerVisu
(
string
layerName
,
string
poseName
);
void
removePoseVisu
(
string
layerName
,
string
poseName
);
void
removeLineVisu
(
string
layerName
,
string
lineName
);
/*!
* \brief Removes pose from the "debug" layer.
*/
void
removePoseDebugLayerVisu
(
string
poseName
);
void
removeLineDebugLayerVisu
(
string
lineName
);
};
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment