Skip to content

CabrilloRoboticsClub/cabrillo_rov_2022

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cabrillo College's Robotics Club's ROV Repo for the MATE ROV 2022 competition

Dubbed hydrozoa

frame__48cm Drawing

SHORE Computer REQUIREMENTS:

  • Ubuntu 20.04 LTS 64 Bit
  • 32BG HDD or SSD

ROV Onbard Computer REQUIREMENTS:

  • Raspberry Pi (3B+ or 4)
  • 16GB or larger MicroSD Card

setup instructions

  1. open a terminal and navigate to your home directory
cd ~ 
  1. clone the code repo into your home folder
git clone https://github.com/cabrillorobotics/cabrillo_rov.git 
  1. install raspberry pi imager
sudo snap install rpi-imager 
  1. connect MicroSD card

  2. 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
  3. copy the user-data file to the boot partition on the sd card (replace the file in the destination)

  4. remove the card from the shore computer and insert it into the robot pi

  5. connect the robot to power

while we wait for the pi to do its cloud init we can finish setting up the shore computer

  1. install python and ansible
sudo apt install -y python3-pip sshpass 
sudo pip3 install ansible
  1. run the ansible playbook to setup the shore and rov
ansible-playbook -i setup/ansible_inventory.yml setup/ansible_playbook.yml

usage

the rov will automatically launch ros at boot

to start the shore interface run

~/cabrillo_rov/misc/shore_startup.sh