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

MoveIt only moves one joint

asked 2018-01-23 07:41:04 -0500

Xylus gravatar image

I am facing issues when trying to move more than one joint. I am following the MoveIt tutorial for Python but adding more than one joint, in example:

group_variable_values = group.get_current_joint_values()
# shoulder_pan_joint
group_variable_values[0] = 0.0
group_variable_values[1] = 0.0
group_variable_values[2] = 0.0
group_variable_values[3] = 0.0
group_variable_values[4] = 2.57
group_variable_values[5] = -3.14
plan = group.plan()

I have looked at and it seems I am trying to accomplish the same goal but the answer seems to be my current implementation (unless there is an equivalent of move in Python and I should not be using execute)

It is probably worth noting I am using universal_robot library and the model of UR5. The group which I am modifying is group = moveit_commander.MoveGroupCommander("manipulator")

As it stands with the above implementation only one joint moves, I would like for all the joints to move. Is there something I am doing wrong in the above?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-02-01 14:12:11 -0500

Xylus gravatar image

For anybody facing this issue: I have fixed it by turning off gui mode in my .launch file for rviz. I have no idea why that would introduce joint constraints.

edit flag offensive delete link more

Question Tools


Asked: 2018-01-23 07:41:04 -0500

Seen: 286 times

Last updated: Feb 01 '18