Fang-Robotics-MCB
Fang Robotics Team Codebase
Loading...
Searching...
No Matches
tap::motor::M3508Constants Class Reference

#include <m3508_constants.hpp>

Inheritance diagram for tap::motor::M3508Constants:
Collaboration diagram for tap::motor::M3508Constants:

Public Member Functions

float convertOutputToCurrent (float output) const override
 
float getTorqueConstant () const override
 

Member Function Documentation

◆ convertOutputToCurrent()

float tap::motor::M3508Constants::convertOutputToCurrent ( float  output) const
inlineoverridevirtual

According to the C620 documentation, the current output range is [-16384, 16384] scaled to [-20, 20] amps.

Implements tap::motor::MotorConstants.

◆ getTorqueConstant()

float tap::motor::M3508Constants::getTorqueConstant ( ) const
inlineoverridevirtual
Returns
The motor torque constant, in N * m.

Implements tap::motor::MotorConstants.


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