Skip to main content
Section

Why an arm keeps moving after canceling a long action goal

Published: Published on Zhilianhai

If an action server checks the cancel flag only at the end of a cycle, the robot finishes the current move after cancel is requested.

How to test it

Send a cancel request mid-execution and time both state transition and physical stop. Ensure every loop step polls cancellation and exits cleanly.

Zhilianhai editorial diagram · Action cancel, Preempt response, Safe stop
Zhilianhai editorial diagram · Action cancel, Preempt response, Safe stop

Reference

ROS 2 Jazzy Understanding actions

Browse this section

Information is provided for initial research. Verify specifications, pricing, policies and standards against the original source before making decisions.

BackSection

Company information

Company information comes from the Zhilianhai directory. To update a profile, find the company in the Companies directory or contact us with a verifiable source for review.

Latest section resources

Discussion & enquiries