Commit 5ab9796
Implement action recording and display info about recorded action (#1939)
* Implement action recording and display info about recorded action
Signed-off-by: Barry Xu <[email protected]>
* Address review comment of first round
Signed-off-by: Barry Xu <[email protected]>
* Address review comments from fujitatomoya
Signed-off-by: Barry Xu <[email protected]>
* genstub
Signed-off-by: Barry Xu <[email protected]>
* Optimize some parts of the code
Signed-off-by: Barry Xu <[email protected]>
* Fix an issue with the display when there is no service data
Signed-off-by: Barry Xu <[email protected]>
* Address review comments
Signed-off-by: Barry Xu <[email protected]>
* Change a variable name to make the code clearer and more readable
Signed-off-by: Barry Xu <[email protected]>
* Address review comments
Signed-off-by: Barry Xu <[email protected]>
* Simplify if-else block with a shorter name service_info
Signed-off-by: Michael Orlov <[email protected]>
* Throw exception by default in the get_action_type_for_info(topic_type)
Signed-off-by: Michael Orlov <[email protected]>
* Remove type conversion in sequential_writer
- Rationale: We shall store the original message definition for recorded
topics by design. This is also true for service events.
Signed-off-by: Michael Orlov <[email protected]>
* Calculate actions status and feedback statistics in read_service_and_action_info
Signed-off-by: Michael Orlov <[email protected]>
* Address some other small style changes and nitpicks
Signed-off-by: Michael Orlov <[email protected]>
* Add default section with exception to sorting functions
Signed-off-by: Michael Orlov <[email protected]>
* Use structural bindings in the test_action_utils.cpp
Signed-off-by: Michael Orlov <[email protected]>
* Add Doxygen comments to the action_utils.hpp
Signed-off-by: Michael Orlov <[email protected]>
* Avoid using ContainsRegex on Windows to handle the '|' character
Signed-off-by: Barry Xu <[email protected]>
---------
Signed-off-by: Barry Xu <[email protected]>
Signed-off-by: Michael Orlov <[email protected]>
Co-authored-by: Michael Orlov <[email protected]>
Co-authored-by: Michael Orlov <[email protected]>1 parent c8291b1 commit 5ab9796
File tree
55 files changed
+3131
-372
lines changed- ros2bag
- ros2bag/verb
- test
- rosbag2_cpp
- include/rosbag2_cpp
- src/rosbag2_cpp
- writers
- test/rosbag2_cpp
- rosbag2_py
- rosbag2_py
- src/rosbag2_py
- rosbag2_test_common
- include/rosbag2_test_common
- rosbag2_tests
- resources
- mcap
- bag_with_topics_and_service_events_and_action
- bag_with_topics_and_service_events
- sqlite3
- bag_with_topics_and_service_events_and_action
- bag_with_topics_and_service_events
- test/rosbag2_tests
- rosbag2_transport
- include/rosbag2_transport
- src/rosbag2_transport
- test
- resources
- rosbag2_transport
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
55 files changed
+3131
-372
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
73 | 76 | | |
74 | 77 | | |
75 | 78 | | |
76 | 79 | | |
77 | 80 | | |
78 | | - | |
| 81 | + | |
79 | 82 | | |
80 | 83 | | |
81 | 84 | | |
82 | 85 | | |
83 | 86 | | |
84 | 87 | | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
85 | 91 | | |
86 | 92 | | |
87 | 93 | | |
88 | | - | |
| 94 | + | |
89 | 95 | | |
90 | 96 | | |
91 | 97 | | |
92 | 98 | | |
93 | | - | |
| 99 | + | |
| 100 | + | |
94 | 101 | | |
95 | 102 | | |
96 | 103 | | |
| |||
103 | 110 | | |
104 | 111 | | |
105 | 112 | | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
106 | 117 | | |
107 | 118 | | |
108 | 119 | | |
| |||
217 | 228 | | |
218 | 229 | | |
219 | 230 | | |
220 | | - | |
221 | | - | |
222 | | - | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
223 | 234 | | |
| 235 | + | |
224 | 236 | | |
225 | 237 | | |
226 | 238 | | |
| |||
239 | 251 | | |
240 | 252 | | |
241 | 253 | | |
242 | | - | |
| 254 | + | |
243 | 255 | | |
244 | | - | |
| 256 | + | |
245 | 257 | | |
246 | 258 | | |
247 | 259 | | |
| |||
257 | 269 | | |
258 | 270 | | |
259 | 271 | | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
260 | 276 | | |
261 | 277 | | |
262 | 278 | | |
263 | 279 | | |
264 | 280 | | |
265 | 281 | | |
266 | | - | |
267 | | - | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
268 | 288 | | |
269 | 289 | | |
270 | 290 | | |
| |||
281 | 301 | | |
282 | 302 | | |
283 | 303 | | |
| 304 | + | |
| 305 | + | |
284 | 306 | | |
285 | 307 | | |
286 | 308 | | |
| |||
330 | 352 | | |
331 | 353 | | |
332 | 354 | | |
| 355 | + | |
333 | 356 | | |
334 | 357 | | |
335 | 358 | | |
336 | 359 | | |
337 | 360 | | |
| 361 | + | |
| 362 | + | |
338 | 363 | | |
339 | 364 | | |
340 | 365 | | |
| |||
344 | 369 | | |
345 | 370 | | |
346 | 371 | | |
| 372 | + | |
347 | 373 | | |
348 | 374 | | |
349 | 375 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
66 | 76 | | |
67 | 77 | | |
68 | 78 | | |
| |||
74 | 84 | | |
75 | 85 | | |
76 | 86 | | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
77 | 98 | | |
78 | 99 | | |
79 | 100 | | |
| |||
85 | 106 | | |
86 | 107 | | |
87 | 108 | | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
88 | 144 | | |
89 | 145 | | |
90 | 146 | | |
| |||
124 | 180 | | |
125 | 181 | | |
126 | 182 | | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
127 | 193 | | |
128 | 194 | | |
129 | 195 | | |
| |||
138 | 204 | | |
139 | 205 | | |
140 | 206 | | |
141 | | - | |
142 | | - | |
| 207 | + | |
| 208 | + | |
143 | 209 | | |
144 | 210 | | |
145 | 211 | | |
146 | 212 | | |
147 | 213 | | |
148 | 214 | | |
| 215 | + | |
149 | 216 | | |
150 | 217 | | |
151 | 218 | | |
152 | 219 | | |
153 | 220 | | |
154 | 221 | | |
155 | | - | |
| 222 | + | |
156 | 223 | | |
157 | 224 | | |
158 | 225 | | |
| |||
227 | 294 | | |
228 | 295 | | |
229 | 296 | | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
| 77 | + | |
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
| |||
312 | 313 | | |
313 | 314 | | |
314 | 315 | | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
315 | 326 | | |
316 | 327 | | |
317 | 328 | | |
0 commit comments