Skip to content

Commit 976a015

Browse files
author
Thomas Witte
committed
pfeile sollten jetzt nicht mehr mitdrehen
1 parent 3b6a584 commit 976a015

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

interactive_script/src/interactive_script_plugin/marker_interface.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,8 @@ void MarkerInterface::addPose(double x, double y, double z, double psi,
266266
control.orientation.x = 0;
267267
control.orientation.y = 0;
268268
control.orientation.z = 1;
269+
control.orientation_mode =
270+
visualization_msgs::InteractiveMarkerControl::INHERIT;
269271
control.interaction_mode =
270272
visualization_msgs::InteractiveMarkerControl::MOVE_AXIS;
271273

@@ -283,6 +285,8 @@ void MarkerInterface::addPose(double x, double y, double z, double psi,
283285
control.orientation.x = 0;
284286
control.orientation.y = 1;
285287
control.orientation.z = 0;
288+
control.orientation_mode =
289+
visualization_msgs::InteractiveMarkerControl::INHERIT;
286290
control.interaction_mode =
287291
visualization_msgs::InteractiveMarkerControl::MOVE_AXIS;
288292

@@ -300,6 +304,8 @@ void MarkerInterface::addPose(double x, double y, double z, double psi,
300304
control.orientation.x = 0;
301305
control.orientation.y = 1;
302306
control.orientation.z = 0;
307+
control.orientation_mode =
308+
visualization_msgs::InteractiveMarkerControl::INHERIT;
303309
control.interaction_mode =
304310
visualization_msgs::InteractiveMarkerControl::ROTATE_AXIS;
305311

0 commit comments

Comments
 (0)