RobotPy WPILib
2016.2.2
Getting Started
Programmer’s Guide
Anatomy of a robot
Running Robot Code
Simulation and Testing
Best Practices
Next Steps
Hardware & Sensors
wpilib Package
wpilib.buttons Package
wpilib.command Package
wpilib.interfaces Package
RobotPy Installer
Implementation Details
Support
RobotPy WPILib
Docs
»
Programmer’s Guide
Edit on GitHub
Programmer’s Guide
¶
Anatomy of a robot
Create your Robot code
Importing necessary modules
Robot object
Adding motors and sensors
Robot Operating Modes (IterativeRobot)
Main block
Putting it all together
Next Steps
Running Robot Code
On the robot (using pyfrc)
On the robot (manual)
On your computer
Gazebo simulation
Next steps
Simulation and Testing
Adding tests to your robot
Customized tests
Next Steps
Best Practices
Make sure you’re running the latest version of RobotPy!
Don’t use the print statement/logger excessively
Don’t die during the competition!
Next Steps
Read the Docs
v: 2016.2.2
Versions
latest
stable
2016.2.2
2016.2.1
2016.2.0
2016.1.4
2016.1.3
2016.1.2
2016.1.1
2016.1.0
2016.0.0
2015.0.15
2015.0.14
2015.0.9
2015.0.8
2015.0.7
2015.0.6
2015.0.4
2015.0.3
2015.0.2
Downloads
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.