-
Notifications
You must be signed in to change notification settings - Fork 1
Warthog Low‐Level Setup
This page explains the step we went through to configure the Warthog's Low-Level computer on ROS2 Humble and interface it with all the components. In general, we used the scripts provided in this tutorial, but we preferred to run the commands one by one to understand what it does.
- Download the image from here.
- Flash a USB key with the image.
- Plug it in the computer.
- Boot computer and enter BIOS by pressing ESC.
- Once in BIOS, boot on the USB key from the "SAVE AND EXIT" tab.
- Install Ubuntu normally.
- Remove the USB key once finished.
We followed the guide here to update the firmware. The steps are the following:
- Install Clearpath Firmware package on your laptop:
sudo apt install ros-humble-clearpath-firmware
- Place the MCU in bootloader mode by pressing "BT0" button during boot.
- Plug a micro-USB cable between the MCU and your laptop.
- Run the Clearpath firmware flash tool:
source /opt/ros/humble/setup.bash
ros2 run clearpath_firmware flash
- Select your platform, the script will flash the firmware automatically.
- Power cycle the robot.
Most of the environment setup can be done with the Clearpath script available here:
wget -c https://raw.githubusercontent.com/clearpathrobotics/clearpath_computer_installer/main/clearpath_computer_installer.sh && bash -e clearpath_computer_installer.sh
Do not use the Clearpath script to configure the network. Instead, create a Netplan file in /etc/netplan/50-norlab-setup.yaml
with the following content:
network:
version: 2
renderer: networkd
ethernets:
enp0s31f6:
dhcp4: 'yes'
dhcp6: 'no'
enp5s0:
addresses:
- 192.168.131.1/24
gateway4: 192.168.131.255
nameservers:
addresses:
- 8.8.8.8
Then, apply the config with:
sudo netplan apply
The CAN bus is necessary to communicate with the motor controllers. To give the user the right to communication over CAN bus, you first need to add <user>
to the dialout
group.
sudo usermod -aG dialout <user>
When the sevcon_traction
node is launched, is you get heartbeat errors, make sure to remove the E-Stop on the robot and the remote to allow the MCU to communicate with the motor controllers.
The configuration of the CAN bus for the batteries is detailed in Warthog Batteries (Sysnergie)
- Warthog Teach and Repeat (ROS1)
- Warthog Teach and Repeat (ROS2)
- Time Synchronization
- Deployment of Robotic Total Stations (RTS)
- Deployment of the backpack GPS
- Warthog Emlid GPS
- Atlans-C INS
- How to use a CB Radio when going in the forest
- IP forwarding
- Emlid Data Postprocessing (PPK)
- Lessons Learned
- Robots' 3D Models
- Order Management
- Fast track Master → PhD
- Intellectual Property
- Repository Guidelines
- TF Cheatsheet
- Montmorency Forest Wintertime Dataset
- RTS-GT Dataset 2023
- Deschenes2021 Dataset
- TIGS Dataset
- DRIVE Datasets
- BorealHDR
- TimberSeg 1.0
- DARPA Subterranean Challenge - Urban Dataset
- How to upload a dataset to VALERIA
- ROS1 Bridge
- Migrating a repository to ROS2 (Humble)
- ROS2 and rosbags
- MCAP rosbags
- DDS Configuration (work in progress)
- Using a USB Microphone with ROS2
- ROS2 in VSCode
- ROS2 Troubleshooting