Commit dab6bf7
authored
Replace rcl_take_request with rcl_take_request_with_info (#1333)
This PR updates the ROS 2 service bindings to use the newer `rcl_take_request_with_info` API instead of the deprecated `rcl_take_request` API. The change involves using `rmw_service_info_t` instead of `rmw_request_id_t` to accommodate additional service metadata.
- Updates `RclTakeRequest` to use `rcl_take_request_with_info` with `rmw_service_info_t`
- Updates `SendResponse` to extract `request_id` from `rmw_service_info_t` structure
Fix: #13301 parent 0c94326 commit dab6bf7
1 file changed
+7
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
81 | | - | |
| 80 | + | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
| 101 | + | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
105 | | - | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
106 | 107 | | |
107 | 108 | | |
108 | 109 | | |
| |||
0 commit comments