|
RobotCore 1.0
WPILib port to raspberry Pi
|
Public Member Functions | |
| Acceleration< D > | of (double magnitude) |
| Acceleration< D > | ofBaseUnits (double baseUnitMagnitude) |
| Acceleration< D > | zero () |
| Acceleration< D > | one () |
| VelocityUnit< AccelerationUnit< D > > | per (TimeUnit time) |
| double | convertFrom (double magnitude, AccelerationUnit< D > otherUnit) |
| Public Member Functions inherited from org.wpilib.units.PerUnit< VelocityUnit< D >, TimeUnit > | |
| PerUnit< N, D > | getBaseUnit () |
| N | numerator () |
| D | denominator () |
| PerUnit< D, N > | reciprocal () |
| N | mult (D denom) |
| Measure<? extends PerUnit< N, D > > | of (double magnitude) |
| Measure<? extends PerUnit< N, D > > | ofBaseUnits (double baseUnitMagnitude) |
| final Per< N, D > | ofNative (double magnitude) |
| final Per< N, D > | ofNativeBaseUnits (double baseUnitMagnitude) |
| Measure<? extends PerUnit< N, D > > | zero () |
| Measure<? extends PerUnit< N, D > > | one () |
| Unit | per (TimeUnit time) |
| double | convertFrom (double magnitude, PerUnit<? extends N, ? extends D > otherUnit) |
| boolean | equals (Object o) |
| int | hashCode () |
Static Public Member Functions | |
| static< D extends Unit > AccelerationUnit< D > | combine (VelocityUnit< D > velocity, TimeUnit period) |
| Static Public Member Functions inherited from org.wpilib.units.PerUnit< VelocityUnit< D >, TimeUnit > | |
| static< N extends Unit, D extends Unit > PerUnit< N, D > | combine (N numerator, D denominator) |
A generic unit of acceleration.
NOTE: This type is not compatible with unit-specific accelerations like org.wpilib.units.measure.LinearAcceleration. Authors of APIs that need to interact with all types should consider using a generic Measure<? extends PerUnit<? extends. Bounded wildcards are necessary in order to interoperate with any subclass of the
PerUnit<[dimension>], TimeUnit>, TimeUnit>org.wpilib.units.measure.Per measurement type.
| <D> | the unit of the accelerating quantity |
Definition at line 21 of file AccelerationUnit.java.
|
static |
Combines a generic velocity and time period into a unit of acceleration.
| velocity | the unit of velocity |
| period | the unit of the time period of acceleration |
| <D> | the unit of the accelerating quantity |
Definition at line 102 of file AccelerationUnit.java.
| double org.wpilib.units.AccelerationUnit< D extends Unit >.convertFrom | ( | double | magnitude, |
| AccelerationUnit< D > | otherUnit ) |
Converts a measurement value in terms of another time unit to this unit.
| magnitude | the magnitude of the measurement in terms of the other time unit |
| otherUnit | the other time unit |
Definition at line 89 of file AccelerationUnit.java.
| Acceleration< D > org.wpilib.units.AccelerationUnit< D extends Unit >.of | ( | double | magnitude | ) |
Definition at line 45 of file AccelerationUnit.java.
| Acceleration< D > org.wpilib.units.AccelerationUnit< D extends Unit >.ofBaseUnits | ( | double | baseUnitMagnitude | ) |
Definition at line 50 of file AccelerationUnit.java.
| Acceleration< D > org.wpilib.units.AccelerationUnit< D extends Unit >.one | ( | ) |
Definition at line 62 of file AccelerationUnit.java.
| VelocityUnit< AccelerationUnit< D > > org.wpilib.units.AccelerationUnit< D extends Unit >.per | ( | TimeUnit | time | ) |
Definition at line 67 of file AccelerationUnit.java.
| Acceleration< D > org.wpilib.units.AccelerationUnit< D extends Unit >.zero | ( | ) |
Definition at line 56 of file AccelerationUnit.java.