|
RobotCore 1.0
WPILib port to raspberry Pi
|
Public Member Functions | |
| ResistanceUnit | getBaseUnit () |
| Resistance | of (double magnitude) |
| Resistance | ofBaseUnits (double baseUnitMagnitude) |
| Resistance | zero () |
| Resistance | one () |
| double | convertFrom (double magnitude, ResistanceUnit otherUnit) |
| Public Member Functions inherited from org.wpilib.units.PerUnit< VoltageUnit, CurrentUnit > | |
| 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 ResistanceUnit | combine (VoltageUnit voltage, CurrentUnit current) |
| Static Public Member Functions inherited from org.wpilib.units.PerUnit< VoltageUnit, CurrentUnit > | |
| static< N extends Unit, D extends Unit > PerUnit< N, D > | combine (N numerator, D denominator) |
Unit of resistance dimension.
This is the base type for units of resistance dimension. It is also used to specify the dimension for Measure: Measure<ResistanceUnit>.
Actual units (such as Units#Ohms and Units#KiloOhms) can be found in the Units class.
Definition at line 18 of file ResistanceUnit.java.
|
static |
Combines an voltage and a current unit to form a unit of resistance.
| voltage | the unit of voltage |
| current | the unit of current |
Definition at line 47 of file ResistanceUnit.java.
| double org.wpilib.units.ResistanceUnit.convertFrom | ( | double | magnitude, |
| ResistanceUnit | otherUnit ) |
Converts a measurement value in terms of another power unit to this unit.
| magnitude | the magnitude of the measurement in terms of the other power unit |
| otherUnit | the other power unit |
Definition at line 94 of file ResistanceUnit.java.
| ResistanceUnit org.wpilib.units.ResistanceUnit.getBaseUnit | ( | ) |
Definition at line 52 of file ResistanceUnit.java.
| Resistance org.wpilib.units.ResistanceUnit.of | ( | double | magnitude | ) |
Definition at line 57 of file ResistanceUnit.java.
| Resistance org.wpilib.units.ResistanceUnit.ofBaseUnits | ( | double | baseUnitMagnitude | ) |
Definition at line 62 of file ResistanceUnit.java.
| Resistance org.wpilib.units.ResistanceUnit.one | ( | ) |
Definition at line 72 of file ResistanceUnit.java.
| Resistance org.wpilib.units.ResistanceUnit.zero | ( | ) |
Definition at line 67 of file ResistanceUnit.java.