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

MoveIt's motion planning model does not match RobotModel's

asked 2020-05-05 12:33:41 -0600

JunTuck gravatar image

Dear all,

I have a robot arm attached to a linear actuator in Gazebo. MoveIt has been set up for the arm without issues.

I proceeded to combine the URDF of the arm and the linear actuator. I'm able to view the combined model in RVIZ.

When I move the linear actuator, RobotModel updates accordingly. However, MotionPlanning does not, i.e. it thinks the actuator has not moved. Moving the arm still works, and they update the arm for both models. So I am seeing two representations in RVIZ, which I'm guessing should not be the right behaviour...

Any pointers on how to debug this would really be appreciated, as I have been struggling with this for some time! Thanks :)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-05-06 04:44:31 -0600

JunTuck gravatar image

I managed to solve it! My mistake was in the URDF file of the linear actuator, where the prismatic joint's axis was specified wrongly as

axis xyz="0.0 0.0 0.01"

instead of

axis xyz="0.0 1.0 0.0"

Therefore, MoveIt was scaling down the joint values by a factor of 100. For future reference, this matches the specifications in the URDF wiki, which states:

xyz (required): Represents the components of a vector. The vector should be normalized.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2020-05-05 12:33:41 -0600

Seen: 216 times

Last updated: May 06 '20