Skip to content

fix(move_action): preserve planning_time for plan-and-execute - #9

Open
VivekVRobo wants to merge 2 commits into
mainfrom
fix/move-group-planning-time-current
Open

VivekVRobo wants to merge 2 commits into
mainfrom
fix/move-group-planning-time-current

Conversation

@VivekVRobo

Copy link
Copy Markdown
Owner

Fixes moveit#4004.

Summary

  • retain the planning duration returned by the planning pipeline in ExecutableMotionPlan;
  • copy that duration into the MoveGroup action result for plan-and-execute requests;
  • keep the existing plan-only behavior unchanged.

Why

The plan-only path already copies MotionPlanResponse::planning_time into MoveGroup::Result::planning_time. The plan-and-execute path uses the same planning pipeline through PlanExecution, but previously discarded that duration, leaving successful plan-and-execute action results with planning_time == 0.0.

The planning duration is now stored alongside the generated executable plan and returned after plan-and-execute completes.

Validation boundary

  • Base main: a9004a4.
  • Final branch: fix/move-group-planning-time-current.
  • Final comparison: 2 commits ahead / 0 behind.
  • Changed files: 2.
  • The existing MoveIt/ROS 2 test suite is not executable in this connector runtime; upstream CI is the validation gate.
  • No hardware or performance claim is made.

Copilot AI balanced review requested due to automatic review settings November 27, 2026 12:19

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MoveGroup returns zero planning_time for successful plan-and-execute requests

2 participants