Skip to content
This repository has been archived by the owner. It is now read-only.
Go to file


Failed to load latest commit information.
Latest commit message
Commit time

2017 Robot Code

Robot Code | Dashboard | Image Processing

Build Status

This code will be used to control FRC Team 1418's robot during the 2017 challenge, FIRST Steamworks.

Robot code features

  • Full pyfrc integration for testing & robot simulation
  • Omni-directional Swerve Drive System
    • Field Centric control
    • Defensive "wheel locking" stance
  • Autonomous mode
    • Score on any side of the tower (consistently at worlds)
    • Structure allows for both field centric and robot centric drive controls.


This swerve drive system is far from ideal. This code is written to field one robot and one robot only. It is not meant to be portable. There are a few strange things that arise due to our hardware implementation of swervedrive. 3/4 through build season I started to notice this but by that point things just needed to work. I told my team many times that if I were to rewrite swerve drive it would look very different than the system here.

TLDR: This system is designed for the irregularities of ONE robot and should not be seen as an over-arching example.

- Carter Fendley

Deploying onto the robot

The robot code is written in Python, so to run it you must install pyfrc onto the robot.

With the pyfrc library installed, you can deploy the code onto the robot by running with the following argument:

python3 deploy

This will run the unit tests and upload the code to the robot of your choice.


The robot code has full integration with pyfrc. Make sure you have pyfrc installed, and then you can use the various simulation/testing options of the code by running directly.

python3 sim

File Structure

	The robot code lives here.
        Several automatic scripts for performing common functions like shooting a ball.
        Autonomous modes.
        New robotpy components
        Management of complicated robot systems
	py.test-based unit tests that test the code and can be run via pyfrc
	Barebones code ran to make sure all of the electronics are working


You can’t perform that action at this time.