53 #include <sys/types.h> 57 #include "rnr/rnrconfig.h" 216 virtual int open(
int pinGpio);
232 return m_fdGpio >= 0;
247 virtual void select(
int fd, byte_t addrSel);
256 #endif // _LAE_MOTOR_H static const int LaeMotorIdRR
right rear
static const double LaeMotorRatedMaxRpm
max output shaft rpm
static const int LaeQuadPulsesPerRev
pulses/motor revolution
static const double LaeMotorMaxAmps
max amp limit/motor
static const int LaeMotorCtlrIdRear
rear motor controller
static const int LaeMotorWarnVoltage
under/over voltage
static const int LaeMotorDirNormal
normal
static const double LaeMotorMaxAmps_2_0
max amp limit/motor
static const int LaeMotorsNumOf
number of motors
static const int LaeMotorIdNone
no motor id
static const char *const LaeKeyLeftRear
left rear
RoboClaw motor controller chip select class.
static const char *const LaeKeyRightFront
right front
RoboClaw motor controller class interface.
static const char *const LaeKeyRear
rear
static const char *const LaeKeyFront
front
static const int LaeMotorAlarmEStop
emergency stopped
static const int LaeMotorLeft
left motors
virtual void select(int fd, byte_t addrSel)
Motor controller select function.
static const double LaeMotorStallTorque
stall torque (N-m) @5A
static const int LaeMotorIdRF
right front
static const int LaeMotorIdLR
left rear
RoboClaw motor controller chip select class.
static const char *const LaeKeyRightRear
right rear
virtual int close()
Close GPIO pin interface.
The <b><i>Laelaps</i></b> namespace encapsulates all <b><i>Laelaps</i></b> related constructs...
static const byte_t LaeMotorCtlrAddrRear
rear motor controller address
static const int LaeMotorDirReverse
reverse
static const int LaeMotorAlarmCurrent
under/over current
static const byte_t LaeMotorCtlrAddrFront
front motor controller address
static const byte_t LaeMotorCtlrCsHigh
motor controller address associated with high signal
static const int LaeMotorIdLF
left front
static const int LaeMotorWarnNone
no warnings
static const double LaeMotorRatedAmps
motor rated max amps.
static const int LaeMotorCtlrIdNone
no motor controller id
static const double LaeMotorGearRatio
gear ratio
virtual ~LaeMotorCtlrChipSelect()
Destructor.
static const int LaeNumMotorCtlrs
number of motor controllers
static const int LaeMotorAlarmTemp
over temperature
LaeMotorCtlrChipSelect()
Default constructor.
static const int LaeMotorAlarmNone
no alarms
static const int LaeMotorCtlrIdFront
front motor controller
static const int LaeMotorRight
right motors
virtual int open(int pinGpio)
Open GPIO pin interface.
static const int LaeMotorAlarmVoltage
under/over voltage
virtual bool isOpen()
Test if connection is open.
static const double LaeMotorMaxAmps_2_1
max amp limit/motor
static const char *const LaeKeyLeftFront
left front
static const byte_t LaeMotorCtlrCsLow
motor controller address associated with low signal
static const int LaeNumMotorsPerCtlr
number of motors/controller
static const int LaeMotorWarnCurrent
over current
static const int LaeMotorWarnTemp
over temperature
Top-level package include file.
static const int LaeMotorAlarmFault
motor drive fault