Available for Windows/sdist on pypi, and installable on the roborio using robotpy-installer. Documentation might be outdated, but just trying to crank these out first!
Unfortunately, I don’t believe REV supports simulation yet, so it won’t be very useful except on a RoboRIO.
I am working on the sim at home today, but am running into the issue that my code won’t build with rev Can bindings. I understand that the rev stuff is not simulator ready yet, but I was going to start us working with our drivetrain tomorrow, and am wondering if we are going to need to skip the tests to get it to push to the robot.
When I try py -m pip install robotpy-rev I get the following error.
Building wheel for robotpy-rev (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: '...\AppData\Local\Programs\Python\Python38-32\python.exe' '...\AppData\Local\Programs\Python\Python38-32\lib\site-packages\pip\_vendor\pep517\_in_process.py' build_wheel '...\AppData\Local\Temp\tmpw18qeklb'
cwd: ...\AppData\Local\Temp\pip-install-e_6t5z_k\robotpy-rev
Complete output (8 lines):
running bdist_wheel
running build
running build_py
running build_gen
running build_dl
Downloading http://www.revrobotics.com/content/sw/max/sdk/maven/com/revrobotics/frc/SparkMax-driver/1.5.1/SparkMax-driver-1.5.1-headers.zip
110%Downloading http://www.revrobotics.com/content/sw/max/sdk/maven/com/revrobotics/frc/SparkMax-driver/1.5.1/SparkMax-driver-1.5.1-windowsx86.zip
error: HTTP Error 404: Not Found
----------------------------------------
ERROR: Failed building wheel for robotpy-rev
Running setup.py clean for robotpy-rev
Failed to build robotpy-rev
ERROR: Could not build wheels for robotpy-rev which use PEP 517 and cannot be installed directly
I am just wondering if there is something I am missing, or if we will just have to skip the tests.
May be a different error, but we were running into a similar problem today and found that making sure we were running 64 bit python 3.8.1 (one of the laptops had 32 bit, which can be checked by running py -3 in cmd) solved the issue.