rec::robotino::api2 C interface
Gyroscope.h
Go to the documentation of this file.
1 // Copyright (C) 2004-2008, Robotics Equipment Corporation GmbH
2 
3 #ifndef _REC_ROBOTINO_API2_C_Gyroscope_H_
4 #define _REC_ROBOTINO_API2_C_Gyroscope_H_
5 
6 #include "rec/robotino/api2/c/globals.h"
8 
17 typedef int GyroscopeId;
18 
20 #define INVALID_GyroscopeID -1
21 
27 
33 DLLEXPORT BOOL Gyroscope_destroy( GyroscopeId id );
34 
39 DLLEXPORT BOOL Gyroscope_setComId( GyroscopeId id, ComId comId );
40 
46 DLLEXPORT float Gyroscope_angle( GyroscopeId id );
47 
53 DLLEXPORT float Gyroscope_rate( GyroscopeId id );
54 
55 DLLEXPORT int Gyroscope_num_objects( void );
56 
57 #endif //_REC_ROBOTINO_API2_C_Gyroscope_H_
DLLEXPORT GyroscopeId Gyroscope_construct()
int GyroscopeId
Definition: Gyroscope.h:17
DLLEXPORT BOOL Gyroscope_setComId(GyroscopeId id, ComId comId)
In "rec/robotino/api2/c/Com.h" you can find functions for manipulating the communication interface to...
DLLEXPORT BOOL Gyroscope_destroy(GyroscopeId id)
int ComId
Definition: Com.h:50
DLLEXPORT float Gyroscope_angle(GyroscopeId id)
DLLEXPORT float Gyroscope_rate(GyroscopeId id)