|
RobotCore 1.0
WPILib port to raspberry Pi
|
Static Public Member Functions | |
| static< U extends Unit > U | Milli (U baseUnit, String name, String symbol) |
| static< U extends Unit > U | Milli (U baseUnit) |
Contains a set of predefined units.
Definition at line 10 of file Units.java.
|
static |
Creates a unit equal to a thousandth of the base unit, eg Milliseconds = Milli(Units.Seconds).
| <U> | the type of the unit |
| baseUnit | the unit being derived from. This does not have to be the base unit of measure |
Definition at line 604 of file Units.java.
|
static |
Creates a unit equal to a thousandth of the base unit, eg Milliseconds = Milli(Units.Seconds).
| <U> | the type of the unit |
| baseUnit | the unit being derived from. This does not have to be the base unit of measure |
| name | the name of the new derived unit |
| symbol | the symbol of the new derived unit |
Definition at line 592 of file Units.java.
|
static |
The base unit of electrical current.
Definition at line 438 of file Units.java.
|
static |
The base unit of electrical current.
Definition at line 435 of file Units.java.
|
static |
The standard SI unit of temperature, where a value of 0 roughly corresponds to the freezing point of water and a value of 100 corresponds to the boiling point. Electronics tend to exhibit degraded performance or damage above 90 degrees Celsius.
Definition at line 537 of file Units.java.
|
static |
1/100 of a Meter.
Definition at line 46 of file Units.java.
|
static |
1/360 of a turn around a circle, or 1/57.3 Radians.
Definition at line 139 of file Units.java.
|
static |
1/360 of a turn around a circle, or 1/57.3 Radians.
Definition at line 135 of file Units.java.
|
static |
A unit of angular velocity equivalent to spinning at a rate of one Degree per Second.
Definition at line 194 of file Units.java.
|
static |
A unit of angular acceleration equivalent to accelerating at a rate of one Degree per Second every second.
Definition at line 243 of file Units.java.
|
static |
The base imperial (American) unit of temperature, where a value of 32 roughly corresponds to the freezing point of water and a value of 212 corresponds to the boiling point.
Definition at line 544 of file Units.java.
|
static |
|
static |
A unit of linear velocity equivalent to travelling at a rate one Foot per Second.
Definition at line 152 of file Units.java.
|
static |
A unit of linear acceleration equivalent to accelerating at a rate of one Foot per Second every second.
Definition at line 217 of file Units.java.
|
static |
304.8/1000 of a Meter, or 12 Inches.
Definition at line 60 of file Units.java.
1/1000 of a Kilogram.
Definition at line 263 of file Units.java.
1/1000 of a Kilogram.
Definition at line 260 of file Units.java.
|
static |
A unit of acceleration equivalent to the pull of gravity on an object at sea level on Earth.
Definition at line 249 of file Units.java.
|
static |
The standard SI unit of frequency, equivalent to a periodic signal repeating once every Second.
Definition at line 200 of file Units.java.
|
static |
A unit equal to 745.7 Watts. May be useful when dealing with high-power gearboxes and motors.
Definition at line 521 of file Units.java.
|
static |
25.4/1000 of a Meter and 1/12 of a Foot.
Definition at line 53 of file Units.java.
|
static |
|
static |
A unit of linear velocity equivalent to travelling at a rate of one Inch per Second.
Definition at line 158 of file Units.java.
|
static |
A unit of linear acceleration equivalent to accelerating at a rate of one Inch per Second every second.
Definition at line 223 of file Units.java.
|
static |
The base unit of energy.
Definition at line 476 of file Units.java.
|
static |
The base unit of energy.
Definition at line 473 of file Units.java.
|
static |
The base unit of temperature, where a value of 0 corresponds with absolutely zero energy in the measured system. Not particularly useful for robots unless you're cooling motors with liquid helium.
Definition at line 530 of file Units.java.
The standard SI unit of mass.
Definition at line 257 of file Units.java.
|
static |
The standard SI unit for linear momentum, equivalent to a one Kilogram mass moving at one MetersPerSecond.
Definition at line 382 of file Units.java.
|
static |
The standard SI unit for angular momentum, equivalent to a rotating object with a linear momentum of one KilogramMetersPerSecond one Meter away from its center of mass.
Definition at line 394 of file Units.java.
|
static |
The standard SI unit of mass.
Definition at line 254 of file Units.java.
|
static |
The standard SI unit for moment of inertia.
Definition at line 407 of file Units.java.
|
static |
A unit equal to 1,000 Joules. Useful when dealing with higher-level robot energy usage.
Definition at line 498 of file Units.java.
|
static |
A unit equal to 1,000 Joules. Useful when dealing with higher-level robot energy usage.
Definition at line 492 of file Units.java.
|
static |
A unit equal to 1,000 Ohms.
Definition at line 463 of file Units.java.
|
static |
A unit equal to 1,000 Ohms.
Definition at line 460 of file Units.java.
|
static |
The base unit of distance.
Definition at line 33 of file Units.java.
|
static |
The base unit of distance.
Definition at line 30 of file Units.java.
|
static |
The standard SI unit of linear velocity, equivalent to travelling at a rate of one Meter per Second.
Definition at line 146 of file Units.java.
|
static |
The standard SI unit of linear acceleration, equivalent to accelerating at a rate of one Meter per Second every second.
Definition at line 211 of file Units.java.
|
static |
Alias for Microseconds to make combined unit definitions read more smoothly.
Definition at line 79 of file Units.java.
1/1,000,000 of a Second.
Definition at line 76 of file Units.java.
|
static |
A unit equal to 1/1000 of an Amp. Useful when dealing with low-current applications like LED drivers or low-power circuits.
Definition at line 450 of file Units.java.
|
static |
A unit equal to 1/1000 of an Amp. Useful when dealing with low-current applications like LED drivers or low-power circuits.
Definition at line 444 of file Units.java.
|
static |
1/1000th of a Hertz.
Definition at line 204 of file Units.java.
|
static |
A unit equal to 1/1000 of a Joule. Useful when dealing with lower-power applications.
Definition at line 486 of file Units.java.
|
static |
A unit equal to 1/1000 of a Joule. Useful when dealing with lower-power applications.
Definition at line 481 of file Units.java.
|
static |
1/1000 of a Meter.
Definition at line 39 of file Units.java.
|
static |
1/1000 of a Meter.
Definition at line 36 of file Units.java.
|
static |
A unit equal to 1/1000 of a Ohm.
Definition at line 469 of file Units.java.
|
static |
A unit equal to 1/1000 of a Ohm.
Definition at line 466 of file Units.java.
|
static |
Alias for Milliseconds to make combined unit definitions read more smoothly.
Definition at line 73 of file Units.java.
1/1000 of a Second.
Definition at line 70 of file Units.java.
|
static |
1/1000 of a Volt. Useful when dealing with low-voltage applications like LED drivers or low-power circuits.
Definition at line 431 of file Units.java.
|
static |
1/1000 of a Volt. Useful when dealing with low-voltage applications like LED drivers or low-power circuits.
Definition at line 425 of file Units.java.
|
static |
A unit equal to 1/1000 of a Watt. Useful when dealing with lower-power applications.
Definition at line 515 of file Units.java.
A unit equal to 1/1000 of a Watt. Useful when dealing with lower-power applications.
Definition at line 510 of file Units.java.
Alias for Minutes to make combined unit definitions read more smoothly.
Definition at line 93 of file Units.java.
|
static |
|
static |
Alias for Nanoseconds to make combined unit definitions read more smoothly.
Definition at line 86 of file Units.java.
|
static |
The standard unit of force, equivalent to the standard force of gravity applied to a one Kilogram mass.
Definition at line 304 of file Units.java.
|
static |
The standard SI unit for torque.
Definition at line 338 of file Units.java.
|
static |
The standard SI unit for torque.
Definition at line 335 of file Units.java.
|
static |
The standard unit of force, equivalent to accelerating a mass of one Kilogram at a rate of one meter per second per second.
Definition at line 297 of file Units.java.
|
static |
The base unit of resistance. Equivalent to one Volt per Amp.
Definition at line 457 of file Units.java.
|
static |
The base unit of resistance. Equivalent to one Volt per Amp.
Definition at line 454 of file Units.java.
1/16 of a Pound.
Definition at line 289 of file Units.java.
|
static |
1/16th of PoundsForce, equivalent to the standard force of gravity applied to a one Ounce mass.
Definition at line 330 of file Units.java.
|
static |
The equivalent of one ounce of force applied to an object one Inch away from its center of rotation.
Definition at line 374 of file Units.java.
|
static |
The equivalent of one ounce of force applied to an object one Inch away from its center of rotation.
Definition at line 368 of file Units.java.
|
static |
|
static |
1/16th of PoundsForce, equivalent to the standard force of gravity applied to a one Ounce mass.
Definition at line 323 of file Units.java.
|
static |
A dimensionless unit equal to to 1/100th of a Value. A measurement of would be equivalent to
Percent.of(42)Value.of(0.42).
Definition at line 25 of file Units.java.
A unit of mass equivalent to approximately 453 Grams. This is not equivalent to pounds-force, which is the amount of force required to accelerate an object with one pound of mass at a rate of one G.
Definition at line 282 of file Units.java.
|
static |
The equivalent of one pound of force applied to an object one Foot away from its center of rotation.
Definition at line 344 of file Units.java.
|
static |
The equivalent of one pound of force applied to an object one Foot away from its center of rotation.
Definition at line 350 of file Units.java.
|
static |
The standard Imperial unit of force, equivalent to the standard force of gravity applied to a one Pound mass.
Definition at line 317 of file Units.java.
|
static |
The equivalent of one pound of force applied to an object one Inch away from its center of rotation.
Definition at line 362 of file Units.java.
|
static |
The equivalent of one pound of force applied to an object one Inch away from its center of rotation.
Definition at line 356 of file Units.java.
|
static |
The equivalent of a one Pound mass moving at one InchesPerSecond.
Definition at line 385 of file Units.java.
|
static |
The angular momentum of an object with a linear momentum of one PoundInchesPerSecond one Inch away from its center of mass.
Definition at line 401 of file Units.java.
|
static |
A unit of mass equivalent to approximately 453 Grams. This is not equivalent to pounds-force, which is the amount of force required to accelerate an object with one pound of mass at a rate of one G.
Definition at line 272 of file Units.java.
|
static |
The standard Imperial unit of force, equivalent to the standard force of gravity applied to a one Pound mass.
Definition at line 310 of file Units.java.
|
static |
A common imperial unit for moment of inertia.
Definition at line 411 of file Units.java.
The standard SI unit of angle, represented by the distance that the radius of a unit circle can wrap around its circumference.
Definition at line 106 of file Units.java.
|
static |
The standard SI unit of angle, represented by the distance that the radius of a unit circle can wrap around its circumference.
Definition at line 100 of file Units.java.
|
static |
The standard SI unit of angular velocity, equivalent to spinning at a rate of one Radian per Second.
Definition at line 188 of file Units.java.
|
static |
The standard SI unit of angular acceleration, equivalent to accelerating at a rate of one Radian per Second every second.
Definition at line 236 of file Units.java.
|
static |
A single turn of an object around an external axis. Numerically equivalent to a Rotation, but may be semantically more expressive in certain scenarios.
Definition at line 119 of file Units.java.
|
static |
A single turn of an object around an external axis. Numerically equivalent to Rotations, but may be semantically more expressive in certain scenarios.
Definition at line 112 of file Units.java.
|
static |
A unit of angular velocity equivalent to spinning at a rate of one Revolution per Second.
Definition at line 164 of file Units.java.
A single turn of an object around an internal axis. Numerically equivalent to a Revolution, but may be semantically more expressive in certain scenarios.
Definition at line 132 of file Units.java.
|
static |
A single turn of an object around an internal axis. Numerically equivalent to Revolutions, but may be semantically more expressive in certain scenarios.
Definition at line 125 of file Units.java.
|
static |
A unit of angular velocity equivalent to spinning at a rate of one Rotation per Minute. Motor spec sheets often list maximum velocities in terms of RPM.
Definition at line 176 of file Units.java.
|
static |
A unit of angular velocity equivalent to spinning at a rate of one Rotation per Second.
Definition at line 170 of file Units.java.
|
static |
A unit of angular acceleration equivalent to accelerating at a rate of one Rotation per Second every second.
Definition at line 229 of file Units.java.
|
static |
A unit of angular velocity equivalent to spinning at a rate of one Rotation per Minute. Motor spec sheets often list maximum speeds in terms of RPM.
Definition at line 182 of file Units.java.
Alias for Seconds to make combined unit definitions read more smoothly.
Definition at line 67 of file Units.java.
|
static |
The base unit of time.
Definition at line 64 of file Units.java.
|
static |
A dimensionless unit that performs no scaling whatsoever.
Definition at line 19 of file Units.java.
|
static |
The base unit of electric potential.
Definition at line 419 of file Units.java.
|
static |
The base unit of electric potential.
Definition at line 416 of file Units.java.
|
static |
A standard unit for measuring linear mechanisms' feedforward voltages based on a model of the system and a desired commanded linear velocity.
Definition at line 558 of file Units.java.
|
static |
A standard unit for measuring linear mechanisms' feedforward voltages based on a model of the system and a desired commanded linear acceleration.
Definition at line 565 of file Units.java.
|
static |
A standard unit for measuring angular mechanisms' feedforward voltages based on a model of the system and a desired commanded angular velocity.
Definition at line 572 of file Units.java.
|
static |
A standard unit for measuring angular mechanisms' feedforward voltages based on a model of the system and a desired commanded angular acceleration.
Definition at line 579 of file Units.java.
The base unit of power. Equivalent to one Joule per Second.
Definition at line 505 of file Units.java.
|
static |
The base unit of power. Equivalent to one Joule per Second.
Definition at line 502 of file Units.java.