|
RobotCore 1.0
WPILib port to raspberry Pi
|
Public Member Functions | |
| PowerUnit | getBaseUnit () |
| Power | of (double magnitude) |
| Power | ofBaseUnits (double baseUnitMagnitude) |
| Power | zero () |
| Power | one () |
| VelocityUnit< PowerUnit > | per (TimeUnit time) |
| double | convertFrom (double magnitude, PowerUnit otherUnit) |
| Public Member Functions inherited from org.wpilib.units.PerUnit< EnergyUnit, 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 PowerUnit | combine (EnergyUnit energy, TimeUnit period) |
| static PowerUnit | combine (VoltageUnit voltage, CurrentUnit current) |
| static PowerUnit | combine (CurrentUnit current, VoltageUnit voltage) |
| static PowerUnit | combine (AngularVelocityUnit angularVelocity, TorqueUnit torque) |
| static PowerUnit | combine (TorqueUnit torque, AngularVelocityUnit angularVelocity) |
| Static Public Member Functions inherited from org.wpilib.units.PerUnit< EnergyUnit, TimeUnit > | |
| static< N extends Unit, D extends Unit > PerUnit< N, D > | combine (N numerator, D denominator) |
Unit of power dimension.
This is the base type for units of power dimension. It is also used to specify the dimension for Measure: Measure<PowerUnit>.
Actual units (such as Units#Watts and Units#Horsepower) can be found in the Units class.
Definition at line 21 of file PowerUnit.java.
|
static |
Combines angular velocity and torque into power. Useful when dealing with motors and flywheels.
| angularVelocity | the unit of angular velocity |
| torque | the unit of torque |
Definition at line 89 of file PowerUnit.java.
|
static |
Combines voltage and current into power.
| current | the unit of current |
| voltage | the unit of voltage |
Definition at line 78 of file PowerUnit.java.
|
static |
Combines an energy and a time unit to form a unit of power.
| energy | the unit of energy |
| period | the unit of time |
Definition at line 50 of file PowerUnit.java.
|
static |
Combines angular velocity and torque into power. Useful when dealing with motors and flywheels.
| torque | the unit of torque |
| angularVelocity | the unit of angular velocity |
Definition at line 102 of file PowerUnit.java.
|
static |
Combines voltage and current into power.
| voltage | the unit of voltage |
| current | the unit of current |
Definition at line 61 of file PowerUnit.java.
| double org.wpilib.units.PowerUnit.convertFrom | ( | double | magnitude, |
| PowerUnit | 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 154 of file PowerUnit.java.
| PowerUnit org.wpilib.units.PowerUnit.getBaseUnit | ( | ) |
Definition at line 107 of file PowerUnit.java.
| Power org.wpilib.units.PowerUnit.of | ( | double | magnitude | ) |
Definition at line 112 of file PowerUnit.java.
| Power org.wpilib.units.PowerUnit.ofBaseUnits | ( | double | baseUnitMagnitude | ) |
Definition at line 117 of file PowerUnit.java.
| Power org.wpilib.units.PowerUnit.one | ( | ) |
Definition at line 127 of file PowerUnit.java.
| VelocityUnit< PowerUnit > org.wpilib.units.PowerUnit.per | ( | TimeUnit | time | ) |
Definition at line 132 of file PowerUnit.java.
| Power org.wpilib.units.PowerUnit.zero | ( | ) |
Definition at line 122 of file PowerUnit.java.