mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-04 03:11:43 +00:00
[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
This commit is contained in:
@@ -133,10 +133,10 @@ class AddressableLED {
|
||||
* <p>By default, the driver is set up to drive WS2812B and WS2815, so nothing
|
||||
* needs to be set for those.
|
||||
*
|
||||
* @param highTime0 high time for 0 bit (default 400ns)
|
||||
* @param lowTime0 low time for 0 bit (default 900ns)
|
||||
* @param highTime1 high time for 1 bit (default 900ns)
|
||||
* @param lowTime1 low time for 1 bit (default 600ns)
|
||||
* @param highTime0 high time for 0 bit (default 400 ns)
|
||||
* @param lowTime0 low time for 0 bit (default 900 ns)
|
||||
* @param highTime1 high time for 1 bit (default 900 ns)
|
||||
* @param lowTime1 low time for 1 bit (default 600 ns)
|
||||
*/
|
||||
void SetBitTiming(units::nanosecond_t highTime0, units::nanosecond_t lowTime0,
|
||||
units::nanosecond_t highTime1,
|
||||
|
||||
Reference in New Issue
Block a user