MRMS
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
MotorGroup Class Reference
Inheritance diagram for MotorGroup:
MotorGroupDifferential MotorGroupStar

Public Member Functions

 MotorGroup (Robot *robot)
 
void stop ()
 

Protected Member Functions

float angleNormalized (float angle)
 

Protected Attributes

MotorBoardmotorBoard [MAX_MOTORS_IN_GROUP] = { NULL, NULL, NULL, NULL }
 
uint8_t motorNumber [MAX_MOTORS_IN_GROUP]
 
RobotrobotContainer
 

Member Function Documentation

◆ angleNormalized()

float MotorGroup::angleNormalized ( float  angle)
protected

Angle between -180 and 180 degrees

Returns
- angle

◆ stop()

void MotorGroup::stop ( )

Stop motors


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