Skip to content

Mauro/add events executor#24

Open
mauropasse wants to merge 2 commits intoirobot-ros:irobot/add-events-executorfrom
mauropasse:mauro/add-events-executor
Open

Mauro/add events executor#24
mauropasse wants to merge 2 commits intoirobot-ros:irobot/add-events-executorfrom
mauropasse:mauro/add-events-executor

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 <asoragna@irobot.com>

* Remove use_previous_event

Signed-off-by: Mauro Passerino <mpasserino@irobot.com>

* Remove guard condition listener

Signed-off-by: Mauro Passerino <mpasserino@irobot.com>

* refactor to remove listener term and document

Signed-off-by: William Woodall <william@osrfoundation.org>

* allow rmw event callback to be NULL to unset them

Signed-off-by: Alberto Soragna <alberto.soragna@gmail.com>

* Add APIs to support actions on EventsExecutor

Signed-off-by: Mauro Passerino <mpasserino@irobot.com>

* fix messed up merge

Signed-off-by: William Woodall <william@osrfoundation.org>

Co-authored-by: Mauro <mpasserino@irobot.com>
Co-authored-by: William Woodall <william@osrfoundation.org>
Co-authored-by: Alberto Soragna <alberto.soragna@gmail.com>
Signed-off-by: Mauro Passerino <mpasserino@irobot.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.

1 participant