Fang-Robotics-MCB
Fang Robotics Team Codebase
Loading...
Searching...
No Matches
fang::motor::RepeatUltraMk2::Config Struct Reference

#include <repeat_ultra_mk2.hpp>

Collaboration diagram for fang::motor::RepeatUltraMk2::Config:

Public Attributes

Volts controllerInputVoltage
 
trap::gpio::PwmData pwmData
 
bool inverted
 
double gearRatio
 
double rampSpeed
 

Detailed Description

Parameters
controllerInputVoltage- the nominal voltage supplied to the motor controller. It doesn't have to be too precise.
pwmData- the frequency and port information
inverted- whether or not to make clockwise counter-clockwise etc. In fang-mcb and the electronics department, counterclockwise is positive.
gearRatio- how many motor turns per shaft turn. This means that a ratio greater than 1 will make the output speed slower but stronger.
rampSpeed- how RPM per second (this is dimensionally stripped for simplicity reasons)

Member Data Documentation

◆ controllerInputVoltage

Volts fang::motor::RepeatUltraMk2::Config::controllerInputVoltage

◆ gearRatio

double fang::motor::RepeatUltraMk2::Config::gearRatio

◆ inverted

bool fang::motor::RepeatUltraMk2::Config::inverted

◆ pwmData

trap::gpio::PwmData fang::motor::RepeatUltraMk2::Config::pwmData

◆ rampSpeed

double fang::motor::RepeatUltraMk2::Config::rampSpeed

The documentation for this struct was generated from the following file: