Skip to content

Commit

Permalink
Replace localnet with lan
Browse files Browse the repository at this point in the history
  • Loading branch information
bjsowa committed Jul 10, 2024
1 parent 8caaed7 commit beb285e
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 9 deletions.
1 change: 0 additions & 1 deletion cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,6 @@
"isie",
"leox",
"librealsense",
"localnet",
"marsyard",
"mmcblk",
"mobot",
Expand Down
10 changes: 5 additions & 5 deletions docs/leo-rover/advanced-guides/ros-development.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -576,10 +576,10 @@ external router (if you followed
[Connect to the Internet tutorial](/leo-rover/guides/connect-to-network)).

To properly communicate over the ROS network, your computer needs to be able to
resolve the master.localnet hostname. Open a terminal on your computer and type:
resolve the master.lan hostname. Open a terminal on your computer and type:

```bash
getent hosts master.localnet
getent hosts master.lan
```

If you don't see any output, that means you cannot resolve the hostname.
Expand All @@ -590,7 +590,7 @@ through external router, add this line to the `/etc/hosts` file on your
computer:

```bash
10.0.0.1 master.localnet
10.0.0.1 master.lan
```

:::warning
Expand All @@ -601,7 +601,7 @@ of the Rover on your local network.
:::

If everything works, you should be able to ping the rover by it's hostname. To
check it, type: `ping master.localnet`.
check it, type: `ping master.lan`.

Now, to be connected in ROS network, you need to set some environment variables.
Start by sourcing the result space you are using:
Expand All @@ -613,7 +613,7 @@ source /opt/ros/${ROS_DISTRO}/setup.bash
Specify the address of the master node:

```bash
export ROS_MASTER_URI=http://master.localnet:11311
export ROS_MASTER_URI=http://master.lan:11311
```

And your IP on the network:
Expand Down
2 changes: 1 addition & 1 deletion docs/leo-rover/integrations/cameras/stereolabs-zed.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ will communicate with the correct ROS master. To export the variables, type on
your board computer:

```bash
export ROS_MASTER_URI=http://master.localnet:11311
export ROS_MASTER_URI=http://master.lan:11311
export ROS_IP=<IP address of your board computer in the rover network>
```

Expand Down
2 changes: 1 addition & 1 deletion docs/leo-rover/leo-examples/line-follower.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ with master being on the rover:
cd <path_to_your_ros_workspace>
source devel/setup.bash
export ROS_IP=<your_ip_address_in_the_rovers_network>
export ROS_MASTER_URI=http://master.localnet:11311
export ROS_MASTER_URI=http://master.lan:11311
```

Now, with the `color_mask` node running on the rover, run rqt on your computer
Expand Down
2 changes: 1 addition & 1 deletion docs/leo-rover/leo-examples/object-detection.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ source the workspace, and export some `ROS` environment variables:
cd <path_to_your_ros_workspace>
source devel/setup.bash
export ROS_IP=<your_IP_address_in_the_rovers_network>
export ROS_MASTER_URI=http://master.localnet:11311
export ROS_MASTER_URI=http://master.lan:11311
```

:::info
Expand Down

0 comments on commit beb285e

Please sign in to comment.