|
RSeries astromech firmware
|
|
Go to the documentation of this file. 1 #ifndef TankDriveSerial_h
2 #define TankDriveSerial_h
41 virtual void stop()
override
56 virtual void motor(
float left,
float right,
float throttle)
override
bool fStopped
Definition: TankDriveSerial.h:54
Stream * fSerial
Definition: TankDriveSerial.h:53
virtual void stop() override
Definition: TankDriveSerial.h:41
virtual void motor(float left, float right, float throttle) override
Definition: TankDriveSerial.h:56
Base template of automatic forwarder from i2c to CommandEvent.
Definition: TankDriveSerial.h:22
void driveStick(JoystickController *stick, float speedModifier)
Definition: TankDrive.h:346
void setMaxSpeed(float modifier)
Definition: TankDrive.h:137
Base template of automatic forwarder from i2c to CommandEvent.
Definition: TankDrive.h:37
TankDriveSerial(Stream &stream, JoystickController &driveStick)
Constructor.
Definition: TankDriveSerial.h:29
Definition: JoystickController.h:4
void printNumZeroPad(unsigned num)
Definition: TankDriveSerial.h:71
virtual void setup() override
Subclasses must implement this function to perform any necessary setup that cannot happen in the cons...
Definition: TankDriveSerial.h:37
virtual void stop()
Definition: TankDrive.h:261