We’re happy to announce the release of RobotPy for 2023! Just pip3 install robotpy
and you’re off and running! Well, read the install guide.
All WPILib 2023.1.1 features are available
Commands v1 is gone (yay) but Commands v2 is available
CTRE, PWFusion, REV vendors are available
robotpy-cscore has wheels now for desktop platforms, which makes it much easier to install
robotpy-apriltag is a thing now, check it out
pyntcore no longer requires pynetworktables and replaces it. Lots of API changes here because of NT4
Our examples repository has a lot more examples! Thanks especially to @BerkeSinanYetkin and @mrguisamuel
Python is not an official FRC language yet, but we are working with the WPILib team to make it official in 2024. See Bringing Python to FRC — WPILib for the announcement.
Thanks to everyone who contributed to this release!
Hi, I’m trying to install robotpy on an M1 Mac and I get the following error
Building wheel for robotpy-wpiutil (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [7 lines of output]
running bdist_wheel
running build
running build_py
running build_gen
running build_dl> Downloadinghttps://frcmaven.wpi.edu/artifactory/release/edu/wpi/first/wpiutil/wpiutil-cpp/2023.4.2/wpiutil-cpp-2023.4.2-osxuniversal.zip
error: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)>
Is there something that I need to do on my end?
Thank you.
Hey again. Just looking for some verification. We are running PhotonVision 2023.4.2 on our Orange
Pi 5. Our Rio is running RobotPy. When we run the RobotPy installer, it says the PhotonVision requirement is satisficed to the latest version. But… The Driver Station Console keeps whining that the “Photon Vision version 2023.3.0 does not match”. Is this normal or do we need to update something else?
Are you using the photonvision library on the Rio to access data from your camera? Updating photonvision on your pi won’t update the Library on the Rio. You have to update it separately.
Yes we are using photonvision library on the Rio.
We run this command while connected to the internet: “py -3 -m robotpy_installer download robotpy[photonvision]”, and then run “py -3 -m robotpy_installer install robotpy[photonvision]” manually to actually install. It responds that the requirement is already met.
So, is this not doing what you suggested. If not, please help us find the right process to update it on the Rio.
I don’t personally care about photonvision, so I’m not inclined to spend time on it unless it’s something easy to do (which it was at first, but no longer seems to be the case).