9 #ifndef SRC_MECANUMDRIVE_H_
10 #define SRC_MECANUMDRIVE_H_
virtual void SetSmoothAccel(bool enable)
Joystick * m_DriveStick
joystick controller
bool isGyroEnabled() const
void setGyroEnabled(bool gyroEnabled)
SmoothAxis * m_ValueX
left/right speed [-1.0..1.0]
bool isSmoothAccel() const
SmoothAxis * m_ValueRotate
Rate of rotation [-1.0..1.0].
bool m_SmoothAccel
State of smooth acceleration capability.
float m_gyroAngle
Gyroscope angle measurement.
Header file for Robot Component base class.
Gyro * m_Gyro
Gyroscope instance to measure robot's heading.
SmoothAxis * m_ValueY
fwd/bkwd speed, inverted [-1.0..1.0]
virtual void ComponentInit()
JoystickButton * m_GyroButton
Button to dis/enable gyro.
bool m_gyroEnabled
Gyroscope enablement.
void setSmoothAccel(bool smoothAccel)
Header file of helper class for Drive RobotComponents.
Header file for Robot Controller / Joystick mapping.
bool m_GyroButtonIsPressed
Button state.
RobotDrive * m_Drive
drive instance