Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add --no-daemon and --spin-time explanation in readme. #307

Merged
merged 2 commits into from
May 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions SROS2_Linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,24 +120,27 @@ To be able to use the ros2 CLI tools to interact with your secured system, you n
export ROS_SECURITY_ENCLAVE_OVERRIDE=/talker_listener/listener
```

Then use the CLI as usual:
Then use the CLI with `--no-daemon` and `--spin-time`:

> [!NOTE]
> Avoid using `ros2 daemon` since it may not have security enclaves, and enough time duration should be given for the discovery in secured network.

```bash
ros2 node list
ros2 node list --no-daemon --spin-time 4
```
```
/talker
```
```bash
ros2 topic list
ros2 topic list --no-daemon --spin-time 4
```
```
/chatter
/parameter_events
/rosout
```
```bash
ros2 topic echo /chatter
ros2 topic echo /chatter --spin-time 4
```
```
[INFO] [1714897092.882384995] [rcl]: Found security directory: /root/sros2_demo/demo_keystore/enclaves/talker_listener/listener
Expand Down
11 changes: 7 additions & 4 deletions SROS2_MacOS.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,24 +130,27 @@ To be able to use the ros2 CLI tools to interact with your secured system, you n
export ROS_SECURITY_ENCLAVE_OVERRIDE=/talker_listener/listener
```

Then use the CLI as usual:
Then use the CLI with `--no-daemon` and `--spin-time`:

> [!NOTE]
> Avoid using `ros2 daemon` since it may not have security enclaves, and enough time duration should be given for the discovery in secured network.

```bash
ros2 node list
ros2 node list --no-daemon --spin-time 4
```
```
/talker
```
```bash
ros2 topic list
ros2 topic list --no-daemon --spin-time 4
```
```
/chatter
/parameter_events
/rosout
```
```bash
ros2 topic echo /chatter
ros2 topic echo /chatter --spin-time 4
```
```
[INFO] [1714897092.882384995] [rcl]: Found security directory: /root/sros2_demo/demo_keystore/enclaves/talker_listener/listener
Expand Down
11 changes: 7 additions & 4 deletions SROS2_Windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,24 +129,27 @@ To be able to use the ros2 CLI tools to interact with your secured system, you n
set ROS_SECURITY_ENCLAVE_OVERRIDE=/talker_listener/listener
```

Then use the CLI as usual:
Then use the CLI with `--no-daemon` and `--spin-time`:

> [!NOTE]
> Avoid using `ros2 daemon` since it may not have security enclaves, and enough time duration should be given for the discovery in secured network.

```bat
ros2 node list
ros2 node list --no-daemon --spin-time 4
```
```
/talker
```
```bat
ros2 topic list
ros2 topic list --no-daemon --spin-time 4
```
```
/chatter
/parameter_events
/rosout
```
```bat
ros2 topic echo /chatter
ros2 topic echo /chatter --spin-time 4
```
```
[INFO] [1714897092.882384995] [rcl]: Found security directory: /root/sros2_demo/demo_keystore/enclaves/talker_listener/listener
Expand Down
Loading