rec::robotino::api2 C interface
Odometry.h
Go to the documentation of this file.
1 // Copyright (C) 2004-2008, Robotics Equipment Corporation GmbH
2 
3 #ifndef _REC_ROBOTINO_API2_C_ODOMETRY_H_
4 #define _REC_ROBOTINO_API2_C_ODOMETRY_H_
5 
6 #include "rec/robotino/api2/c/globals.h"
8 
20 typedef int OdometryId;
21 
23 #define INVALID_ODOMETRYID -1
24 
29 DLLEXPORT OdometryId Odometry_construct();
30 
36 DLLEXPORT BOOL Odometry_destroy( OdometryId id );
37 
42 DLLEXPORT BOOL Odometry_setComId( OdometryId id, ComId comId );
43 
44 DLLEXPORT BOOL Odometry_readings(OdometryId id, double* x, double* y, double* phi, unsigned int* sequence);
45 
50 DLLEXPORT float Odometry_x( OdometryId id );
51 
56 DLLEXPORT float Odometry_y( OdometryId id );
57 
62 DLLEXPORT float Odometry_phi( OdometryId id );
63 
72 DLLEXPORT BOOL Odometry_set( OdometryId id, float x, float y, float phi );
73 
74 #endif //_REC_ROBOTINO_API2_C_ODOMETRY_H_
DLLEXPORT float Odometry_phi(OdometryId id)
DLLEXPORT float Odometry_y(OdometryId id)
DLLEXPORT BOOL Odometry_destroy(OdometryId id)
DLLEXPORT float Odometry_x(OdometryId id)
DLLEXPORT BOOL Odometry_setComId(OdometryId id, ComId comId)
In "rec/robotino/api2/c/Com.h" you can find functions for manipulating the communication interface to...
DLLEXPORT BOOL Odometry_set(OdometryId id, float x, float y, float phi)
int OdometryId
Definition: Odometry.h:20
DLLEXPORT OdometryId Odometry_construct()
int ComId
Definition: Com.h:50