Skip to content

FRC900/900JetsonCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup

Install Docker

sudo apt update
sudo apt install -y curl
curl https://get.docker.com | sudo sh
sudo gpasswd -a $USER docker

Restart your VM (for WSL, close and reopen your terminal)

Make Docker autostart

Native Linux

sudo systemctl --now enable docker

Windows 11 WSL2

Add the following to /etc/wsl.conf (in WSL)

[boot]
systemd=true

Windows 10 WSL2

Add the following to ~/.profile (in WSL)

if service docker status 2>&1 | grep -q "is not running"; then
  wsl.exe -d "${WSL_DISTRO_NAME}" -u root -e /usr/sbin/service docker start >/dev/null 2>&1
fi

Install Git Large File Support

sudo apt install -y wget
cd &&\
wget https://github.com/git-lfs/git-lfs/releases/download/v3.3.0/git-lfs-linux-amd64-v3.3.0.tar.gz &&\
mkdir git-lfs-install &&\
cd git-lfs-install &&\
tar -xzf ../git-lfs-linux-amd64-v3.3.0.tar.gz &&\
cd git-lfs-3.3.0 &&\
sudo ./install.sh &&\
cd &&\
rm -rf git-lfs-linux-amd64-v3.3.0.tar.gz git-lfs-install &&\
git lfs install

Set up Github SSH

In WSL:

ssh-keygen -t ed25519 -C "your_email@example.com"

Copy the output of

cat ~/.ssh/id_ed25519.pub

Go to https://github.com/settings/keys and click "New SSH Key"

Paste what you copied into the "Key" field

Name the key wsl (or whatever you want)

Clone robot code

cd ~
git clone git@github.com:FRC900/900JetsonCode.git

Set up Docker container (WIP)

cd ~/900JetsonCode/docker

Windows/Native Linux

./docker-run

Mac

./docker-run-mac

Official docker image TBA to frc900 repo

Entering Docker

docker ps -a to find name of container (should be jetson-dev) docker start [container name] to start container docker exec -it [container name] /bin/bash to enter container

You can also use the Dev Container extension of VS Code

Setting up and building code

TBA

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published