Skip to content

Rename action state transitions - #300

Merged
jacobperron merged 2 commits into
masterfrom
jacob/rename_action_events
Apr 16, 2019
Merged

jacobperron merged 2 commits into
masterfrom
jacob/rename_action_events

Conversation

@jacobperron

Copy link
Copy Markdown
Member

@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

@hidmic hidmic left a comment

Copy link
Copy Markdown
Contributor

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 <[email protected]>
@jacobperron

Copy link
Copy Markdown
Member Author

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

@hidmic hidmic left a comment

Copy link
Copy Markdown
Contributor

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 <[email protected]>

* _sigint_gc robust to shutdown() called twice

Signed-off-by: Shane Loretz <[email protected]>

* 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 <[email protected]>

* Split loop for readability

Signed-off-by: Shane Loretz <[email protected]>

* g_guard_conditions atomic variable

Signed-off-by: Shane Loretz <[email protected]>

* Use rclutils_atomics macros

Signed-off-by: Shane Loretz <[email protected]>

* Call original handler before losing reference to it

Signed-off-by: Shane Loretz <[email protected]>

* remove extra unnecessary assignment

Signed-off-by: Shane Loretz <[email protected]>

* g_guard_conditions is a struct on windows

Signed-off-by: Shane Loretz <[email protected]>

* 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 <[email protected]>

* add missing error handling and cleanup (#315)

Signed-off-by: Dirk Thomas <[email protected]>

* Don't store sigint_gc address

Signed-off-by: Shane Loretz <[email protected]>

* remove redundant conditional

Signed-off-by: Shane Loretz <[email protected]>

* 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 <[email protected]>

* _sigint_gc robust to shutdown() called twice

Signed-off-by: Shane Loretz <[email protected]>

* 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 <[email protected]>

* Split loop for readability

Signed-off-by: Shane Loretz <[email protected]>

* g_guard_conditions atomic variable

Signed-off-by: Shane Loretz <[email protected]>

* Use rclutils_atomics macros

Signed-off-by: Shane Loretz <[email protected]>

* Call original handler before losing reference to it

Signed-off-by: Shane Loretz <[email protected]>

* remove extra unnecessary assignment

Signed-off-by: Shane Loretz <[email protected]>

* g_guard_conditions is a struct on windows

Signed-off-by: Shane Loretz <[email protected]>

* Don't store sigint_gc address

Signed-off-by: Shane Loretz <[email protected]>

* remove redundant conditional

Signed-off-by: Shane Loretz <[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.

2 participants