Blending Planned Trajectories #2464
-
Is there a generalized pattern using the C++ API or a package for blending trajectories in MoveIt2? I have seen the following tutorial which relates to blending trajectories with the pilz industrial motion planner but I believe this is just for ROS and not ROS 2. I am considering writing my own code to blend planned robot trajectories but I wished to understand if the MoveIt community had any advice on this front as I don't want to reinvent the wheel. I hope to support this functionality within the Python API. For free space motions I have started to use |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Not an answer, but your post reminded me of galou/blender_ws. |
Beta Was this translation helpful? Give feedback.
-
You should poke around in this folder: https://github.com/ros-planning/moveit2/tree/main/moveit_core/trajectory_processing/include/moveit/trajectory_processing They're plugins so the API is standardized I believe. A lot of the time, what we'll do to blend trajectories is:
I think this is only C++, though. |
Beta Was this translation helpful? Give feedback.
You should poke around in this folder: https://github.com/ros-planning/moveit2/tree/main/moveit_core/trajectory_processing/include/moveit/trajectory_processing
They're plugins so the API is standardized I believe.
A lot of the time, what we'll do to blend trajectories is:
Take Traj A, take Traj B. Concatenate the waypoints to get Traj C.
Run time_optimal_trajectory_generation on Traj C.
I think this is only C++, though.