Midnight Veil
Midnight Veil
I would also suggest adding [FLAG_SECURE](https://developer.android.com/reference/android/view/Display#FLAG_SECURE) as this prevents the contents of the app from appearing in the Android task switcher. There are also the [inbuilt android controls](https://developer.android.com/develop/ui/views/notifications/build-notification#lockscreenNotification) over notification...
- [ ] I noticed that C++ has `SetOffline()` which calls `Set(0)`, but Java does not have this. Should this be removed? > WPILib is typically limited to devices that...
Questions: - [x] Should it be `getAngleRads()` or `getAngleRadians()` (same for function arguments). It doesn't seem to be consistent across other classes. - [x] How would I go about implementing...
> You could make a Stroke namespace with predefined constexpr units::meter_t stroke lengths in it. That lets the user pass a units::meter_t with a custom length too. The point here...
> In that case, you could take an enum class and use a lambda to return the associated length in the initializer list. Both a switch & if-else complain about...
Just bumping this: > I noticed that C++ has `SetOffline()` which calls `SetRaw(0)`, but Java does not have this. Should this be removed or added?
I'm not sure. Probably it would be deprecated but I'm not sure how that works with release cycles (it's probably very much the wrong time now to do so) but...
The current Servo class assumes all servos are the Hi-Tec HS-322HD. This means: - PWM timings default to its settings - Angle range is hard coded to [0, 180] -...
Probably should have thought of this earlier, but would it make more sense to have PWM as a member, rather than as a base class? (This is closer to how...
Is there a good way to test that it is possible for user-code to derive from the base classes?