Skip to content

PlanningPipeline drops request-adapter error message and source #3899

Open

Description

@Yuhx141

Description

The planning pipeline detects the error, but the diagnostic attached to it does not describe the data that was checked.

ROS Distro

Jazzy

OS and version

Ubuntu 24.04

Source or binary build?

Binary

If binary, which release version?

MoveIt 2.12.4

Which RMW are you using?

FastRTPS

Steps to Reproduce

  1. Build the affected package from the official repository at the tested revision:
git clone https://github.com/moveit/moveit2.git
cd moveit2
git checkout 1ade0e9dcf50dbbbc3a984b995c786cf12736235
source /opt/ros/jazzy/setup.bash
rosdep install --from-paths . --ignore-src -r -y
colcon build --packages-up-to moveit_ros_planning --cmake-args -DBUILD_TESTING=ON
source install/setup.bash
  1. Use moveit_ros/planning/planning_pipeline/test/planning_pipeline_tests.cpp with the CheckStartStateBounds request adapter.
  2. Send a planning request whose supplied start state is outside a joint bound. Independently verify that the adapter returns MoveItErrorCode value -26, message Start state out of bounds., and source CheckStartStateBounds.
  3. Inspect the corresponding pipeline stage result.
  4. The numeric code remains -26, but message and source are empty. A valid 0-to-1 planning request succeeds as the control.

This reproduced in 3/3 runs.

Expected behavior

The adapter's complete MoveItErrorCode should reach the pipeline result, including message and source.

Actual behavior

For an out-of-bounds start, the pipeline stage keeps code -26 but has empty message/source. Copying the full status restores Start state out of bounds. and CheckStartStateBounds. This reproduced 3/3.

Backtrace or Console output

The stage result is described above; the service remained responsive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions