Skip to content

Latest commit

 

History

History
67 lines (55 loc) · 1.41 KB

README.md

File metadata and controls

67 lines (55 loc) · 1.41 KB

Description

This repository contains code intended to support VEXU and VEXAI teams interested in leveraging advanced programming techniques on their competition robots.

Prerequisites

Ubuntu 22.04.

For new team members doing Software Onboarding I, please start with Setting Up My Environment.

Installation

Install ROS2 Humble

Follow Link: https://docs.ros.org/en/humble/Installation/Ubuntu-Install-Debians.html

Repo Setup

Download Repository

cd
git clone [email protected]:VEXU-GHOST/VEXU_GHOST.git
cd VEXU_GHOST
git submodule init
git submodule update --recursive

Add Setup to ~/.bashrc (which "configures" a new terminal when you open it)

echo "export VEXU_HOME=\"/home/$(whoami)/VEXU_GHOST\"" >> ~/.bashrc
echo 'source "$VEXU_HOME/scripts/setup_env.sh"' >> ~/.bashrc

Close this terminal, and open a new one to load new settings.

Go to the VEXU_GHOST directory (every time you open a new terminal)

cd ~/VEXU_GHOST

Update Dependencies

./scripts/update_dependencies.sh

Build Submodules

./scripts/setup_submodules.sh

Build Repository

./scripts/build.sh -r

Start Simulator

./scripts/launch_sim.sh

Add yourself to the dialout group (only needed for real robot)

sudo usermod -a -G dialout $USER