rclpy icon indicating copy to clipboard operation
rclpy copied to clipboard

Allow action servers without execute callback

Open Timple opened this issue 1 year ago • 13 comments
trafficstars

Just like rclcpp and ros1, allow action servers without execute callback.

Example like:

  • Display a message until a button is pressed
  • Actuate a motor until an endstop is reached

are typical cases where an action is succeeded based on information outside of the execute_cb.

It makes more sense to succeed these from outside the execute_cb in this case. And this would be in line with ros1 and rclcpp where this is possible.

I kept the execute_callback in args for backwards compatibility.

Timple avatar Feb 13 '24 18:02 Timple

Alright, we'll wait for those :slightly_smiling_face:

Timple avatar Feb 22 '24 13:02 Timple

Subtle ping :slightly_smiling_face:

Timple avatar Mar 19 '24 21:03 Timple

Sorry for subtle bump again, but Jade is coming up. And I'm afraid breaking changes won't be accepted anymore soon.

Timple avatar Apr 12 '24 05:04 Timple

@clalancette @sloretz @ahcorde either of you, can you take a look at this? i think this is reasonable and more flexibility for rclpy client.

fujitatomoya avatar Apr 13 '24 16:04 fujitatomoya

@Timple can you rebase this to rolling? almost 100 commits are behind.

fujitatomoya avatar Apr 13 '24 16:04 fujitatomoya

@Timple can you rebase this to rolling? almost 100 commits are behind.

Done!

Timple avatar Apr 14 '24 08:04 Timple

This pull request has been mentioned on ROS Discourse. There might be relevant details there:

https://discourse.ros.org/t/upcoming-feature-freeze-for-ros-2-jazzy-jalisco-on-15th-april-2024/37075/2

ros-discourse avatar Apr 14 '24 11:04 ros-discourse

So I missed the jazzy release :crying_cat_face:

But this PR had some proper traction. Can we still get this in rolling?

If everybody is very busy doing release stuff for jazzy, I also fully understand. Then I'll apply some sort of exponential backoff to my pings :slightly_smiling_face:

Timple avatar Apr 29 '24 07:04 Timple

@Timple sorry we missed this to jazzy. i will start the CI.

CC: @sloretz

fujitatomoya avatar Apr 29 '24 17:04 fujitatomoya

CI:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

fujitatomoya avatar Apr 29 '24 17:04 fujitatomoya

It's green! 😄

Timple avatar May 16 '24 19:05 Timple

@sloretz @clalancette friendly ping.

fujitatomoya avatar May 16 '24 19:05 fujitatomoya

Joehoe :heart:

Timple avatar Jun 25 '24 09:06 Timple