File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -18,11 +18,13 @@ You can stop everything by typing Ctrl-C.
18
18
To try SROS2 (https://github.com/ros2/sros2/blob/foxy/SROS2_Linux.md), start a container for both talker and listener nodes::
19
19
20
20
docker run --env-file sros_env.list --rm -i -t radler/ros2:latest bash
21
+ docker ps # to retrieve the CONTAINER_ID
22
+ docker exec -it CONTAINER_ID bash # to get into the container's shell
21
23
22
24
Inside of the container, run listener and talker nodes with security feature on::
23
25
24
- ros2 run demo_nodes_py listener --ros-args --enclave /talker_listener/listener
25
- ros2 run demo_nodes_py talker --ros-args --enclave /talker_listener/talker
26
+ ros2 run pubsub listener --ros-args --enclave /talker_listener/listener
27
+ ros2 run pubsub talker --ros-args --enclave /talker_listener/talker
26
28
27
29
To run the above talker_listener demo on two containers, start one container c1::
28
30
@@ -45,8 +47,8 @@ Copy talker keys from the container c1 to the container c2::
45
47
Inside of the container c2, untar talker keys and run talker node::
46
48
47
49
tar zxvf talker.tgz
48
- ros2 run demo_nodes_py talker --ros-args --enclave /talker_listener/talker
50
+ ros2 run pubsub talker --ros-args --enclave /talker_listener/talker
49
51
50
52
Inside of the container c1, run listener node::
51
53
52
- ros2 run demo_nodes_py listener --ros-args --enclave /talker_listener/listener
54
+ ros2 run pubsub listener --ros-args --enclave /talker_listener/listener
You can’t perform that action at this time.
0 commit comments