Skip to main content

RobotPy bindings for CTRE third party libraries

Project description

robotpy-ctre

This is a python wrapper around the CTRE 3rd party library.

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)

Project details


Download files

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

Source Distribution

robotpy-ctre-2017.0.0.tar.gz (28.7 kB view hashes)

Uploaded Source

Supported by

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