- Ensure 32-bit Raspbian Buster is installed on Raspberry Pi with Raspberry Pi Imager (https://www.raspberrypi.com/software/)
- Ensure SSH is enabled on the Pi (https://raspberrypi-guide.github.io/networking/connecting-via-ssh#:~:text=By%20default%2C%20SSH%20is%20disabled,to%20SSH%20and%20click%20OK%20.)
- SSH into the Pi by running
ssh [email protected]
- Ensure ROS Melodic is installed on Raspberry Pi. If not, follow these instructions: http://wiki.ros.org/ROSberryPi/Installing%20ROS%20Melodic%20on%20the%20Raspberry%20Pi. When installing key, run
curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add -
if step 2.1 fails. - Build ROS workspace:
sudo ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release --install-space /opt/ros/melodic -j2
- Install python3 dependencies:
sudo apt-get install python3-yaml && sudo pip3 install rospkg catkin_pkg
- Clone baby walker repository into
~/catkin_ws/src
- Enter catkin_ws directory:
cd ~/catkin_ws
- Run
sudo ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release --install-space /opt/ros/melodic --pkg baby-walker -j2
. - Run launch file with `roslaunch ~/catkin_ws/src/baby-walker/launch/baby_walker.launch
A script on the Pi may already exist to run these two commands and make life easier