ros2 / rclpy

rclpy (ROS Client Library for Python)
Apache License 2.0
291 stars 224 forks source link

Allow action servers without execute callback #1219

Open Timple opened 7 months ago

Timple commented 7 months ago

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

Example like:

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 commented 7 months ago

Alright, we'll wait for those :slightly_smiling_face:

Timple commented 6 months ago

Subtle ping :slightly_smiling_face:

Timple commented 5 months ago

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

fujitatomoya commented 5 months ago

@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 commented 5 months ago

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

Timple commented 5 months ago

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

Done!

ros-discourse commented 5 months ago

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

Timple commented 5 months ago

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:

fujitatomoya commented 5 months ago

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

CC: @sloretz

fujitatomoya commented 5 months ago

CI:

Timple commented 4 months ago

It's green! 😄

fujitatomoya commented 4 months ago

@sloretz @clalancette friendly ping.

Timple commented 3 months ago

Joehoe :heart: