File tree Expand file tree Collapse file tree 4 files changed +29
-4
lines changed Expand file tree Collapse file tree 4 files changed +29
-4
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,10 @@ py_library(
90
90
91
91
ros2_launch (
92
92
name = "zero_copy" ,
93
- data = ["cyclonedds.xml" ],
93
+ data = [
94
+ "cyclonedds.xml" ,
95
+ "roudi.toml" ,
96
+ ],
94
97
launch_file = "zero_copy.py" ,
95
98
nodes = [
96
99
":listener" ,
Original file line number Diff line number Diff line change 1
1
uint64 timestamp
2
2
uint64 count
3
3
# Shared memory backend can only deal with fixed size messages.
4
- # 3145728 = 3*1024*1024 = 3MiB
5
- char [3145728 ] data
4
+ # For reference, FHD image: 3 * 1080 * 1920 = 6220800 bytes.
5
+ char [6220800 ] data
6
6
uint64 data_length
Original file line number Diff line number Diff line change
1
+ [general ]
2
+ version = 1
3
+
4
+ [[segment ]]
5
+
6
+ [[segment .mempool ]]
7
+ size = 32
8
+ count = 16
9
+
10
+ [[segment .mempool ]]
11
+ # 8 MiB
12
+ size = 8388608
13
+ count = 16
14
+
15
+ [[segment .mempool ]]
16
+ # 32 MiB
17
+ size = 33554432
18
+ count = 16
Original file line number Diff line number Diff line change @@ -72,7 +72,11 @@ def generate_launch_description():
72
72
# roudi is a shared memory manager that also has to be started.
73
73
launch .actions .ExecuteProcess (
74
74
name = 'iceoryx_roudi' ,
75
- cmd = [zero_copy .roudi .ROUDI_PATH ],
75
+ cmd = [
76
+ zero_copy .roudi .ROUDI_PATH ,
77
+ '-c' ,
78
+ 'zero_copy/roudi.toml' ,
79
+ ],
76
80
),
77
81
launch .actions .SetEnvironmentVariable (name = 'CYCLONEDDS_URI' ,
78
82
value = 'zero_copy/cyclonedds.xml' ),
You can’t perform that action at this time.
0 commit comments