Smooth movement in MoveIt! and ROS
Hi everyone,
I'm developing an application with an UR10 robot. I want the robot to follow a row of points without stopping when it reaches each of these points. I've made a little research and you can use carthesian planner
in order to follow a waythrough path. This way of moving a robot could be a solution if I wouldn't need some flexibility because this row of points can change while the manipulator is moving.
I guess that you can dynamically change these waythrough path points but unless you recompute the trajectory the robot won't change its trajectory to match with these new points. So, my first question is: 1) Is there any way to change this trajectory online (while the robot is moving) in order to match with the new points?
As using waythrough points seems not to be an accurate solution to my application, I've tried with move_group.asynMove()
in order to move in a non-blocking way. The problem this solution has is that you might implement your own navigation stack and it can failed if the robot is moving quickly because the start point of the trajectory is not the same as the end point. I've also read that MoveIt! has a navigation stack, but navigation stack notion it's still unclear to me. So, 2) What is the navigation stack? If it might be a solution, 3) How can I use it properly in order to achieve this?
I've worked with ROS for 8 months now and I'm not exactly new in this. But I've never ever used MoveIt with this level of task accuracy and I might be forgeting lots of things. 4) Are there any other ways to move the robot as I want using MoveIt! or should I forget about using MoveIt! and create my own code to feed ROS Controllers?
Thanks in advance for your help and your time!