PJ Reiniger
c89910b7c6
HAND FIXES: Fixup gradle / cmake / styleguide
2025-11-07 23:09:21 -08:00
PJ Reiniger
6b69aab44e
HAND FIX - Fixup bazel files
2025-11-07 23:09:21 -08:00
PJ Reiniger
7c6efa41ae
SCRIPT Run cc include replacements
2025-11-07 23:09:21 -08:00
PJ Reiniger
f0a3c64121
SCRIPT Run java package replacements
2025-11-07 23:09:21 -08:00
PJ Reiniger
c350c5f112
SCRIPT Move java files
2025-11-07 23:09:21 -08:00
PJ Reiniger
7ca1be9bae
SCRIPT Move cc files
2025-11-07 23:09:21 -08:00
Peter Johnson
ef676aca70
Merge branch 'main' into 2027
2025-09-25 22:17:00 -07:00
Tyler Veness
ab53d51c6f
Fix or suppress clang-tidy warnings ( #8254 )
2025-09-25 21:28:04 -07:00
Peter Johnson
3e4e9c9b01
Merge branch 'main' into 2027
2025-08-09 00:55:26 -07:00
Tyler Veness
9ac7e286f5
[build] Upgrade Gradle plugins ( #8166 )
...
I upgraded all plugins I could see except org.ysb33r.doxygen. 2.0 made
breaking changes, and I couldn't figure out how to migrate.
Most of the changes are for suppressing new linter purification rites.
2025-08-08 23:04:02 -07:00
Austin Schuh
13852760f6
[bazel] Build wpilibc docs with doxygen ( #8157 )
...
Signed-off-by: Austin Schuh <austin.linux@gmail.com >
2025-08-04 23:49:47 -06:00
Peter Johnson
ed7982563b
Merge branch 'main' into 2027
2025-08-03 11:51:25 -07:00
Austin Schuh
2245dccff6
[bazel] Link cscorestatic correctly ( #8134 )
...
Statically link opencv, and make it work on all the architectures.
2025-07-31 23:02:56 -07:00
Austin Schuh
12223ff188
[bazel] Implement cscore shared libraries ( #8089 )
...
Use all our fancy new linking code to link cscore properly. nm reports that the symbols look quite good.
Signed-off-by: Austin Schuh <austin.linux@gmail.com >
Co-authored-by: PJ Reiniger <pj.reiniger@gmail.com >
Co-authored-by: David Vo <auscompgeek@users.noreply.github.com >
2025-07-31 21:04:22 -07:00
Tyler Veness
e678a338b4
[ci] Upgrade wpiformat ( #8124 )
...
See https://github.com/wpilibsuite/styleguide/pull/312
2025-07-30 11:10:12 -06:00
PJ Reiniger
c78bd942bb
[bazel] Make publishers for c++ hdr / srcs, and java ( #8114 )
2025-07-24 09:11:09 -04:00
PJ Reiniger
e13d237390
[bazel] Create better static libraries and add basic publishing ( #8029 )
2025-06-27 16:36:12 -07:00
PJ Reiniger
fbbc4bc53c
[bazel] Clean up bazel scripts ( #7984 )
2025-06-13 20:53:09 -07:00
Peter Johnson
6c16e846fa
Merge branch 'main' into 2027
2025-05-29 21:41:50 -07:00
Yuhao
b1f7e6d6f2
[cscore] Resolve macOS camera freeze with specific devices ( #7960 )
...
Addresses an issue where certain USB cameras, specifically the ArduCam OV9281, would freeze when attempting to stream on macOS.
The previous logic started the AVCaptureSession (startRunning) before locking the device for configuration (lockForConfiguration). While this works for many cameras, it causes the OV9281 to become unresponsive.
Further investigation revealed:
- Moving startRunning to after unlockForConfiguration resulted in macOS overriding the custom format and frame rate settings applied within the lock.
- The reliable solution, inspired by findings shared in the community (e.g., Stack Overflow), is to lock the device, apply the configuration, start the session, and then unlock the device.
This commit reorders the operations within deviceStreamOn in UsbCameraImplObjc.mm to follow the sequence: lockForConfiguration -> apply settings -> startRunning -> unlockForConfiguration. This ensures the desired camera configuration is applied correctly without causing device freezes on problematic hardware like the OV9281.
2025-05-07 19:57:03 -07:00
Gold856
ca3137b291
[build] Remove statically linked JNI artifacts ( #7553 )
2025-05-05 22:10:07 -07:00
Jade
02de5f710e
[cscore] Fix memory leak in usbviewer example ( #7922 )
...
Signed-off-by: Jade Turner <spacey-sooty@proton.me >
2025-05-01 22:07:45 -07:00
Yuhao
8fe3cfb325
[cscore] Add UVC Protocol Support for USB Camera Controls on macOS ( #7926 )
2025-04-30 08:02:59 -06:00
Jade
631521a980
[thirdparty] Set IMGUI_DEFINE_MATH_OPERATORS ( #7899 )
...
This avoids the need to define it early in the include order everywhere else.
Signed-off-by: Jade Turner <spacey-sooty@proton.me >
2025-04-29 08:44:17 -06:00
Peter Johnson
36811211be
Merge branch 'main' into 2027
2025-04-25 23:45:43 -07:00
David Vo
d04e15b957
[bazel] Avoid globally linking macOS SDK frameworks ( #7927 )
2025-04-25 10:37:42 -07:00
Yuhao
26e299115f
[cscore] Fix USB video mode handling on macOS ( #7904 )
...
* fix: UsbCameraImpl on macOS
* fix: add back logs
2025-04-21 09:27:42 -07:00
Tyler Veness
ac1705ae2b
[wpimath] Remove unit suffixes from variable names ( #7529 )
...
* Move units into API docs instead because suffixes make user code verbose and hard to read
* Rename trackWidth to trackwidth
* Make ultrasonic classes use meters instead of a mix of m, cm, mm, ft,
and inches
2025-02-10 08:23:04 -07:00
PJ Reiniger
3b345fe218
[bazel] Add macros to build jni code and java tests ( #7693 )
2025-01-26 16:52:33 -08:00
Peter Johnson
d9f8fded09
Merge branch 'main' into 2027
2025-01-16 23:17:59 -08:00
Thad House
09a6bc9a25
[build] Remove RoboRIO specializations from build system ( #7670 )
2025-01-13 12:23:54 -07:00
Matt
2de03c9601
[cscore] Use frame time in Linux UsbCameraImpl ( #7609 )
2025-01-07 09:33:20 -07:00
Peter Johnson
a931a6554f
Merge branch 'main' into 2027
2024-12-29 18:22:39 -08:00
Matt
a27df8ec24
[cscore] Sink: add ability to get most recent frame instead of waiting ( #7572 )
...
This allows more control over frame dropping.
2024-12-28 20:44:48 -08:00
Peter Johnson
2a757eaeb5
Merge branch 'main' into 2027
2024-12-26 18:55:43 -08:00
Tyler Veness
0470e51569
[upstream_utils] Upgrade to fmt 11.1.0 ( #7593 )
...
Usage of FMT_STRING() was removed since it caused compilation failures,
and https://fmt.dev/11.1/api/#compile-time-checks says it's no longer
necessary for compile-time format strings.
Fixes #7592 .
2024-12-26 19:14:02 -06:00
Gold856
b670a59b5b
[build] Fix imgui libraries not being published ( #7575 )
2024-12-23 19:05:06 -08:00
Peter Johnson
529bab6ca1
Merge branch 'main' into 2027
2024-12-19 20:40:37 -08:00
PJ Reiniger
9ccd73108b
[bazel] MVP for building wpilibc + commands framework ( #7231 )
2024-12-18 22:00:40 -08:00
Thad House
c51f65bd4f
[hal] Add initial SystemServer support ( #7463 )
2024-11-30 20:31:26 -08:00
Thad House
82132c3272
[hal] Initial SystemCore empty HAL ( #7454 )
2024-11-30 10:04:00 -08:00
Tyler Veness
a04c40f589
Replace std::make_pair with std::pair CTAD ( #7405 )
2024-11-17 20:29:23 -08:00
Joseph Eng
9a5f73d787
[cscore] Add back VideoProperty handle member initializer ( #7283 )
2024-10-23 21:46:20 -07:00
Peter Johnson
115a02211c
[cscore] HttpCamera: Auto-detect mode from stream if not set ( #7248 )
2024-10-22 08:35:05 -06:00
Peter Johnson
f553dee6cb
[cscore] HttpCamera: Send width/height/fps stream settings ( #7247 )
2024-10-22 08:33:23 -06:00
Peter Johnson
7cc7fa1845
[cscore] Fix wakeup on sink destruction ( #7245 )
2024-10-22 08:02:20 -06:00
Peter Johnson
cbdb4e81f6
[cscore] GetNextFrame: Wake up even if no frames received ( #7244 )
2024-10-22 08:01:41 -06:00
PJ Reiniger
36e0c9d6db
[build] MVP for building with bazel ( #6994 )
2024-10-19 09:54:49 -07:00
Gold856
0424e5ba36
[build] Remove unnecessary symbol exclusions ( #7221 )
...
The symbol exporter in native-utils was updated and stopped exporting the excluded symbols.
2024-10-17 16:19:19 -07:00
Tyler Veness
fad06ae1e7
Merge .inc files into headers ( #7215 )
2024-10-15 23:42:57 -07:00