RobotPy wrappers for CTRE third party extensions for WPILib
Python C++ Shell
Latest commit d839cd5 Jan 14, 2017 @virtuald virtuald committed on GitHub Merge pull request #3 from FRC2539/patch-1
Fixes wheel filename
Permalink
Failed to load latest commit information.
ctre Fix documentation Jan 12, 2017
docs Fix documentation Jan 12, 2017
examples Initial commit Jan 12, 2017
tests Initial commit Jan 12, 2017
.gitignore Initial commit Jan 12, 2017
.travis.yml Fix travis build Jan 12, 2017
LICENSE Initial commit Jan 12, 2017
MANIFEST.in Initial commit Jan 12, 2017
README.rst Fixes wheel filename Jan 14, 2017
setup.py Fix travis build Jan 12, 2017

README.rst

robotpy-ctre

This is a python wrapper around the CTRE 3rd party library. Documentation can be found at http://robotpy-ctre.readthedocs.io/

NOTE: The RobotPy project is not associated with or endorsed by Cross The Road Electronics.

Setup (simulator)

pip3 install robotpy-ctre

Setup (RoboRIO)

NOTE: These are manual instructions, we'll have support to install this via
the RobotPy installer in a few days

You really don't want to compile this yourself, so don't download this from pypi and install it. Use the precompiled wheel that we've published instead.

Compilation

Currently, compilation is only supported on the RoboRIO or the RoboRIO VM. Use opkg to install g++ et al, install libstdc++-dev, and then run:

pip3 install pybind11 wheel
pip3 wheel .

Be warned that it takes a very long time to compile, and that if you're using a real RoboRIO that you will need a swap device installed.

License

RobotPy specific bits are available under the Apache 2.0 license. The CTRE binaries are available under their custom license which basically says "you may only use this software with our hardware". See LICENSE for details.

Author

Dustin Spicuzza (dustin@virtualroadside.com)