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

Rename action state transitions #300

Merged
merged 2 commits into from
Apr 16, 2019
Merged

Conversation

jacobperron
Copy link
Member

Now using active verbs as described in the design doc:

http://design.ros2.org/articles/actions.html#goal-states

Connects to ros2/rcl#399.

Now using active verbs as described in the design doc:

http://design.ros2.org/articles/actions.html#goal-states

Connects to ros2/rcl#399.

Signed-off-by: Jacob Perron <jacob@openrobotics.org>
@jacobperron jacobperron added in progress Actively being worked on (Kanban column) in review Waiting for review (Kanban column) and removed in progress Actively being worked on (Kanban column) labels Mar 30, 2019
Copy link
Contributor

@hidmic hidmic left a comment

Choose a reason for hiding this comment

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

LGTM!

Signed-off-by: Jacob Perron <jacob@openrobotics.org>
@jacobperron
Copy link
Member Author

Updated based on design discussion (ros2/design#226). @hidmic, please take another look.

Copy link
Contributor

@hidmic hidmic left a comment

Choose a reason for hiding this comment

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

LGTM again!

@jacobperron jacobperron merged commit 4802211 into master Apr 16, 2019
@delete-merged-branch delete-merged-branch bot deleted the jacob/rename_action_events branch April 16, 2019 11:46
@jacobperron jacobperron removed the in review Waiting for review (Kanban column) label Apr 16, 2019
sloretz added a commit that referenced this pull request Apr 19, 2019
* Every executor gets its own SIGINT guard condition

Moves signal handling code to _rclpy_signal_handler
Every executor adds a guard condition to a global list
SIGINT signal handler triggers all guard conditions in global list

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

* _sigint_gc robust to shutdown() called twice

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

* Remove redundant comments

Comments say the same thing twice.
It only needs to be said once.
Remove extra comments so the same thing is not repeated.

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

* Split loop for readability

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

* g_guard_conditions atomic variable

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

* Use rclutils_atomics macros

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

* Call original handler before losing reference to it

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

* remove extra unnecessary assignment

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

* g_guard_conditions is a struct on windows

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

* Rename action state transitions (#300)

* Rename action state transitions

Now using active verbs as described in the design doc:

http://design.ros2.org/articles/actions.html#goal-states

Connects to ros2/rcl#399.

Signed-off-by: Jacob Perron <jacob@openrobotics.org>

* add missing error handling and cleanup (#315)

Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>

* Don't store sigint_gc address

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

* remove redundant conditional

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

* Every executor gets its own SIGINT guard condition

Moves signal handling code to _rclpy_signal_handler
Every executor adds a guard condition to a global list
SIGINT signal handler triggers all guard conditions in global list

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

* _sigint_gc robust to shutdown() called twice

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

* Remove redundant comments

Comments say the same thing twice.
It only needs to be said once.
Remove extra comments so the same thing is not repeated.

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

* Split loop for readability

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

* g_guard_conditions atomic variable

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

* Use rclutils_atomics macros

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

* Call original handler before losing reference to it

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

* remove extra unnecessary assignment

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

* g_guard_conditions is a struct on windows

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

* Don't store sigint_gc address

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

* remove redundant conditional

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
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.

2 participants