|
YAMS
Yet Another Mechanism System
|
#include <SmartMath.hpp>
Public Member Functions | |
| SmartMath ()=delete | |
Static Public Member Functions | |
| static double | SensorToMechanismRatio (std::initializer_list< double > stages) |
| static double | GearBox (std::initializer_list< double > stages) |
Utility class providing static helper methods for gearing calculations.
Cannot be instantiated.
|
delete |
|
static |
Compute the overall gear reduction ratio from a list of reduction stages.
Equivalent to SensorToMechanismRatio but named explicitly for gearbox calculations.
| stages | Reduction stages. |
|
static |
Compute the sensor-to-mechanism ratio from a list of reduction stages.
Each stage value is > 0, where a value greater than 1 indicates a speed reduction.
| stages | Reduction stages (e.g. {10.0, 2.0} for a 20:1 total reduction). |