You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying MoveIt 2 with ROS 2 Rolling and facing issues while working with a real robot. Through RViz, the planner generates a trajectory for a valid goal state, however, a subsequent attempt to execute the same trajectory fails with an error stating that the execution was timed out. The controller loads correctly, and I am able to execute well-formed trajectories directly through the joint trajectory server.
Upon investigating the log I found that the default planner is generating a trajectory consisting of multiple waypoints spaced over 0.0 seconds. This is impossible for the controller to achieve, as a result, the execution seems to time out instantly.
Are there any parameters in the config files that need to be changed to overcome this behavior?
ROS Distro: Rolling
OS Version: Ubuntu 22.04
Source built from the main branch
Cyclone DDS
Steps to reproduce
Move the joints to a goal state and plan using RViz, and then execute.
Expected behaviour
The joints should move to the goal state
Actual behaviour
The execution is timed out instantly without any movement
To anyone reading this in the future, if you are moving from an older version of ROS 2 like Galactic, it is likely that you had an older algorithm of Time Parameterization added as the default planning adapter. In the ompl_planning.yaml file, one of the default planning adapters was set as "default_planner_request_adapters/AddTimeParameterization" which is no longer (or not yet) supported in Rolling.
The documentation very briefly mentions switching to Time Optimal Trajectory Generation (TOTG), This can be done by using "default_planner_request_adapters/AddTimeOptimalParameterization". Switching to this updated algorithm resolved this issue for me.
Hello MoveIt 2 maintainers,
I am trying MoveIt 2 with ROS 2 Rolling and facing issues while working with a real robot. Through RViz, the planner generates a trajectory for a valid goal state, however, a subsequent attempt to execute the same trajectory fails with an error stating that the execution was timed out. The controller loads correctly, and I am able to execute well-formed trajectories directly through the joint trajectory server.
Upon investigating the log I found that the default planner is generating a trajectory consisting of multiple waypoints spaced over 0.0 seconds. This is impossible for the controller to achieve, as a result, the execution seems to time out instantly.
Are there any parameters in the config files that need to be changed to overcome this behavior?
Steps to reproduce
Move the joints to a goal state and plan using RViz, and then execute.
Expected behaviour
The joints should move to the goal state
Actual behaviour
The execution is timed out instantly without any movement
Backtrace or Console output
Here's the gist of the console output
The text was updated successfully, but these errors were encountered: