6#include <initializer_list>
33 explicit GearBox(std::initializer_list<double> reductionStages);
40 explicit GearBox(
const std::vector<double>& reductionStages);
47 explicit GearBox(
const std::vector<std::string>& stages);
106 std::vector<double> m_reductionStages;
107 double m_gearReductionRatio{1.0};
109 void SetupGearBox(
const std::vector<double>& stages);
Definition GearBox.hpp:19
double GetOutputToInputConversionFactor() const
GearBox(double reductionStage)
GearBox(std::initializer_list< double > reductionStages)
static GearBox FromTeeth(std::initializer_list< int > teeth)
static GearBox FromStages(std::initializer_list< std::string_view > stages)
static GearBox FromReductionStages(std::initializer_list< double > stages)
GearBox(const std::vector< double > &reductionStages)
GearBox(const std::vector< std::string > &stages)
double GetInputToOutputConversionFactor() const
GearBox & Times(double x)
Definition GearBox.hpp:11