Skip to content

pineoncellar/ros2-raspbian

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

314 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

Build ROS2 (jazzy version) on raspberrypi OS.

ros2.repos is copied from ros2 (jazzy-release branch).

For more more information about ROS, see documentation

How to build in raspbian host

  1. Install deps:
make -f depends/Makefile all
  1. build sip & pyqt5
wget -O depends/sip.tar.gz https://www.riverbankcomputing.com/static/Downloads/sip/4.19.25/sip-4.19.25.tar.gz
tar -zxvf depends/sip.tar.gz -C depends
git apply patches/sip-siplib.patch
pushd depends/sip-4.19.25
sudo python configure.py --sip-module PyQt5.sip
sudo make -j4
sudo make install
popd

wget -O depends/pyqt5.tar.gz https://pypi.tuna.tsinghua.edu.cn/packages/28/6c/640e3f5c734c296a7193079a86842a789edb7988dca39eab44579088a1d1/PyQt5-5.15.2.tar.gz
tar -zxvf depends/pyqt5.tar.gz -C depends
pushd depends/PyQt5-5.15.2
sudo python configure.py
sudo make -j4
sudo make install
popd

sudo cp -r /usr/lib/python3/dist-packages/PyQt5 /usr/lib/python3/dist-packages/sipconfig.py ./venv/lib/python3.11/site-packages
  1. Fetch source code:
source venv/bin/activate
mkdir src
vcs import src < ros2.repos
  1. Apply patches:
pushd patches && make && popd
  1. Build submodules:
source venv/bin/activate
colcon build --symlink-install

If something goes wrong, run step 3, and try step 4 again.

About

Build ROS2 jazzy on Raspberry OS (bookworm)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Makefile 58.1%
  • CMake 41.9%