Commit b676f5c
authored
feat: enhance launch configuration with intra-process communication support (#49)
* feat: enhance launch configuration with intra-process communication support
- Added a new parameter `use_intra_process_comms` to the `LaunchManager` and `LaunchConfig` classes to enable intra-process communication for composable nodes.
- Updated the `update` method in `LaunchManager` to handle the new parameter, allowing for dynamic configuration of intra-process communication.
- Introduced new node group specifications in `node_groups.py` to support component containers with intra-process communication enabled.
- Modified the XML template in `component_launcher.xml.jinja2` to conditionally include the `use_intra_process_comms` argument based on the node configuration.
These changes improve the flexibility and performance of the Autoware System Designer by allowing for more efficient communication between nodes.
Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>
* fix: update launch manager and node group specifications for clarity
- Added `Optional` type hint for `use_intra_process_comms` in the `update` method of `LaunchManager`, allowing for clearer handling of IPC settings.
- Renamed node group specifications in `node_groups.py` from `ros2_component_container_mt_icp` to `ros2_component_container_mt_ipc` and from `ros2_component_container_icp` to `ros2_component_container_ipc` for consistency and clarity.
These changes enhance the maintainability and readability of the codebase, improving the overall clarity of launch configurations in the Autoware System Designer.
Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>
* fix: update intra-process communication handling in XML template
Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>
* fix: integrate intra-process communication parameter into LaunchConfig
Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>
---------
Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>1 parent 5d5faa6 commit b676f5c
4 files changed
Lines changed: 39 additions & 4 deletions
File tree
- autoware_system_designer/autoware_system_designer
- building
- config
- instances
- runtime
- ros2_launcher/templates
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
| 40 | + | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
45 | 47 | | |
46 | 48 | | |
47 | 49 | | |
| |||
70 | 72 | | |
71 | 73 | | |
72 | 74 | | |
| 75 | + | |
73 | 76 | | |
74 | 77 | | |
75 | 78 | | |
| |||
Lines changed: 24 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
33 | 51 | | |
34 | 52 | | |
35 | 53 | | |
| |||
92 | 110 | | |
93 | 111 | | |
94 | 112 | | |
| 113 | + | |
| 114 | + | |
95 | 115 | | |
96 | 116 | | |
97 | 117 | | |
| |||
102 | 122 | | |
103 | 123 | | |
104 | 124 | | |
105 | | - | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
106 | 129 | | |
107 | 130 | | |
108 | 131 | | |
| |||
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
| |||
67 | 68 | | |
68 | 69 | | |
69 | 70 | | |
| 71 | + | |
70 | 72 | | |
71 | 73 | | |
72 | 74 | | |
| |||
81 | 83 | | |
82 | 84 | | |
83 | 85 | | |
| 86 | + | |
84 | 87 | | |
85 | 88 | | |
86 | 89 | | |
| |||
91 | 94 | | |
92 | 95 | | |
93 | 96 | | |
| 97 | + | |
94 | 98 | | |
95 | 99 | | |
96 | 100 | | |
| |||
105 | 109 | | |
106 | 110 | | |
107 | 111 | | |
| 112 | + | |
| 113 | + | |
108 | 114 | | |
109 | 115 | | |
110 | 116 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
78 | 81 | | |
79 | 82 | | |
80 | 83 | | |
| |||
0 commit comments