Matt
66f369f3a9
Remove selective builds ( #1639 )
...
Selective builds breaks my ability to require that checks pass before
merging. It's not worth the bite for very few docs-only PRs, given
github limitations on needing to skip INDIVIDUAL JOB STEPS on required
CI jobs.
Maybe we should move to gitlab 💀
2024-12-19 05:32:22 +00:00
Matt
7cba7b432d
Add camera sim smoketest ( #1637 )
...
Paranoia test inspired by
https://github.com/PhotonVision/photonvision/issues/1635 .
2024-12-19 04:51:02 +00:00
Christopher Mahoney
08c62ab8cd
Java 17 ( #1440 )
...

JDK 11 References
https://github.com/search?q=org%3APhotonVision+jdk-11&type=code
JDK 17 References
https://github.com/search?q=org%3APhotonVision+jdk-17&type=code
TODO List (things we might need to update in other repos):
- []
ab5fa98d72/photonvision/src/modules/photonvision/start_chroot_script (L29)
- []
7f8d225445/stage2/01-sys-tweaks/00-packages (L34)
- []
ab5fa98d72/photonvision/src/modules/photonvision/install.sh (L11)
- []
a4e7ecb6e3/Makefile (L14)
Closes https://github.com/PhotonVision/photonvision/pull/1069
---------
Signed-off-by: Jade Turner <spacey-sooty@proton.me >
Co-authored-by: Jade <spacey-sooty@proton.me >
2024-12-17 17:01:19 +00:00
Jordan McMichael
44f78cb03e
[Examples] Limit minimum battery voltage in sim to 0.1V ( #1600 )
...
Occasionally, the sim projects are capable of simulating current draw of
over 600A, which triggers a condition in
`BatterySim::calculateDefaultBatteryLoadedVoltage` that limits the
minimum measured battery voltage to 0V (to prevent it from going
negative).
When battery voltage measures 0, this causes NaN values to propagate
through the drivetrain model, making sim inoperable. Specifically, [this
is the
line](https://github.com/PhotonVision/photonvision/blob/master/photonlib-java-examples/aimandrange/src/main/java/frc/robot/subsystems/drivetrain/SwerveDriveSim.java#L452 )
that causes the initial NaN values in simulation.
This PR is posed as a patch to ensure that simulation doesn't break.
2024-11-22 00:21:27 +00:00
Gold856
08b4bd1f03
Update to WPILib beta 2 ( #1588 )
...
Resolves #1547 .
2024-11-21 04:42:30 +00:00
Gold856
eff95c09f1
Clean up build ( #1572 )
...
Fixes #1564 . Also copies vendordep JSONs to the examples as advised by
Thad. Removes unused shared/javacpp/setupBuild.gradle. Also removes
unnecessary `chmod +x gradlew` from CI workflows.
2024-11-16 21:30:34 -05:00
Gold856
c7ed37789e
[photon-targeting] Fix JNI loading ( #1563 )
2024-11-13 10:37:51 -05:00
Matt
37aaa49b32
Create timesync JNI for testing client ( #1433 )
2024-10-31 08:27:19 -07:00
Cameron (3539)
937bafa8e2
Bump to WPILib 2025 Beta 1 & remove C++ protobuf ( #1484 )
...
Remove C++ protobuf support until
https://github.com/wpilibsuite/allwpilib/issues/7250 is addressed.
Developers should upgrade to wpilib vscode 2025 beta 1.
---------
Co-authored-by: Matt <matthew.morley.ca@gmail.com >
2024-10-31 02:59:39 -04:00
Chris Gerth
9e6a066561
Examples Clean-Up ( #1408 )
2024-09-15 00:10:02 -04:00
Matt
169595e56e
Auto-generate packet dataclasses with Jinja ( #1374 )
2024-08-31 13:44:19 -04:00
Matt
fae3116951
Bump to 2024.3.2 ( #1283 )
2024-03-17 23:00:22 -05:00
Vasista Vovveti
39aaa34520
update wpilib to 2024.3.1 ( #1246 )
2024-02-20 15:08:52 -05:00
DeltaDizzy
9653c46bdb
fix cpp and java photoncamera names ( #1230 )
2024-02-11 04:27:25 -05:00
Craig Schardt
bcea6fcc8d
Bump WPILib to 2024.2.1 ( #1188 )
2024-01-21 20:06:47 -05:00
DeltaDizzy
644c162834
Make java examples independent by adding GradleRIO version ( #1158 )
2024-01-20 19:45:29 -05:00
Matt
bf5e8dc81b
Bump wpilib to 2024.1.1 ( #1127 )
...
Does not yet include test mode
2024-01-07 00:44:28 -05:00
Sriman Achanta
adc30336d2
Bump spotless version and update config for groovyGradle stuff ( #979 )
2023-10-24 23:02:59 -04:00
Matt
c5b42a1191
Bump WPILib to beta 2 ( #972 )
...
---------
Co-authored-by: Sriman Achanta <68172138+srimanachanta@users.noreply.github.com >
2023-10-23 23:28:37 -04:00
Matt
9991f8670c
Bump wpilib versions to 2024 beta 1 ( #947 )
2023-10-15 12:17:40 -04:00
amquake
74f1779961
Fix example readme backlinks ( #931 )
2023-10-06 08:54:47 -04:00
amquake
ce0d28da93
Update Java Simulation Examples ( #913 )
...
Removes apriltagExample and simposeest, replacing them with swervedriveposeestsim
---------
Co-authored-by: Matt <matthew.morley.ca@gmail.com >
2023-10-05 08:57:38 -04:00
Sriman Achanta
c148331b69
Bump License year to 2023 ( #841 )
...
* Bump version
* remove year entirely
2023-04-18 18:49:40 -04:00
Matt
cdf045d887
Bump wpilib to 2023.4.2 ( #815 )
2023-02-27 08:30:06 -06:00
Matt
cf68f2a450
Bump wpilib to 2023.4.1 ( #811 )
2023-02-19 12:46:12 -05:00
Matt
a2dfe48679
Create C++ Apriltag example ( #794 )
...
* Create C++ Apriltag example
* Delete libphotonlibcamera.so
* Update PhotonCameraWrapper.h
* Delete extra files
Update .gitignore
2023-02-11 23:07:07 -06:00
Matt
a16ac4af57
Bump to wpilib 2023.2.1 ( #741 )
2023-01-15 10:12:25 -05:00
Matt
8117b5814b
Bump to wpilib 2023.1.1 ( #694 )
2023-01-06 17:53:39 -05:00
shueja-personal
bb63af601d
Update to wpilib 2023 beta 7 ( #607 )
...
We now need platform specific jars -- reworks actions to support that. Currently only generates 32 bit pi images.
2022-12-16 20:05:23 -05:00