Skip to content
Snippets Groups Projects
Unverified Commit c790b60c authored by Tully Foote's avatar Tully Foote Committed by GitHub
Browse files

show how enforcement works.

parent 6f439194
No related branches found
No related tags found
No related merge requests found
......@@ -54,8 +54,6 @@ Prepare your environment by setting three following environment variables as fol
- `set ROS_SECURITY_ENABLE=true`
- `set ROS_SECURITY_STRATEGY=Enforce`
Note: this will be needed for every terminal you use for testing, defining these environment variables globally will be more convenient.
## Run the demo
......@@ -79,3 +77,12 @@ set ROS_SECURITY_ENABLE=true`
set ROS_SECURITY_STRATEGY=Enforce`
ros2 run demo_nodes_py listener
```
For comparision if you open another terminal and only run:
```
call <path_to_ros2_install>/setup.bat
ros2 run demo_nodes_py listener
```
You will see that it cannot connect and receive the messages.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment