File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -48,25 +48,31 @@ docker build -t rai:jazzy --build-arg ROS_DISTRO=jazzy --build-arg DEPENDENCIES=
48
48
49
49
To allow the container to communicate with the host machine, configure the host environment as presented below:
50
50
51
- 1 . If not configured, set the ` ROS_DOMAIN_ID ` environment variable to a domain ID between 0 and 101, inclusive. Example:
51
+ 1 . Source ROS 2 on the host machine:
52
+
53
+ ``` shell
54
+ source /opt/ros/jazzy/setup.bash # or humble
55
+ ```
56
+
57
+ 2. If not configured, set the ` ROS_DOMAIN_ID` environment variable to a domain ID between 0 and 101, inclusive. Example:
52
58
53
59
` ` ` shell
54
60
export ROS_DOMAIN_ID=99
55
61
` ` `
56
62
57
- 2 . Install the eProsima Fast DDS middleware (should come preinstalled with ROS 2):
63
+ 3 . Install the eProsima Fast DDS middleware (should come preinstalled with ROS 2):
58
64
59
65
` ` ` shell
60
66
apt install ros-" ${ROS_DISTRO} " -fastrtps
61
67
` ` `
62
68
63
- 3 . Configure the DDS middleware using the ` fastrtps_config.xml` file included in the RAI repository:
69
+ 4 . Configure the DDS middleware using the ` fastrtps_config.xml` file included in the RAI repository:
64
70
65
71
` ` ` shell
66
72
export FASTRTPS_DEFAULT_PROFILES_FILE=/path/to/fastrtps_config.xml
67
73
` ` `
68
74
69
- 4 . Set the RMW to use eProsima Fast DDS:
75
+ 5 . Set the RMW to use eProsima Fast DDS:
70
76
71
77
` ` ` shell
72
78
export RMW_IMPLEMENTATION=rmw_fastrtps_cpp
You can’t perform that action at this time.
0 commit comments