Commit c6d04f7
Cherry-picks and changes from "irobot/iron" for Jazzy (#158)
* Add logs on failed take response/request (#107)
* Ignore local endpoints (#131)
* Refs #18846: PoC ignore local endpoints: extend RCLCPP API
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
* Refs #18846: PoC ignore local endpoints: modify RCLCPP publish logic
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
---------
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Co-authored-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
(cherry picked from commit 106c03a)
style
* Support intra-process communication: Clients & Services (ros2#1847)
Signed-off-by: Mauro Passerino <mpasserino@irobot.com>
(cherry picked from commit 58d2a04)
Remove redundant `add_subscription` cherry pick artifact
use const ref instead of ptr, add missing capacity fn
more style
* Jazzy recreation of "Add action client/server IPC support" (aeacde9)
* add override attribute to some ipc methods
Signed-off-by: Alberto Soragna <alberto.soragna@gmail.com>
* clear intra-process manager on client/server destructors (#94)
(cherry picked from commit 378223d)
* move ipc lock to appropriate position in client.hpp
(cherry picked from commit 9de603e)
* Actions: Use ipc_setting = rclcpp::IntraProcessSetting::NodeDefault (#133)
Co-authored-by: Mauro Passerino <mpasserino@irobot.com>
* Allow for deferred responses with ipc (#135)
* allow for deferred responses with ipc
* fix send response
* fix use member service ipc process
* add map to store CallbackInfoVariant
* add send_response to base class, set function ptr to get handle
* move service intra process outside base
* copy response into shared pointer for ipc
* add typename for service template
* remove ref signature
* try without std::ref
* try without ref wrapper
* try emplace
* make pair with variant
* some cleanup
* erase callback info if client invalid
* add post_init_setup for services
* fix extra comma
* add post init setup after lifecycle node services
* add documentation for ServiceIntraProcess template change
* use weak ptr to service in ServiceIntraProcess
* move check for valid service handle to beginning of function
* add comment for callback info map
(cherry picked from commit aa95a48)
* check request header for intraprocess (#139)
* check request header for intraprocess
* set request header intraprocess to false in execute_service
(cherry picked from commit a617f93)
* Include namespaces in service names (#140)
* Include node namespace in IPC Action service name
* Include node namespace in IPC Client/Service service name
---------
Co-authored-by: Mauro Passerino <mpasserino@irobot.com>
(cherry picked from commit f5b2001)
remove whitespace in service.hpp
* Fix mutltiple client requests (#142)
* store map of unique request id to client id and callback info pair
* fix map end check
* fix undefined reference
* remove unnecessary request id erase, remove/fix unique id comment
* improve unique id comment
(cherry picked from commit b865383)
* RECREATION OF Fixes for intra-process actions (#144)
action client / server ipc decrustification
whitespace / line length / uncrustify - service_intra_process
const correctness
* add logs and minor fixes (#146)
* add logs and minor fixes
Signed-off-by: Alberto Soragna <alberto.soragna@gmail.com>
* use >0 rather than ==1 in comparison
Signed-off-by: Alberto Soragna <alberto.soragna@gmail.com>
---------
Signed-off-by: Alberto Soragna <alberto.soragna@gmail.com>
* correct template syntax
Signed-off-by: Alberto Soragna <alberto.soragna@gmail.com>
(cherry picked from commit d4dd4e4)
* avoid adding notify waitable twice to events-executor collection (ros2#2564)
* avoid adding notify waitable twice to events-executor entities collection
Signed-off-by: Alberto Soragna <alberto.soragna@gmail.com>
* remove redundant mutex lock
Signed-off-by: Alberto Soragna <alberto.soragna@gmail.com>
---------
Signed-off-by: Alberto Soragna <alberto.soragna@gmail.com>
(cherry picked from commit f27bdbf)
* Fix bug in timers lifecycle for events executor (ros2#2586)
* Remove expired timers before updating the collection
Signed-off-by: Alexis Pojomovsky <apojomovsky@ekumenlabs.com>
* Add regression test for reinitialized timers bug
Signed-off-by: Alexis Pojomovsky <apojomovsky@ekumenlabs.com>
* Add missing includes
Signed-off-by: Alexis Pojomovsky <apojomovsky@ekumenlabs.com>
* Relocate test under the executors directory
Signed-off-by: Alexis Pojomovsky <apojomovsky@ekumenlabs.com>
* Extend test to run with all supported executors
Signed-off-by: Alexis Pojomovsky <apojomovsky@ekumenlabs.com>
* Adjust comment in fix to make it more generic
Signed-off-by: Alexis Pojomovsky <apojomovsky@ekumenlabs.com>
* Apply ament clang format to test
Signed-off-by: Alexis Pojomovsky <apojomovsky@ekumenlabs.com>
* Fix uncrustify findings
Signed-off-by: Alexis Pojomovsky <apojomovsky@ekumenlabs.com>
---------
Signed-off-by: Alexis Pojomovsky <apojomovsky@ekumenlabs.com>
Co-authored-by: Alexis Pojomovsky <apojomovsky@ekumenlabs.com>
(cherry picked from commit 9ef9646)
* Bring lock_free_events_queue to rclcpp from the events_executor repo (#149)
Co-authored-by: Alexis Pojomovsky <apojomovsky@ekumenlabs.com>
(cherry picked from commit 30050c1)
exclude lock free queue from linting
actually lint lock_free_events_queue
lock_free_events_queue copyright
whitespace / line length / uncrustify - lock_free_events_queue
* Add test_actions (#150)
Co-authored-by: Alexis Pojomovsky <apojomovsky@ekumenlabs.com>
(cherry picked from commit aef928d)
* Jazzy - Action IPC Fixes (See 7a51f00)
whitespace / line length / uncrustify - rclcpp_action client
whitespace / line length / uncrustify - rclcpp_action server
fix duplicate member definitions in rclcpp_action server.hpp
fixes for IPC action server
delete log
whitespace / line length / uncrustify - rclcpp action server again
minor action client fixes
whitespace / line length / uncrustify - rclcpp action client again
* Always publish inter-process on TRANSIENT_LOCAL pubs (#152)
* Mauro/irobot iron fixes (#155)
whitespace / line length / uncrustify - publisher
proper inter_process_publish_needed
whitespace / line length / uncrustify - rclcpp publisher
* Add test_actions & test_transient_local (#157)
Co-authored-by: Mauro Passerino <mpasserino@irobot.com>
(cherry picked from commit cf182e0)
whitespace / line length / uncrustify - test_actions and test_transient_local
whitespace / line length / uncrustify - test actions and transient_local again
remove redundant test_actions
* Call service post_init_setup in test_service.cpp
---------
Signed-off-by: Alberto Soragna <alberto.soragna@gmail.com>
Signed-off-by: Alexis Pojomovsky <apojomovsky@ekumenlabs.com>
Co-authored-by: Mauro Passerino <mpasserino@irobot.com>
Co-authored-by: mauropasse <mauropasse@hotmail.com>
Co-authored-by: Alberto Soragna <alberto.soragna@gmail.com>
Co-authored-by: Jeffery Hsu <jefferyyjhsu@gmail.com>
Co-authored-by: bpwilcox <bpwonline28@gmail.com>
Co-authored-by: Alexis Pojomovsky <apojomovsky@gmail.com>
Co-authored-by: Alexis Pojomovsky <apojomovsky@ekumenlabs.com>1 parent 8266f85 commit c6d04f7
File tree
62 files changed
+10433
-221
lines changed- rclcpp_action
- include/rclcpp_action
- src
- test
- rclcpp_lifecycle/src
- rclcpp
- include/rclcpp
- detail
- experimental
- buffers
- executors/events_executor
- concurrent_queue
- src/rclcpp
- experimental/executors/events_executor
- node_interfaces
- test/rclcpp
- executors
- node_interfaces
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
62 files changed
+10433
-221
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
| 47 | + | |
45 | 48 | | |
46 | 49 | | |
47 | 50 | | |
| |||
116 | 119 | | |
117 | 120 | | |
118 | 121 | | |
| 122 | + | |
119 | 123 | | |
120 | 124 | | |
121 | 125 | | |
| |||
285 | 289 | | |
286 | 290 | | |
287 | 291 | | |
| 292 | + | |
| 293 | + | |
288 | 294 | | |
289 | 295 | | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
290 | 300 | | |
291 | 301 | | |
292 | 302 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
| 43 | + | |
| 44 | + | |
42 | 45 | | |
| 46 | + | |
43 | 47 | | |
44 | 48 | | |
45 | 49 | | |
| |||
48 | 52 | | |
49 | 53 | | |
50 | 54 | | |
| 55 | + | |
| 56 | + | |
51 | 57 | | |
52 | 58 | | |
53 | 59 | | |
| |||
277 | 283 | | |
278 | 284 | | |
279 | 285 | | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
280 | 295 | | |
281 | 296 | | |
282 | 297 | | |
| |||
381 | 396 | | |
382 | 397 | | |
383 | 398 | | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
384 | 412 | | |
385 | 413 | | |
386 | 414 | | |
| |||
396 | 424 | | |
397 | 425 | | |
398 | 426 | | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
399 | 432 | | |
400 | 433 | | |
401 | 434 | | |
| |||
491 | 524 | | |
492 | 525 | | |
493 | 526 | | |
| 527 | + | |
494 | 528 | | |
495 | 529 | | |
496 | 530 | | |
497 | 531 | | |
498 | 532 | | |
499 | | - | |
| 533 | + | |
| 534 | + | |
500 | 535 | | |
501 | 536 | | |
502 | 537 | | |
| |||
519 | 554 | | |
520 | 555 | | |
521 | 556 | | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
522 | 562 | | |
523 | 563 | | |
524 | 564 | | |
525 | 565 | | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
526 | 578 | | |
527 | 579 | | |
528 | 580 | | |
| |||
639 | 691 | | |
640 | 692 | | |
641 | 693 | | |
642 | | - | |
| 694 | + | |
643 | 695 | | |
644 | 696 | | |
645 | 697 | | |
| |||
674 | 726 | | |
675 | 727 | | |
676 | 728 | | |
677 | | - | |
| 729 | + | |
678 | 730 | | |
679 | 731 | | |
680 | 732 | | |
| |||
705 | 757 | | |
706 | 758 | | |
707 | 759 | | |
708 | | - | |
| 760 | + | |
709 | 761 | | |
710 | 762 | | |
711 | 763 | | |
| |||
839 | 891 | | |
840 | 892 | | |
841 | 893 | | |
842 | | - | |
| 894 | + | |
843 | 895 | | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
844 | 920 | | |
845 | 921 | | |
846 | | - | |
| 922 | + | |
847 | 923 | | |
848 | 924 | | |
849 | 925 | | |
| |||
869 | 945 | | |
870 | 946 | | |
871 | 947 | | |
| 948 | + | |
| 949 | + | |
| 950 | + | |
| 951 | + | |
| 952 | + | |
| 953 | + | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
| 957 | + | |
| 958 | + | |
| 959 | + | |
| 960 | + | |
| 961 | + | |
| 962 | + | |
| 963 | + | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
| 974 | + | |
| 975 | + | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
| 979 | + | |
| 980 | + | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
| 985 | + | |
| 986 | + | |
| 987 | + | |
| 988 | + | |
| 989 | + | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
| 993 | + | |
| 994 | + | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
| 998 | + | |
| 999 | + | |
| 1000 | + | |
872 | 1001 | | |
873 | 1002 | | |
874 | 1003 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
55 | | - | |
| 56 | + | |
| 57 | + | |
56 | 58 | | |
57 | 59 | | |
58 | 60 | | |
| |||
65 | 67 | | |
66 | 68 | | |
67 | 69 | | |
68 | | - | |
| 70 | + | |
| 71 | + | |
69 | 72 | | |
70 | 73 | | |
71 | 74 | | |
| |||
74 | 77 | | |
75 | 78 | | |
76 | 79 | | |
77 | | - | |
| 80 | + | |
| 81 | + | |
78 | 82 | | |
79 | 83 | | |
80 | 84 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
53 | | - | |
| 54 | + | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
| |||
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
66 | | - | |
| 67 | + | |
| 68 | + | |
67 | 69 | | |
68 | 70 | | |
69 | 71 | | |
| |||
72 | 74 | | |
73 | 75 | | |
74 | 76 | | |
75 | | - | |
| 77 | + | |
76 | 78 | | |
| 79 | + | |
77 | 80 | | |
78 | 81 | | |
79 | 82 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
0 commit comments