28 bool ireverse =
false,
45 ADIMotor(std::pair<std::uint8_t, std::uint8_t> iports,
46 bool ireverse =
false,
PROS API header provides high-level user functionality.
ADIMotor(std::uint8_t iport, bool ireverse=false, const std::shared_ptr< Logger > &logger=Logger::getDefaultLogger())
A motor in an ADI port.
virtual void moveVoltage(std::int8_t ivoltage) const
Set the voltage to the motor.
ADIMotor(std::pair< std::uint8_t, std::uint8_t > iports, bool ireverse=false, const std::shared_ptr< Logger > &logger=Logger::getDefaultLogger())
A motor in an ADI port.
void controllerSet(double ivalue) override
Writes the value of the controller output.
static std::shared_ptr< Logger > getDefaultLogger()