-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Multi-robot Discovery Server Functionality * Clarifications based on user misunderstandings * Update for Humble * Add Create3 charging base purchase link * Clarify SD card imaging steps
- Loading branch information
1 parent
d523bec
commit d3d7f93
Showing
24 changed files
with
570 additions
and
163 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
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 |
---|---|---|
|
@@ -6,7 +6,7 @@ sort: 1 | |
|
||
These instructions will set up the user PC and robot for basic communication. Further setup will depend on the chosen [networking](./networking.md) configuration. | ||
|
||
## User PC | ||
## 1. User PC {#user-pc} | ||
|
||
### Installing ROS 2 | ||
|
||
|
@@ -41,7 +41,7 @@ sudo apt update && sudo apt install ros-humble-turtlebot4-desktop | |
{% endtab %} | ||
{% endtabs %} | ||
|
||
## Robot | ||
## 2. Robot {#robot} | ||
|
||
The first step for setting up the TurtleBot 4 is to power it on and connect it to your Wi-Fi network. | ||
|
||
|
@@ -207,7 +207,14 @@ SSH into the Raspberry Pi, then update all packages by calling: | |
sudo apt update && sudo apt upgrade | ||
``` | ||
|
||
## TurtleBot 4 Controller Setup | ||
## 3. Next Steps {#next-steps} | ||
|
||
Next the networking must be configured. Review the [Networking](networking.md) page to select a networking configuration. | ||
|
||
|
||
## Supplemental Configuration | ||
|
||
### TurtleBot 4 Controller Manual Setup | ||
|
||
The TurtleBot 4 comes with an included TurtleBot 4 Controller. It is paired in advance with the Raspberry Pi. | ||
|
||
|
@@ -236,7 +243,11 @@ sudo bluetoothctl | |
- The CLI should report that the controller has been connected and the light on the controller will turn blue. | ||
- Enter `exit` to exit the CLI. | ||
|
||
## Access Point Mode | ||
```warning | ||
Ensure that the commands are completed in quick succession. Too much delay between commands can result in the process timing out and to ultimately fail. If pairing fails then remove the device by using the `untrust` command followed by `remove` command alongside the MAC Address and try again. | ||
``` | ||
|
||
### Access Point Mode | ||
|
||
Placing the Raspberry Pi into Access Point mode can be useful when using the robot in an area without Wi-Fi connection. | ||
|
||
|
@@ -277,7 +288,9 @@ reconfigure the Raspberry Pi to connect to that network beforehand or place it i | |
Otherwise it will continue trying to connect to your current network. | ||
``` | ||
|
||
## Recovering the Raspberry Pi | ||
## Troubleshooting | ||
|
||
### Recovering the Raspberry Pi | ||
|
||
If you entered incorrect Wi-Fi credentials or your Wi-Fi network is down, you will not be able to access the Raspberry Pi over Wi-Fi. To recover from this, you can connect directly to the Raspberry Pi using an ethernet cable. You may need a USB to Ethernet adapter for your PC. | ||
|
||
|
@@ -304,29 +317,32 @@ You can now go to your terminal and SSH into the robot by typing: | |
ssh [email protected] | ||
``` | ||
|
||
## Install latest Raspberry Pi image | ||
### Install latest Raspberry Pi image | ||
|
||
Resetting to a fresh Raspberry Pi image allows complete resetting of the Raspberry Pi. This is suggested if the system has been modified in a way that has corrupted the wired connection or general operating system. | ||
|
||
```warning | ||
Installing a new image on the Raspberry Pi will delete any changes you may have made. Save your changes externally before proceeding. | ||
``` | ||
|
||
Find the latest TurtleBot 4 Raspberry Pi images at <http://download.ros.org/downloads/turtlebot4/>. | ||
|
||
- Download the latest image and extract it. | ||
- Download the latest image for the given ROS distribution and robot model. | ||
- Extract the zip file to get the `.img` file | ||
- Power off your robot and then remove the microSD card from the Raspberry Pi. | ||
- Insert the microSD card into your PC. You may need an adapter. | ||
- Install the imaging tool `dcfldd` | ||
|
||
```bash | ||
sudo apt install dcfldd | ||
``` | ||
- Identify your SD card | ||
- Identify your SD card by running | ||
|
||
```bash | ||
sudo fdisk -l | ||
lsblk -d -e7 | ||
``` | ||
|
||
- The SD card should have a name like `/dev/mmcblk0` or `/dev/sda`. | ||
- The SD card should have a name like `mmcblk0` or `sdb`. | ||
|
||
- If you wish to backup your current image, do so now: | ||
|
||
|
@@ -344,7 +360,7 @@ IMAGE_PATH is the path to where you want the image saved -- e.g., `~/turtlebot4_ | |
|
||
```bash | ||
wget https://raw.githubusercontent.com/turtlebot/turtlebot4_setup/humble/scripts/sd_flash.sh | ||
bash sd_flash.sh /path/to/downloaded/image | ||
bash sd_flash.sh /path/to/downloaded/image.img | ||
``` | ||
- Follow the instructions and wait for the SD card to be flashed. | ||
- Remove the SD card from your PC. | ||
|
Oops, something went wrong.