Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mauro/add events executor #24

Open
wants to merge 2 commits into
base: irobot/add-events-executor
Choose a base branch
from

Conversation

mauropasse
Copy link

This PR should be against master of rcl since our changes of irobot/add-events-executor have been merged.
The new commit in this PR just for illustrating purposes is f5b5109

iRobot ROS and others added 2 commits February 24, 2022 00:32
* Add RMW listener APIs

Add set_guard_condition_callback api

Move apis - Add constness

Use or discard previous events: Guard conditions

Rename to set_events_executor_callback

Rename Event_callback -> ExecutorEventCallback

update name

Add events support

void return on set_events_executor_callback

Revert "void return on set_events_executor_callback"

Rename ExecutorEventCallback -> EventsExecutorCallback

Rename set_events_executor_callback->set_listener_callback

Use data types when setting callbacks

Move rcutils/executor_event_types.h to rmw/

rename event types

Rename executor_context->callback_context

Rename callback_context->user_data

Reorder APIs arguments

rename rmw_listener_cb_t->rmw_listener_callback_t

use void * to pass executor ptr

Rework executor callback data

Use RMW renamed file

Signed-off-by: Alberto Soragna <[email protected]>

* Remove use_previous_event

Signed-off-by: Mauro Passerino <[email protected]>

* Remove guard condition listener

Signed-off-by: Mauro Passerino <[email protected]>

* refactor to remove listener term and document

Signed-off-by: William Woodall <[email protected]>

* allow rmw event callback to be NULL to unset them

Signed-off-by: Alberto Soragna <[email protected]>

* Add APIs to support actions on EventsExecutor

Signed-off-by: Mauro Passerino <[email protected]>

* fix messed up merge

Signed-off-by: William Woodall <[email protected]>

Co-authored-by: Mauro <[email protected]>
Co-authored-by: William Woodall <[email protected]>
Co-authored-by: Alberto Soragna <[email protected]>
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.

1 participant