RobotPy
latest

Robot Programming

  • Getting Started
  • Installation
  • Programmer’s Guide
    • Anatomy of a robot
    • Running robot code
    • Deploying to the robot
    • Robot Simulator
    • Unit testing robot code
    • Best Practices
    • Using NetworkTables
    • Image Processing
    • Example Code
  • Frameworks
  • Hardware & Sensors

API Reference

  • WPILib API
  • NetworkTables API
  • Utilities API
  • PyFRC API

Additional Info

  • Troubleshooting
  • Support

RobotPy Developers

  • Developer Documentation
RobotPy
  • 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
    • How to execute the script
    • Commands
    • Next steps
  • Deploying to the robot
    • Immediate feedback via Netconsole
    • Skipping Tests
    • Starting deployed code at boot
    • Manually deploying code
    • Next Steps
  • Robot Simulator
    • Communicating with SmartDashboard
    • Real Joystick support via pygame
    • Gazebo simulation
    • Next Steps
  • Unit testing robot code
    • Builtin unit tests
    • Writing your own test functions
    • code coverage for 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!
    • Consider using a robot framework
  • Using NetworkTables
    • Robot Configuration
    • Server initialization (Robot)
    • Client initialization (Driver Station/Coprocessor)
    • Theory of operation
    • External tools
  • Image Processing
  • Example Code
Next Previous

© Copyright 2014-2017, RobotPy development team. Revision e8c473bb.

Built with Sphinx using a theme provided by Read the Docs.
Read the Docs v: latest
Versions
latest
stable
2016.2.4
2016.2.3
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.9
2015.0.8
2015.0.7
2015.0.6
2015.0.4
2015.0.3
2015.0.2
Downloads
pdf
htmlzip
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.