Skip to content

Instantly share code, notes, and snippets.

@plusangel
Created June 1, 2022 19:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save plusangel/13aa2c0c1f95282f9bd0a36a9161edec to your computer and use it in GitHub Desktop.
Save plusangel/13aa2c0c1f95282f9bd0a36a9161edec to your computer and use it in GitHub Desktop.
Add additional packages to ROS noetic in rPi4

Let's say that we are in rPi4 we have installed ROS noetic following this guide and we want to add a couple of new packages. In our case we have selected ros_comm package. Imagine that we want to add teleop_twist_keyboard.

cd ros_catkin_ws/
source devel_isolated/setup.bash
rosinstall_generator ros_comm teleop_twist_keyboard --rosdistro noetic --deps --wet-only --tar > noetic-custom_ros.rosinstall
wstool merge -t src noetic-custom_ros.rosinstall
wstool update -t src
rosdep install -y --from-paths src --ignore-src --rosdistro noetic -r --os=debian:buster
sudo ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release --install-space /opt/ros/noetic

Happy?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment