Skip to main content

Development tools library for python interpreter used for the FIRST Robotics Competition

Project description

pyfrc - RobotPy development library helper

[![Build Status](https://travis-ci.org/robotpy/pyfrc.svg)](https://travis-ci.org/robotpy/pyfrc)

pyfrc is a python 3 library designed to make developing python code using WPILib for FIRST Robotics Competition easier.

This library contains a few primary parts:

  • A built-in uploader that will upload your robot code to the robot

  • Integration with the py.test testing tool to allow you to easily write unit tests for your robot code.

  • A robot simulator tool which allows you to run your code in (vaguely) real time and get simple feedback via a tk-based UI

Documentation

For usage, detailed installation information, and other notes, please see our documentation at http://pyfrc.readthedocs.io

Quick Install + Demo

If you have python3 and pip installed, then do:

pip3 install pyfrc

Once this is done, you can run a quick demo by running:

cd samples/physics/src/ python3 robot.py sim

Contributing new changes

pyfrc is intended to be a project that all members of the FIRST community can quickly and easily contribute to. If you find a bug, or have an idea that you think others can use:

  1. [Fork this git repository](https://github.com/robotpy/robotpy/fork) to your github account

  2. Create your feature branch (git checkout -b my-new-feature)

  3. Commit your changes (git commit -am ‘Add some feature’)

  4. Push to the branch (git push -u origin my-new-feature)

  5. Create new Pull Request on github

Authors

Dustin Spicuzza (dustin@virtualroadside.com)

Contributors:

  • Sam Rosenblum

  • James Ward

  • Christian Balcom

  • Others

pyfrc is originally derived from (and supercedes) fake_wpilib, which was developed with contributions from Sam Rosenblum and Team 2423.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyfrc-2017.1.4.tar.gz (431.4 kB view details)

Uploaded Source

File details

Details for the file pyfrc-2017.1.4.tar.gz.

File metadata

  • Download URL: pyfrc-2017.1.4.tar.gz
  • Upload date:
  • Size: 431.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyfrc-2017.1.4.tar.gz
Algorithm Hash digest
SHA256 af7b90cb7d3be68137566e4b710c721a1bbf8fb34173603292e4b2f8e774b275
MD5 d2e258cd0c43a10ec6a5f02551ad4a6f
BLAKE2b-256 20144d48f8ff7ffd62e49f261bdb3f00f1c7b327aff4b01d33e75c9bd04fc34f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page