- Raspi 4
- 32GB or better SD Card
- USB Keyboard
- Mini HDMI to XXX adapter and a monitor
- WLAN credentials and internet connectivity
- install ubuntu 20.04 with imager -> https://www.pragmaticlinux.com/2021/08/install-the-raspberry-pi-imager-on-ubuntu-debian-fedora-and-opensuse/
- boot up and set pw for user ubuntu
- configure network so you can reach your rapi remotely -> https://linuxconfig.org/ubuntu-20-04-connect-to-wifi-from-command-line
- connect to your raspi via ssh
systemctl stop --force unattended-upgrades.service
sudo snap remove --purge lxd
sudo snap remove --purge core20
sudo snap remove --purge snapd
sudo apt -y remove --autoremove snapd
sudo apt-get update
sudo apt-get -y upgrade
Install ROS noetic -> http://wiki.ros.org/noetic/Installation/Ubuntu
when you reach point 1.4 Installation chose the ROS-Base (Bare Bones) option
alias depit="rosdep install --from-paths src --ignore-src -r -y"
alias debug="picocom -b 115200 /dev/ttyAMA1"
<your-rover-ip> is your static ip address for the raspi
export ROS_IP=<your-rover-ip>
source ~/MowgliRoverROS/devel/setup.bash
cd ~
git clone [email protected]:cloudn1ne/MowgliRoverROS.git
cd ~/MowgliRoverROS/
git submodule update --init
cd ~/MowgliRoverROS/
depit
sudo apt-get -y install ros-noetic-tf2-eigen ros-noetic-robot-state-publisher ros-noetic-joint-state-publisher ros-noetic-map-server ros-noetic-rosserial-server ros-noetic-gps-common picocom
sudo apt-get -y install openocd
cd ~/MowgliRoverROS/
./build_mowgli.sh
./build_om.sh
needs to be at least RTKLIB Branch 2.4.3
cd ~/MowgliRoverROS/src/RTKLIB/app/consapp/str2str/gcc/
make
sudo make install
cd ~/MowgliRoverROS/raspi_scripts
./install.sh
systemctl start roscore
systemctl start rosserial
systemctl enable rosserial_watchdog
systemctl enable roscore
systemctl enable rosserial_watchdog
systemctl enable rosserial