The CCRE is Team 1540's powerful open-source robot code framework, primarily for FIRST Robotics Competition robots.
Clone or download
Pull request Compare This branch is even with solar-engine:devel-3.x.x.
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.
CommonChickenRuntimeEngine
DeploymentEngine
Emulator
PoultryInspector
SampleRobot
TemplateRobot
TimelineInspector
ci
docsrc
roboRIO
.gitignore
.travis.yml
BSD_License_for_WPILib_code.txt
CCRE_Formatter_Profile.xml
COPYING
COPYING.LESSER
README.md
check-headers-valid.sh
check-headers.sh
header-dates-ignore.txt
update-documentation.sh
update-javadoc-site.sh
version.properties

README.md

The Common Chicken Runtime Engine

The CCRE solves the problem of writing elegant and maintainable robot software by using a dataflow model and taking care of the infrastructure for your project so that you can focus on the important parts of your code.

Here's an example of a robot piloted with Tank Drive:

Drive.arcade(FRC.joystick1,
             FRC.talon(1, FRC.MOTOR_FORWARD),
             FRC.talon(2, FRC.MOTOR_REVERSE));

Or, something more interesting: an example of a shifting drive train:

BooleanOutput shifter = FRC.solenoid(2);
shifter.setFalseWhen(FRC.startTele);
shifter.setTrueWhen(FRC.joystick1.onPress(3));
shifter.setFalseWhen(FRC.joystick1.onPress(1));

Features

  • Dataflow-based programming
  • Modern framework for FRC robot code
  • An emulator to test robot code without a robot
  • A high-quality publish-subscribe networking system
  • Robust error handling
  • No dependency on WPILib plugins

Documentation and Quickstart Guide

Please read our documentation and quickstart guide!

Contribute

Support

If you are having issues, please let us know. You can reach the primary developer at: robotics [at] celskeggs [dot] com

License

The project is licensed under the LGPL, which means that you can freely use it as a dependency of your project without affecting the license that you use for your project. This is approximate: you should review the terms of the license, which can be found in COPYING and COPYING.LESSER.

Since this project is publicly available, you can use it for FRC robot software legally under the rules (as of 2015), as long as, if you make any changes before Kickoff, you make your changes available publicly. That's because of the FRC rules, not the license. The license does mean that if you release changes to this framework itself publicly, you pretty much have to also make those changes available under the LGPL.