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
f738ca45
"README.md" did not exist on "fcff6f974484ee4afc293c976bc9fff5fccaca34"
Commit
f738ca45
authored
10 years ago
by
Simon Ottenhaus
Browse files
Options
Downloads
Patches
Plain Diff
renamed methods
parent
b25f4cca
No related branches found
No related tags found
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 @
f738ca45
...
@@ -41,7 +41,7 @@ namespace armarx
...
@@ -41,7 +41,7 @@ namespace armarx
HapticObserverPropertyDefinitions
(
std
::
string
prefix
)
:
HapticObserverPropertyDefinitions
(
std
::
string
prefix
)
:
ComponentPropertyDefinitions
(
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 @
f738ca45
...
@@ -31,6 +31,18 @@
...
@@ -31,6 +31,18 @@
module
armarx
module
armarx
{
{
/*!
* \brief The Color struct
* Values in [0,1]
*/
struct
DrawColor
{
float
r
;
float
g
;
float
b
;
};
/*!
/*!
* \brief A layered drawing interface.
* \brief A layered drawing interface.
* All drawing operations are identified with a layer name in order to distinguish different drawing entitties.
* All drawing operations are identified with a layer name in order to distinguish different drawing entitties.
...
@@ -45,7 +57,9 @@ module armarx
...
@@ -45,7 +57,9 @@ module armarx
* \param poseName The internal name of the pose (can be used to update/disable the drawing).
* \param poseName The internal name of the pose (can be used to update/disable the drawing).
* \param globalPose The pose in global coordinate syetem.
* \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
* \brief setPoseVisu draws on the "debug" layer
...
@@ -53,18 +67,21 @@ module armarx
...
@@ -53,18 +67,21 @@ module armarx
* \param globalPose
* \param globalPose
*/
*/
void
setPoseDebugLayerVisu
(
string
poseName
,
PoseBase
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.
* \brief Remove visualization of coordinate system.
* \param layerName The name of the drawing layer.
* \param layerName The name of the drawing layer.
* \param poseName The name of the pose.
* \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.
* \brief Removes pose from the "debug" layer.
*/
*/
void
removePoseDebugLayerVisu
(
string
poseName
);
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