Skip to content

Comments

Improved documentation of rcl_XYZ_set_on_new_XYZ_callback#1289

Open
rushsahay wants to merge 7 commits intoros2:rollingfrom
rushsahay:rolling
Open

Improved documentation of rcl_XYZ_set_on_new_XYZ_callback#1289
rushsahay wants to merge 7 commits intoros2:rollingfrom
rushsahay:rolling

Conversation

@rushsahay
Copy link

Description

Signed off: Rushhaank Sahay rushhaank.sahay@gmail.com
Updates the documentation for rcl_service_set_on_new_request_callback and rcl_subscription_set_on_new_message_callback methods to encourage users to make the process non-blocking and warn them of unexpected behavior if it is blocked

Fixes #1282
Addresses #1277

Is this user-facing behavior change?

Yes. It changes user behavior as it specifies to users the proper way to use these methods to avoid unexpected behaviors.

Did you use Generative AI?

No

Copy link
Collaborator

@fujitatomoya fujitatomoya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what about rcl_client_set_on_new_response_callback? i think that needs to be updated accordingly?

@jmachowinski can you review this?

@rushsahay
Copy link
Author

Thanks for spotting that! Have added the description to that method as well. Is there a reason why the "Rpr__rcl__ubuntu_noble_amd64" check is failing on this pull request? Let me know if I need to do something else to ensure it passes.

@fujitatomoya
Copy link
Collaborator

@rushsahay DCO is missing, can you --signoff the commit?

@jmachowinski
Copy link
Contributor

The new text does not make any sense.

SuperJappie08 and others added 6 commits February 21, 2026 08:56
* Populate Transitions

Signed-off-by: CursedRock17 <mtglucas1@gmail.com>

* Suspending timestamp until I find an ansewr

Signed-off-by: CursedRock17 <mtglucas1@gmail.com>

* Adding timestamp

Signed-off-by: CursedRock17 <mtglucas1@gmail.com>

* Simplify lifecycle event publication arguments

Signed-off-by: SuperJappie08 <36795178+SuperJappie08@users.noreply.github.com>

* Add clock to rcl_lifecycle_com_interface

Signed-off-by: SuperJappie08 <36795178+SuperJappie08@users.noreply.github.com>

* Update lifecycle transition event to use builtin_interfaces/Time

Adds compatibility with ros2/rcl_interfaces#185

Signed-off-by: SuperJappie08 <36795178+SuperJappie08@users.noreply.github.com>

* Add explicit conversions

Signed-off-by: SuperJappie08 <36795178+SuperJappie08@users.noreply.github.com>

---------

Signed-off-by: CursedRock17 <mtglucas1@gmail.com>
Signed-off-by: SuperJappie08 <36795178+SuperJappie08@users.noreply.github.com>
Co-authored-by: CursedRock17 <mtglucas1@gmail.com>
Signed-off-by: Rushsahay <rushhaank.sahay@gmail.com>
Signed-off-by: Alejandro Hernandez Cordero <ahcorde@gmail.com>
Signed-off-by: Rushsahay <rushhaank.sahay@gmail.com>
Signed-off-by: Rushsahay <rushhaank.sahay@gmail.com>
Signed-off-by: Rushsahay <rushhaank.sahay@gmail.com>
Signed-off-by: Rushsahay <rushhaank.sahay@gmail.com>
Signed-off-by: Rushsahay <rushhaank.sahay@gmail.com>
Signed-off-by: Rushsahay <rushhaank.sahay@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve documentation of rcl_XYZ_set_on_new_XYZ_callback

5 participants