rec::robotino::api2 C interface
NorthStar.h
Go to the documentation of this file.
1 // Copyright (C) 2004-2008, Robotics Equipment Corporation GmbH
2 
3 #ifndef _REC_ROBOTINO_API2_C_NORTHSTAR_H_
4 #define _REC_ROBOTINO_API2_C_NORTHSTAR_H_
5 
6 #include "rec/robotino/api2/c/globals.h"
8 
16 typedef int NorthStarId;
17 
19 #define INVALID_NORTHSTARID -1
20 
26 
32 DLLEXPORT BOOL NorthStar_destroy( NorthStarId id );
33 
38 DLLEXPORT BOOL NorthStar_setComId( NorthStarId id, ComId comId );
39 
44 DLLEXPORT unsigned int NorthStar_sequenceNo( NorthStarId id );
45 
50 DLLEXPORT int NorthStar_roomId( NorthStarId id );
51 
56 DLLEXPORT unsigned int NorthStar_numSpotsVisible( NorthStarId id );
57 
62 DLLEXPORT int NorthStar_posX( NorthStarId id );
63 
68 DLLEXPORT int NorthStar_posY( NorthStarId id );
69 
74 DLLEXPORT float NorthStar_posTheta( NorthStarId id );
75 
80 DLLEXPORT unsigned int NorthStar_magSpot0( NorthStarId id );
81 
86 DLLEXPORT unsigned int NorthStar_magSpot1( NorthStarId id );
87 
94 DLLEXPORT BOOL NorthStar_setRoomId( NorthStarId id, int roomId );
95 
102 DLLEXPORT BOOL NorthStar_setCalState( NorthStarId id, unsigned int calState );
103 
110 DLLEXPORT BOOL NorthStar_setCalFlag( NorthStarId id, unsigned int calFlag );
111 
118 DLLEXPORT BOOL NorthStar_setCalDistance( NorthStarId id, unsigned int calDistance );
119 
126 DLLEXPORT BOOL NorthStar_setCeilingCal( NorthStarId id, float ceilingCal );
127 
128 #endif //_REC_ROBOTINO_API2_C_NORTHSTAR_H_
DLLEXPORT unsigned int NorthStar_numSpotsVisible(NorthStarId id)
DLLEXPORT unsigned int NorthStar_magSpot0(NorthStarId id)
DLLEXPORT int NorthStar_roomId(NorthStarId id)
DLLEXPORT BOOL NorthStar_setCalFlag(NorthStarId id, unsigned int calFlag)
int NorthStarId
Definition: NorthStar.h:16
DLLEXPORT int NorthStar_posY(NorthStarId id)
DLLEXPORT BOOL NorthStar_setRoomId(NorthStarId id, int roomId)
DLLEXPORT unsigned int NorthStar_sequenceNo(NorthStarId id)
DLLEXPORT float NorthStar_posTheta(NorthStarId id)
In "rec/robotino/api2/c/Com.h" you can find functions for manipulating the communication interface to...
DLLEXPORT BOOL NorthStar_setComId(NorthStarId id, ComId comId)
DLLEXPORT int NorthStar_posX(NorthStarId id)
DLLEXPORT NorthStarId NorthStar_construct()
DLLEXPORT BOOL NorthStar_setCalDistance(NorthStarId id, unsigned int calDistance)
DLLEXPORT BOOL NorthStar_setCeilingCal(NorthStarId id, float ceilingCal)
DLLEXPORT unsigned int NorthStar_magSpot1(NorthStarId id)
int ComId
Definition: Com.h:50
DLLEXPORT BOOL NorthStar_destroy(NorthStarId id)
DLLEXPORT BOOL NorthStar_setCalState(NorthStarId id, unsigned int calState)