- Ubuntu 20.04 LTS 64 Bit
- 32BG HDD or SSD
- Raspberry Pi (3B+ or 4)
- 16GB or larger MicroSD Card
- open a terminal and navigate to your home directory
cd ~
- clone the code repo into your home folder
git clone https://github.com/cabrillorobotics/cabrillo_rov.git
- install raspberry pi imager
sudo snap install rpi-imager
-
connect MicroSD card
-
in raspberry pi imager:
- CHOOSE OS >
Other general-purpose OS >
Ubuntu >
Ubuntu Server 20.04 LTS 64 Bit - CHOOSE STORAGE
use the MicroSD card you just inserted - WRITE
- Remove and re-insert MicroSD Card
- CHOOSE OS >
-
copy the
user-data
file to the boot partition on the sd card (replace the file in the destination) -
remove the card from the shore computer and insert it into the robot pi
-
connect the robot to power
while we wait for the pi to do its cloud init we can finish setting up the shore computer
- install python and ansible
sudo apt install -y python3-pip sshpass
sudo pip3 install ansible
- run the ansible playbook to setup the shore and rov
ansible-playbook -i setup/ansible_inventory.yml setup/ansible_playbook.yml
the rov will automatically launch ros at boot
to start the shore interface run
~/cabrillo_rov/misc/shore_startup.sh