Skip to content

Laptop Setup

Geeoon Chung edited this page Apr 12, 2024 · 3 revisions

Laptop Setup Instructions

Before beginning, ensure Ubuntu is installed. Version 20.04 LTS is preferable, but 22 is probably fine too.

Rover connection setup

In order to connect to the rover, some ethernet settings should be changed. Go to wifi settings for Ethernet, and ensure that it's set to "Shared to other computers" under the IPv4 tab.

Development setup

GitHub Credentials

In order to develop and push code from these laptops, credentials must be set up.

Check if a default RSA key is set up:

ls ~/.ssh/id_rsa

If nothing shows up, generate a new one: (make sure to use an empty passphrase)

ssh-keygen
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_rsa

Then, upload the public key to GitHub so that this computer can push:

  1. The Software lead should log into the huskyroboticsteam github using the team credentials
  2. Under Settings > SSH and GPG keys, click New SSH key
  3. Set the title to the name of this computer
  4. Run cat ~/.ssh/id_rsa.pub, and paste the output into the "Key" textbox
  5. Click "Add SSH key"

Clone code

  1. If needed, clone the rover codebase into the home directory and follow setup instructions. Make sure to clone using ssh!
  2. Clone the mission control codebase into the home directory and follow setup instructions. Make sure to clone using ssh!

Installing Chromium

The video streaming works best on Chromium. Install it using by running sudo apt install chromium. It has been tested on version 123.

Development scripts

This section is incomplete. TODO: finish this! This should talk about a) the set_committer.sh script as well as the run scripts for mission control. These should be put in some central repo.