Commit 7a51f00
Iron: Action IPC Fixes (#151)
* Fixes for intra-process actions (#144)
* Fixes for intra-process Actions
* Fixes for Clang builds
* Fix deadlock
* Server to store results until client requests them
* Fix feedback/result data race
See ros2#2451
* Add missing mutex
* Check return value of intra_process_action_send
---------
Co-authored-by: Mauro Passerino <mpasserino@irobot.com>
* Fix IPC Actions data race (#147)
* Check if goal was sent through IPC before send responses
* Add intra_process_action_server_is_available API to intra-process Client
---------
Co-authored-by: Mauro Passerino <mpasserino@irobot.com>
* Fix data race in Actions: Part 2 (#148)
* Fix data race in Actions: Part 2
* Fix warning - copy elision
---------
Co-authored-by: Mauro Passerino <mpasserino@irobot.com>
* fix: Fixed race condition in action server between is_ready and take"… (ros2#2531)
* fix: Fixed race condition in action server between is_ready and take" (ros2#2495)
Some background information: is_ready, take_data and execute data
may be called from different threads in any order. The code in the old
state expected them to be called in series, without interruption.
This lead to multiple race conditions, as the state of the pimpl objects
was altered by the three functions in a non thread safe way.
Co-authored-by: William Woodall <william@osrfoundation.org>
Signed-off-by: Janosch Machowinski <J.Machowinski@cellumation.com>
* fix: added workaround for call to double calls to take_data
This adds a workaround for a known bug in the executor in iron.
Signed-off-by: Janosch Machowinski <J.Machowinski@cellumation.com>
---------
Signed-off-by: Janosch Machowinski <J.Machowinski@cellumation.com>
Co-authored-by: Janosch Machowinski <J.Machowinski@cellumation.com>
Co-authored-by: William Woodall <william@osrfoundation.org>
---------
Signed-off-by: Janosch Machowinski <J.Machowinski@cellumation.com>
Co-authored-by: Mauro Passerino <mpasserino@irobot.com>
Co-authored-by: jmachowinski <jmachowinski@users.noreply.github.com>
Co-authored-by: Janosch Machowinski <J.Machowinski@cellumation.com>
Co-authored-by: William Woodall <william@osrfoundation.org>1 parent aef928d commit 7a51f00
5 files changed
Lines changed: 591 additions & 251 deletions
File tree
- rclcpp_action
- include/rclcpp_action
- src
- rclcpp/include/rclcpp/experimental
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1061 | 1061 | | |
1062 | 1062 | | |
1063 | 1063 | | |
1064 | | - | |
| 1064 | + | |
1065 | 1065 | | |
1066 | 1066 | | |
1067 | 1067 | | |
| |||
1104 | 1104 | | |
1105 | 1105 | | |
1106 | 1106 | | |
1107 | | - | |
| 1107 | + | |
1108 | 1108 | | |
1109 | 1109 | | |
1110 | 1110 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
100 | 110 | | |
101 | 111 | | |
102 | 112 | | |
| |||
835 | 845 | | |
836 | 846 | | |
837 | 847 | | |
838 | | - | |
839 | | - | |
840 | 848 | | |
841 | | - | |
842 | | - | |
843 | | - | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
844 | 860 | | |
845 | 861 | | |
846 | 862 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
675 | 675 | | |
676 | 676 | | |
677 | 677 | | |
678 | | - | |
| 678 | + | |
| 679 | + | |
679 | 680 | | |
680 | 681 | | |
681 | 682 | | |
| |||
0 commit comments