Skip to content

Execute request fails on a real robot in ROS 2 Rolling #2140

@hello-chintan

Description

@hello-chintan

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?

  • 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

Backtrace or Console output

Here's the gist of the console output

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions