Amelioration visuel marker
This commit is contained in:
parent
987720b171
commit
2674dc7da2
1 changed files with 2 additions and 1 deletions
|
@ -32,6 +32,7 @@ void InteractiveObject::createInteractiveMarker(Marker& marker, const tf::Vector
|
||||||
_int_marker.name = _name; //ATTENTION !
|
_int_marker.name = _name; //ATTENTION !
|
||||||
_int_marker.description = _name;
|
_int_marker.description = _name;
|
||||||
tf::pointTFToMsg(position, _int_marker.pose.position);
|
tf::pointTFToMsg(position, _int_marker.pose.position);
|
||||||
|
_int_marker.scale = (marker.scale.x + marker.scale.y + marker.scale.z)/3 ;
|
||||||
|
|
||||||
// create a non-interactive control which contains the box
|
// create a non-interactive control which contains the box
|
||||||
InteractiveMarkerControl interactive_container;
|
InteractiveMarkerControl interactive_container;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue