-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Imported upstream version '1.0.5' of 'upstream'
- Loading branch information
1 parent
577d1c6
commit aa37c58
Showing
27 changed files
with
308 additions
and
693 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,20 +3,11 @@ name: turtlebot4_setup_ci | |
on: [push, pull_request] | ||
|
||
jobs: | ||
turtlebot4_jazzy_ci: | ||
name: Jazzy | ||
runs-on: ubuntu-24.04 | ||
turtlebot4_humble_ci: | ||
name: Humble | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: ros-tooling/setup-ros@v0.7 | ||
- uses: ros-tooling/setup-ros@v0.3 | ||
with: | ||
required-ros-distributions: jazzy | ||
use-ros2-testing: true | ||
- uses: ros-tooling/[email protected] | ||
id: action_ros_ci_step | ||
with: | ||
target-ros2-distro: jazzy | ||
import-token: ${{ secrets.GITHUB_TOKEN }} | ||
skip-tests: false | ||
package-name: | ||
turtlebot4_setup | ||
required-ros-distributions: humble |
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -4,8 +4,6 @@ Setup scripts and tools for the TurtleBot 4 Raspberry Pi. | |
|
||
Visit the [TurtleBot 4 User Manual](https://turtlebot.github.io/turtlebot4-user-manual/software/turtlebot4_setup.html) for more details. | ||
|
||
Make sure your Create® 3 is updated to the `I.*.*` firmware; older versions of the firmware are not compatible with ROS 2 Jazzy. | ||
|
||
# Create an image manually | ||
|
||
Follow these instructions if you wish to create a Turtlebot4 image manually. | ||
|
@@ -14,14 +12,14 @@ Follow these instructions if you wish to create a Turtlebot4 image manually. | |
|
||
First install the [Raspberry Pi Imager](https://www.raspberrypi.com/software/). | ||
|
||
- Insert your SD card into your PC and run the Raspberry Pi Imager. Follow the instructions and install Ubuntu 24.04 Server (64-bit) onto the SD card. | ||
- Ensure your Raspberry Pi 4 is not powered before inserting the flashed SD card. | ||
- Insert your SD card into your PC and run the Raspberry Pi Imager. Follow the instructions and install Ubuntu 22.04 Server (64-bit) onto the SD card. | ||
- Ensure your Raspberry Pi 4 is not powered before inserting the flashed SD card. | ||
- You can set up the Raspberry Pi by either connecting it to your network via Ethernet or by using a keyboard and HDMI monitor via a micro HDMI cable. | ||
|
||
### Ethernet Setup | ||
|
||
- Connect the Raspberry Pi to your Network with an Ethernet cable. | ||
- Boot the Raspberry Pi. | ||
- Boot the Raspberry Pi. | ||
- Find the Raspberry Pi's IP using your router's portal. | ||
- SSH into the Raspberry Pi using the IP address. | ||
```bash | ||
|
@@ -64,7 +62,7 @@ ssh [email protected] | |
## Download and run the setup script | ||
|
||
``` | ||
wget -qO - https://raw.githubusercontent.com/turtlebot/turtlebot4_setup/jazzy/scripts/turtlebot4_setup.sh | bash | ||
wget -qO - https://raw.githubusercontent.com/turtlebot/turtlebot4_setup/humble/scripts/turtlebot4_setup.sh | bash | ||
``` | ||
|
||
The script will automatically install ROS 2 Jazzy, TurtleBot 4 packages, and other important apt packages. It will also configure the RPi4 to work in a TurtleBot 4. Once complete, the RPi4 should be rebooted with `sudo reboot`. Then, run `turtlebot4-setup` to configure the robot with the setup tool. | ||
The script will automatically install ROS 2 Humble, TurtleBot 4 packages, and other important apt packages. It will also configure the RPi4 to work in a TurtleBot 4. Once complete, the RPi4 should be rebooted with `sudo reboot`. Then, run `turtlebot4-setup` to configure the robot with the setup tool. |
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 was deleted.
Oops, something went wrong.
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,3 +1,3 @@ | ||
#!/bin/bash | ||
source /opt/ros/jazzy/setup.bash | ||
source /opt/ros/humble/setup.bash | ||
fastdds discovery -i 0 -p 11811 |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,4 +1,3 @@ | ||
MODEL:lite | ||
VERSION:2.0.2 | ||
ROS:Jazzy | ||
HOSTNAME:turtlebot4 | ||
MODEL:standard | ||
VERSION:1.0.0 | ||
ROS:Humble |
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?> | ||
<package format="3"> | ||
<name>turtlebot4_setup</name> | ||
<version>2.0.2</version> | ||
<version>1.0.5</version> | ||
<description>Turtlebot4 setup scripts</description> | ||
<maintainer email="[email protected]">rkreinin</maintainer> | ||
<license>Apache 2.0</license> | ||
|
@@ -16,7 +16,6 @@ | |
<exec_depend>rmw_fastrtps_cpp</exec_depend> | ||
<exec_depend>robot_upstart</exec_depend> | ||
<exec_depend>simple_term_menu_vendor</exec_depend> | ||
<exec_depend>socat</exec_depend> | ||
|
||
<test_depend>ament_lint_auto</test_depend> | ||
<test_depend>ament_lint_common</test_depend> | ||
|
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,19 +1,15 @@ | ||
#!/usr/bin/env bash | ||
sudo apt update && sudo apt install curl gnupg lsb-release -y | ||
|
||
# Add ROS sources | ||
sudo curl -sSL https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -o /usr/share/keyrings/ros-archive-keyring.gpg | ||
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/ros-archive-keyring.gpg] http://packages.ros.org/ros2/ubuntu $(source /etc/os-release && echo $UBUNTU_CODENAME) main" | sudo tee /etc/apt/sources.list.d/ros2.list > /dev/null | ||
|
||
# Install the packages | ||
sudo apt update | ||
sudo apt install -y \ | ||
ros-jazzy-ros-base \ | ||
ros-humble-ros-base \ | ||
build-essential \ | ||
cmake \ | ||
git \ | ||
wget \ | ||
ros-dev-tools \ | ||
socat \ | ||
network-manager \ | ||
chrony | ||
chrony |
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
Oops, something went wrong.