RoboRacer Driver Stack

Create a workspace

cd $HOME
mkdir -p f1tenth_ws/src

Move to workspace

cd f1tenth_ws
colcon build

Clone the repo

cd src
git clone https://github.com/Weber-AGV/f1tenth_system

Update submodule

cd f1tenth_system
git submodule update --init --force --remote

Change branches to Humble

git switch humble-devel
cd teleop_tools
git switch humble-devel
cd ..
cd vesc
git switch humble

Install dependencies

cd $HOME/f1tenth_ws
sudo rosdep init
rosdep update

Install missing dependencies

Ensure the missing asio_cmake_module dependency is installed. Use rosdep to install all necessary dependencies for the vesc_driver package:

rosdep install --from-paths src --ignore-src -r -y

Check your ROS 2 installation

Verify that the required ROS 2 packages (io_context and asio_cmake_module) are installed:

sudo apt update && sudo apt install ros-humble-io-context ros-humble-asio-cmake-module

Build

colcon build --symlink-install
source ~/.bashrc