Go to file
2015-01-04 20:38:06 -05:00
config Initial commit 2015-01-04 20:18:19 -05:00
.gitignore Initial commit 2015-01-04 20:18:19 -05:00
bootstrap.sh Add src directory by default 2015-01-04 20:38:06 -05:00
README.md Initial commit 2015-01-04 20:18:19 -05:00
Vagrantfile Initial commit 2015-01-04 20:18:19 -05:00

FRC C++ Vagrantfile

This project uses Vagrant and creates a virtual machine to compile and build WPILib C++ code for FRC. The goal is to make and deploy code without requiring Eclipse. This is not an official method of making or deploying code, so use with caution.

Installation

  • Install the latest version of Vagrant. For Ubuntu users, apt-get doesn't work because the version of Vagrant in the repositories is too old.
  • Clone the repository: git clone git@github.com:stonewareslord/frc-cpp-vagrantfile.git
  • Edit the rRIO host address in config/host
  • Copy source code to src/
  • Start the virtual machine: vagrant up
    • The first time the machine is started, your computer must be connected to the internet. It will probably take a few minutes.
  • Once provisioning completes, log into the machine with vagrant ssh

Usage

  • build - compiles the source code in src to build/FRCUserProgram. If there are errors in the source, they will be displayed and FRCUserProgram will be deleted.
  • putkey (optional) - Sends the public key to the roboRIO for passwordless deploying.
  • deploy - Uploads FRCUserProgram to the roboRIO. This will prompt for a password if putkey was not run (the default password is blank).

Issues

  • There is no way to automate updating wpilib
  • sftp is used to deploy instead of ftp