-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reorder README, fix linting issues, and clarify about micro-ros agent
- Loading branch information
1 parent
195a478
commit 443bca7
Showing
3 changed files
with
110 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,18 @@ | ||
## Network Configuration | ||
<!-- | ||
SPDX-FileCopyrightText: 2023, Yaskawa America, Inc. | ||
SPDX-FileCopyrightText: 2023, Delft University of Technology | ||
SPDX-License-Identifier: CC-BY-SA-4.0 | ||
--> | ||
|
||
# Network Configuration | ||
|
||
You will need to use a LAN cable to allow the robot controller to communicate with the PC running the [micro-ROS Agent](../README.md#the-micro-ros-agent). | ||
|
||
- On DX200 and YRC1000micro, this will connect to the `LAN` port. | ||
- On the YRC1000, you may choose to connect this to either the `LAN2` port or the `LAN3` port | ||
|
||
The simplest configuration will have the robot simply plugged directly in to the PC. | ||
The simplest configuration will have the robot simply plugged directly in to the PC. | ||
More complicated configurations are common, but is recommended to have a direct connection until initial setup is complete to reduce points of failure. | ||
|
||
### Configuring Controller | ||
Check failure on line 18 in src/network_configuration.md GitHub Actions / md_lintHeading levels should only increment by one level at a time
|
||
|
@@ -87,11 +94,11 @@ sudo ufw show added | |
|
||
As an example of a rule that may interfere with MotoROS2 communication, `ufw deny from any proto udp` as a high priority rule would make it impossible to connect. | ||
|
||
There are many ways to fix the issue if it is a firewall. | ||
There are many ways to fix the issue if it is a firewall. | ||
You could create firewall rules that specifically permit the connection with higher priority than the rules that deny communication. | ||
For example, if the rules from the following set of commands are given high priority, they will allow for UDP connection for host PC IP address `192.168.1.15` and controller IP address `192.168.1.31` on port `8888` for ROS2 communication and on port `21789` for debug communication. | ||
|
||
Note that this an extremely narrow set of rules that would permit communication. Much more concise rules could be applied. | ||
Note that this an extremely narrow set of rules that would permit communication. Much more concise rules could be applied. | ||
|
||
```shell | ||
sudo ufw allow out from 192.168.1.15 to 192.168.1.31 proto udp | ||
|