ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Rviz Interactive marker does not move towards y-axis

asked 2020-08-06 13:37:20 -0600

xman236 gravatar image

updated 2020-08-07 02:26:50 -0600

gvdhoorn gravatar image

Hi all,

recently I am playing around with my custom 5-dof robot. In Rviz MotionPlanning panel, I can add <random valid> Goal State to my Query and the corresponding motion can be planned and executed.

However, when I manually try to move the robot with the interactive marker, the marker simply does not move towards y-axis. I thought the marker is not moving because I commanded the robot to move to an unreachable position, however since the Query panel succeeded to bring the robot to that position, I am clueless.

What could be other reasons for this problem?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-08-07 02:30:18 -0600

gvdhoorn gravatar image

when I manually try to move the robot with the interactive marker, the marker simply does not move towards y-axis.

The interactive marker, as used by the MoveIt RViz plugin, is a 6 DoF marker.

It's inherently impossible for a 5 DoF robot to reach all the poses a 6 DoF marker can assume.

That's the immediate cause of the behaviour you observe.

I thought the marker is not moving because I commanded the robot to move to an unreachable position,

Indeed.

But note: you're not commanding anything yet. The marker only alters the Goal State.

however since the Query panel succeeded to bring the robot to that position, I am clueless.

Using the <random valid> option from the dropdown instructs the MoveIt RViz plugin to chose a random joint space pose for the selected group.

As joint space poses will always be reachable -- no matter the nr of DoF -- this will work.

No IK is involved there, which would explain why you cannnot use the marker, but can set a random joint space pose successfully.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2020-08-06 13:37:20 -0600

Seen: 263 times

Last updated: Aug 07 '20