|
RSeries astromech firmware
|
|
Go to the documentation of this file. 1 #ifndef TankDriveSabertooh_h
2 #define TankDriveSabertooh_h
44 virtual void stop()
override
51 virtual void motor(
float left,
float right,
float throttle)
override
virtual void setup() override
Subclasses must implement this function to perform any necessary setup that cannot happen in the cons...
Definition: TankDriveSabertooth.h:37
TankDriveSabertooth(int id, HardwareSerial &serial, JoystickController &driveStick)
Constructor.
Definition: TankDriveSabertooth.h:31
Definition: TankDriveSabertooth.h:22
void motor(int power) const
Definition: SabertoothDriver.h:116
void setBaudRate(long baudRate) const
Definition: SabertoothDriver.h:185
void driveStick(JoystickController *stick, float speedModifier)
Definition: TankDrive.h:346
Base template of automatic forwarder from i2c to CommandEvent.
Definition: TankDrive.h:37
#define MOTOR_DEBUG_PRINTLN(s)
Definition: TankDrive.h:17
#define MOTOR_DEBUG_PRINT(s)
Definition: TankDrive.h:16
void setTimeout(int milliseconds) const
Definition: SabertoothDriver.h:257
Definition: JoystickController.h:4
void stop() const
Definition: SabertoothDriver.h:155
void setRamping(byte value) const
Definition: SabertoothDriver.h:244
Definition: SabertoothDriver.h:31
virtual void stop() override
Definition: TankDriveSabertooth.h:44
virtual void motor(float left, float right, float throttle) override
Definition: TankDriveSabertooth.h:51
virtual void stop()
Definition: TankDrive.h:261