ROS2 Action Server getting info of the client node name and the goal priority
Maintainers usually reply within 1 day
@fujitatomoya is already working on this.
Since May 9, 2025.
Assessment
This issue has not been assessed yet.
Description
Description
Hello!
Thank you all for such great work. Most of the times in real applications, the action server should show different behaviour depending on the type of the node, for instance, an emergency movement in joints should prevail any motion it is executing or any motion it will receive in future. However, there is no clear line of priority setting in the goals, and i believe it shouldn't be particular to a specific action. If not, most of the released packages needed to be modified inorder to handle this kind of functionality.
Regarding the node name, it would be interesting for the action server to know from whom it is receiving the goal, this information can be used by the server to accept or reject goals. For instance, I want only authorized applications be able to send goals to the hardware and not anyone, inorder to avoid any uncontrolled movements
Motivation
The motivation is for the hardware based ros2 controllers the action server will need to handle the resource sharing and this way it can give critical applications more preference than any kind of application sending random movement (or) a robot performing human robot interaction and then it being preempted as navigation needs the head of the robot. These kind of cases are pretty usual in any application.
I would like to hear your views.
Thank you
Design / Implementation Considerations
No response
Additional Information
No response
- Dominant language
- C++
- Stars
- 829
- Forks
- 587
- Avg merge
- 4d 6h
- Merged PRs (30d)
- 30
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ros2/rclcpp
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
Maintainers usually reply within 1 day
-
Memory grows per callback group created and destroyed on long lived nodesPossibly taken @jwallace42 claimed this 1 day ago. Openbug
Difficulty 4/5 3-5 days Newbie friendliness 28/100
ros2/rclcpp#3428 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
-
removing and immediately re-adding a node to the EventsCBGExecutor leaves its entities unregisteredPossibly taken @skyegalaxy claimed this 10 days ago. Openbug
ros2/rclcpp#3418 · 1 assignee ·
Maintainers usually reply within 1 day
-
[Humble] Removing a node with more than one auto-added callback group leaves a dangling guard condition in the executorPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 4/5 3-5 days Newbie friendliness 55/100
ros2/rclcpp#3410 · 2 comments ·
Maintainers usually reply within 1 day
Similar issues
-
bug
Difficulty 1/5 1-3 hours Newbie friendliness 82/100
EchoTools/nevr-runtime#2912 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Maintainers usually reply within 1 day
-
category:port-update
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 2 days
-
bug-unconfirmed
Difficulty 1/5 Under an hour Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
libc++
Difficulty 1/5 Under an hour Newbie friendliness 88/100
llvm/llvm-project#246508 ·
Maintainers usually reply within 1 day