Class GyroHandle

Inheritance Relationships

Base Type

Class Documentation

class GyroHandle : public robot_controllers_interface::Handle

Base class for a gyro handle used to provide controller direct access to gyro data though controller interface.

Public Functions

inline GyroHandle()
inline virtual ~GyroHandle()

Ensure proper cleanup with virtual destructor.

virtual std::string getType() = 0

Get the type of this gyro.

virtual std::string getName() = 0

Get the name of this gyro.

virtual bool isValid() = 0

Get if the data from the Gyro is currently valid.

virtual double getAngularVelocityX() = 0

Get the angular velocity in X direction.

virtual double getAngularVelocityY() = 0

Get the angular velocity in Y direction.

virtual double getAngularVelocityZ() = 0

Get the angular velocity in Z direction.