Fool Stuck Robot
- Ubuntu 22.04
- ROS 2 Humble
-
Update pkg list
sudo apt update
-
Install VCS tool and rosdep
sudo apt install -y python3-vcstool python3-colcon-common-extensions python3-rosdep
-
Clone repos and cd into dir
git clone https://github.com/Fool-Stuck/wheel_stuck_ws.git && cd wheel_stuck_ws
-
Import depend pkgs(source)
vcs import src < depend_packages.repos --recursive
-
Setup rosdep
sudo rosdep init && rosdep update
-
Install depend pkgs(binary)
rosdep install -i -y --from-paths src --ignore-src
-
Build
colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release
-
Install pre-commit
pip install pre-commit
-
Enable pre-commit hooks
cd /path/to/wheel_stuck_ws
pre-commit install