Sam Carlberg
98c03baf54
[javac] Add compiler check for integer division in floating-point contexts ( #8885 )
...
Useful for catching bad behavior when doing math or configuring ratios
with integers. Errors can be turned off with
`@SuppressWarnings("IntegerDivision")`
```java
double kV = 12 / 6000; // error: integer division in a floating-point context
double kV = 12. / 6000; // OK
double kV = 12 / 6000.; // OK
int kV = 12 / 6000; // OK, but evaluates to 0
double ratio = 42 / 12; // error: integer division in a floating-point context
@SuppressWarnings("IntegerDivision")
double ratio = 42 / 12; // OK, evaluates to 2
```
```
Execution failed for task ':developerRobot:compileJava'.
> Compilation failed; see the compiler output below.
/Users/sam/code/wpilib/allwpilib/developerRobot/src/main/java/wpilib/robot/Robot.java:10: error: integer division in a floating-point context
double kV = 12 / 6000;
^
1 error
```
Also adds the compiler plugin as a dependency to the developerRobot
project for dev testing
2026-06-04 21:56:22 -07:00
Sam Carlberg
3eaeac6150
[developerRobot] Add commands v3 ( #8784 )
2026-04-19 15:40:08 -07:00
Thad House
b2b111dc11
Rename FRC to WPILib ( #8637 )
2026-03-13 23:05:55 -07:00
Thad House
af0a3e9c2f
[build] Update to gradle 9.2.0, use new reorged plugins ( #8471 )
2025-12-13 21:44:00 -08:00
Ryan Blue
418b3814bc
Change SystemCore to Systemcore ( #8359 )
2025-11-10 18:18:58 -08:00
Peter Johnson
fc4e922206
Use wpilib.robot instead of frc.robot ( #8345 )
2025-11-08 16:22:34 -08:00
PJ Reiniger
10b4a0c971
SCRIPT fixup project rename
2025-11-07 23:09:21 -08:00
Peter Johnson
8aa312fb6f
Merge branch 'main' into 2027
2025-07-21 18:38:43 -07:00
Joseph Eng
2fc86a155d
[benchmark] Add benchmark subproject ( #8042 )
2025-07-15 21:16:06 -07:00
Thad House
1991af34a5
[hal] Update to new joystick protobuf definitions ( #7991 )
2025-05-31 10:52:27 -07:00
Peter Johnson
01e71e73ce
[build] developerRobot: Fix link order ( #7732 )
...
ntcore now needs to be after hal.
2025-01-24 23:47:09 -08:00
Thad House
666d1638ce
[hal] Digital IO SystemCore implementation ( #7621 )
2025-01-12 16:58:46 -08:00
Peter Johnson
529bab6ca1
Merge branch 'main' into 2027
2024-12-19 20:40:37 -08:00
Jade
156bd71fef
[developerRobot] Workaround Eclipse annotation processor issues ( #7537 )
...
Signed-off-by: Jade Turner <spacey-sooty@proton.me >
2024-12-18 09:46:31 -07:00
Peter Johnson
945d416d07
Merge branch 'main' into 2027
2024-12-14 10:45:32 -08:00
Ryan Blue
e943424609
[build] Update shadow plugin ( #7540 )
2024-12-12 19:19:14 -08:00
Thad House
31d1aa62c1
[hal] Fixes for making PWM drive ( #7528 )
...
* Increase connection timeout, fix ld path, properly initialize smart io.
* Also fix HAL_GetSystemTimeValid, so DataLogManager doesn't throw errors.
2024-12-08 22:08:05 -08:00
Thad House
b6ae9e9cc9
Merge branch 'main' into 2027
2024-12-08 12:04:23 -08:00
Wispy
544553a58f
[developerRobot] Add Epilogue and wpiunits to developerRobot ( #7510 )
2024-12-07 23:00:49 -08:00
Thad House
5058b48dea
[developerRobot] Switch to initial password and host for systemcore ( #7503 )
2024-12-06 23:19:48 -08:00
Thad House
bf653d9895
[hal] Add SystemServer DS support ( #7466 )
2024-12-01 17:05:07 -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
Thad House
917b5dde66
[build] Update Native Utils, remove all rpath tricks ( #6671 )
...
With fixes to Windows and macOS library path handling, all the tricks we used in the past to make library loading work are no longer required.
2024-06-08 09:52:29 -07:00
Tyler Veness
ae655a3a71
Rename myRobot to developerRobot and move docs to subproject ( #6283 )
2024-05-24 10:41:23 -07:00