Robotpy-rev

Latest version: v2024.2.3

Safety actively analyzes 621064 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

4.0

To install this on your roborio, you need to scp the whl to the roborio, then ssh in and do `pip3 install filename.whl`. Please try it out and let me know if it works!

Currently the only things implemented are:

* get()
* set(double)

0.0.1a

**Update**: This release is obsolete, use the instructions in the documentation to install newer releases!

I don't have access to a Spark MAX controller, but I put together these hacky bindings to see if it was doable. Seems to work on a RoboRIO (simulation not implemented)! Here's the demo:


adminroboRIO:~ python3
Python 3.7.2 (default, Dec 30 2018, 11:24:38)
[GCC 6.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import rev
>>> m = rev.CANSparkMax(3, rev.MotorType.kBrushless)
Unable to retrieve SPARK MAX firmware version please verify the deviceID field matches the configured CAN ID of the controller, and that the controller is connected to the CAN Bus.
>>> m.set(4)
>>> m.get()

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.