Repo for Vex Pro Robot
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Java
Python
.gitignore
.travis.yml
CHANGELOG.md
LICENSE.md
README.md

README.md

VexBot

Build Status

Code for our Vex Pro robot, and this repo is used to create new robots.

Getting Started

Clone the repository:

git clone https://github.com/LN-STEMpunks/VexBot.git && cd VexBot

Now, whether you want to work on python, or java, either run cd Python or cd Java.

Now, to see instructions for that language, view the README.md in that subfolder.

Developing

First, follow Getting Started, then:

We will push straight to master. But, before you do, make sure the code runs.

You can test these with:

python3 Python/src/robot.py test or replace test with sim to simulate

Or, for downtrodden Windows users:

py Python/src/robot.py deploy

cd Java && ant deploy

If these run fine, then run:

git add $FILES where $FILES are the files you want to commit. (most likely Python/ or Java/ and CHANGELOG.md)

git commit -m"MESSAGE HERE" replacing MESSAGE HERE with whatever message you want to use.

git push

Process

Written by the L&N STEMpunks. More specifically, the programming team.

We use gradle Travis, Git, Java, and primarily VSCODE and eclipse to develop this.

We also have a python version, which is meant to be equivelant to the java version, but more Pythonic.

Ben Klein wrote most of the base, which was then refactored by Cade Brown.

New Robot

To create a new robot, create a repo and run:

ROBOT='Duke'
URL="https://github.com/LN-STEMpunks/$ROBOT.git"
git clone https://github.com/LN-STEMpunks/VexBot.git $ROBOT && cd $ROBOT
sed -i -e "s/VexBot/$ROBOT/g" README.md
git remote set-url origin $URL
git push

Then, you may need to replace some other things as well.

Licensing

See LICENSE.md for an explanation, or our full licensing page.

Essentially, this repo is GPLv3 with some BSD and Apache components.

2017 L&N STEMpunks