Robotics StackExchange | Archived questions

Inreasing waypoints in MoveIt!

Hi I am sing ROS-Kinetic with Ubuntu 16.04. I have a 7 dof manipulator and I am using ros-control and MoveIt! for trajectory planning and execution. However I want to increase the way-points that MoveIt! is generating for a smoother interpolation. Is there any way to configure the minimum number of way-points generated ?

Asked by Pulkit123 on 2018-12-16 23:54:54 UTC

Comments

http://emanual.robotis.com/docs/en/popup/how_to_set_smoothing_filter/

You can use smoothing filter

Asked by Darby Lim on 2018-12-17 00:07:11 UTC

I tried it, but the acceleration profile is overshooting way too much (nearly 6 times that of max)

Asked by Pulkit123 on 2018-12-17 01:47:03 UTC

I am using ros-control and MoveIt! for trajectory planning and execution. However I want to increase the way-points that MoveIt! is generating for a smoother interpolation.

FYI: the interpolation is done by ros_control, not MoveIt, or at least if you're using joint_trajectory_controller, ..

Asked by gvdhoorn on 2018-12-17 02:57:59 UTC

.. so while configuring MoveIt to use shorter segments may help, it might be worthwhile to investigate the effect of increasing the control frequency of the ros_control parts of your setup.

Asked by gvdhoorn on 2018-12-17 02:58:55 UTC

I tried giving ros-control a ustom trajectory through csv with larger way-points and the interpolation was very smooth, So i am trying that may be if MoveIt! can generate more way-points then it will be good

Asked by Pulkit123 on 2018-12-17 04:58:06 UTC

You could take a look at longest_valid_segment_fraction.

Asked by gvdhoorn on 2018-12-17 08:22:39 UTC

Thanks, I varied the longest_valid_segment_fraction and due to that i am able to increase the way-points in MoveIt!. I am now using a value of 0.0005 and getting nearly 100 waypoints for a joint raotation of 90 degrees

Asked by Pulkit123 on 2019-01-03 00:27:33 UTC

@Pulkit123 Hello. I also want to send csv stored trajectory to ros_control to generate smooth trajectory. How did you do that?

Asked by mug on 2022-01-24 03:08:47 UTC

Answers