Represents a GyroscopeExt.
More...
#include <GyroscopeExt.h>
Represents a GyroscopeExt.
float rec::robotino::api2::GyroscopeExt::angle |
( |
| ) |
const |
Returns the current angle.
- Returns
- The angle in radians.
- Exceptions
-
- See also
- ComObject::setComId
virtual void rec::robotino::api2::GyroscopeExt::gyroscopeExtEvent |
( |
float |
angle, |
|
|
float |
rate |
|
) |
| |
|
virtual |
void rec::robotino::api2::GyroscopeExt::processEvents |
( |
| ) |
|
Call this function from your main thread to get the virtual GyroscopeExt functions called. The virtual functions are called directly by a call of this function
- Exceptions
-
- See also
- Com::processEvents
float rec::robotino::api2::GyroscopeExt::rate |
( |
| ) |
const |
Returns the current rate.
- Returns
- The rotation rate in radians/second.
- Exceptions
-
- See also
- ComObject::setComId
void rec::robotino::api2::GyroscopeExt::setComId |
( |
const ComId & |
id | ) |
|
Sets the associated communication object.
- Parameters
-
id | The id of the associated communication object. |
- Exceptions
-
The documentation for this class was generated from the following file: