Moveit group moves only one joint at a time in RVIZ
Hi,
I am following the tutorial of Move Group C++ interface for UR5 robot. The problem I am facing is that the robot moves only one joint at a time to reached a Target.
I have tried both methods of reaching the target, either by planning to a Pose goal or by planning to a joint-space goal and the result is the same. I have to run the command
movegroup.move(); or
movegroup.asyncMove()
several times to reach to the target. The planning part is working fine and reached the target every time.
I am using ubuntu 16.04 (64bit) and ROS Kinetic.
Following is my Launch file :
<!-- By default, we are not in debug mode -->
<!-- Load the URDF, SRDF and other .yaml configuration files on the param server -->
<!-- If needed, broadcast static tf for robot root -->
<!-- We do not have a robot connected, so publish fake joint states -->
<!-- If sim mode, run the simulator -->
<!-- Run the main MoveIt executable without trajectory execution (we do not have controllers configured by default) -->
<!-- Run Rviz and load the default config to see the state of the movegroup node -->
<include file="$(find ur5moveitconfig)/launch/moveitrviz.launch">
<!-- If database loading was enabled, start mongodb as well -->
Asked by samprofile on 2018-11-28 09:04:58 UTC
Answers
I was able to find the solution. In the launch file, had to change value of GUI of joint state publisher to false.
node name="joint_state_publisher" pkg="joint_state_publisher" type="joint_state_publisher" . param name="/use_gui" value="false"/
Asked by samprofile on 2018-11-29 14:13:59 UTC
Comments
It's worth mentioning in your origin question that you're not working with a real robot or full robot simulation. This is caused by a quirk/bug in the joint trajectory simulator.
Asked by PeteBlackerThe3rd on 2018-11-29 16:52:43 UTC
Comments