|
LightLib
PROS library for VEX V5: EKF/MCL localization, RAMSETE path following, high-level chassis API
|
A simple structure representing the full ratio between motor and wheel. More...
#include <abstractMotor.hpp>
Public Member Functions | |
| GearsetRatioPair (const gearset igearset, const double iratio=1) | |
| A simple structure representing the full ratio between motor and wheel. | |
| ~GearsetRatioPair ()=default | |
Public Attributes | |
| gearset | internalGearset |
| double | ratio = 1 |
A simple structure representing the full ratio between motor and wheel.
Definition at line 48 of file abstractMotor.hpp.
|
inline |
A simple structure representing the full ratio between motor and wheel.
The ratio is motor rotation : wheel rotation, e.x., if one motor rotation corresponds to two wheel rotations, the ratio is 1.0/2.0.
| igearset | The gearset in the motor. |
| iratio | The ratio of motor rotation to wheel rotation. |
Definition at line 58 of file abstractMotor.hpp.
|
default |
| gearset okapi::AbstractMotor::GearsetRatioPair::internalGearset |
Definition at line 64 of file abstractMotor.hpp.
| double okapi::AbstractMotor::GearsetRatioPair::ratio = 1 |
Definition at line 65 of file abstractMotor.hpp.