|
RSeries astromech firmware
|
|
Go to the documentation of this file. 1 #ifndef DomeDriveSabertooh_h
2 #define DomeDriveSabertooh_h
56 virtual void stop()
override
63 virtual void motor(
float m)
override
65 static bool sLastZero;
66 if (!sLastZero || m != 0)
70 sLastZero = (abs(m) == 0);
virtual void stop() override
Definition: DomeDriveSabertooth.h:56
void motor(int power) const
Definition: SabertoothDriver.h:116
virtual void setup() override
Subclasses must implement this function to perform any necessary setup that cannot happen in the cons...
Definition: DomeDriveSabertooth.h:49
virtual void stop()
Definition: DomeDrive.h:225
void setAddress(byte addr)
Definition: SabertoothDriver.h:59
void setAddress(uint8_t addr)
Definition: DomeDriveSabertooth.h:44
#define VERBOSE_DOME_DEBUG_PRINTLN(s)
Definition: DomeDrive.h:38
void setBaudRate(unsigned baudRate)
Definition: DomeDriveSabertooth.h:39
virtual void motor(float m) override
Definition: DomeDriveSabertooth.h:63
Definition: DomeDriveSabertooth.h:22
void setTimeout(int milliseconds) const
Definition: SabertoothDriver.h:257
DomeDriveSabertooth(int id, Stream &serial, JoystickController &domeStick)
Constructor.
Definition: DomeDriveSabertooth.h:31
void domeStick(JoystickController *stick, float speedModifier)
Definition: DomeDrive.h:370
Definition: JoystickController.h:4
void stop() const
Definition: SabertoothDriver.h:155
void setRamping(byte value) const
Definition: SabertoothDriver.h:244
Definition: SabertoothDriver.h:31
Base template of automatic forwarder from i2c to CommandEvent.
Definition: DomeDrive.h:66
uint16_t fBaudRate
Definition: DomeDriveSabertooth.h:75
#define VERBOSE_DOME_DEBUG_PRINT(s)
Definition: DomeDrive.h:37