Skip to content

Cannot publish action feedback in CANCELING state #3283

Description

@akir94

Generated by Generative AI

No response

Operating System:

Linux IL01ON880001 6.14.0-37-generic #37~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 20 10:25:38 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

ROS version or commit hash:

lyrical

RMW implementation (if applicable):

No response

RMW Configuration (if applicable):

No response

Client library (if applicable):

rclcpp

'ros2 doctor --report' output

Steps to reproduce issue

ServerGoalHandle::publish_feedback() requires the goal to be in EXECUTING state.
This requirement was implemented here - #3118
As a result, feedback cannot be published when the goal is in CANCELING state.

Expected behavior

ServerGoalHandle::publish_feedback() should allow publishing in CANCELING state.
The action is still ongoing during this state, so its feedback is meaningful.
#3117 seems to agree since it only expects to block publishing feedback in terminal states, after calling succeed(), abort(), or canceled().

Actual behavior

Feedback is not published in CANCELING state.

Additional information

No response

Activity

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

Metadata

Metadata

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