Logo
Explore Help
Register Sign In
Team2890/PhotonVision
4
0
Fork 0
You've already forked PhotonVision
mirror of https://github.com/PhotonVision/photonvision synced 2026-06-19 00:41:41 +00:00
Code Issues Packages Projects Releases Wiki Activity
Files
b99e85d0ba0b45bb60b5d4947de1f46e3d906aeb
PhotonVision/photonlib-python-examples/run.sh

13 lines
207 B
Bash
Raw Normal View History

Fix deprecation warnings in PhotonLib examples (#1699) The following deprecation warnings have been fixed: - `SwerveModuleState.optimize(desiredState, currentRotation);`, which is now an instance method - `AprilTagFields.kDefaultField.loadAprilTagLayoutField();`, which is now `AprilTagFieldLayout.loadField(AprilTagFields.kDefaultField);` WIP: - [x] C++ - [x] Python
2025-01-11 23:30:24 -05:00
# Check if the first argument is provided
if [ $# -eq 0 ]
then
echo "Error: No example-to-run provided."
exit 1
fi
# Move to the right example folder
cd $1
# Run the example
Build Python examples during CI run (#2273) Adds `photonlib-python-examples` to CI build run to make sure that Python builds cleanly against that PR/commit.
2026-01-07 16:14:39 -05:00
python3 robot.py sim
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.5 Page: 46ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API