rec::robotino::api2 C interface
EncoderInput.h
Go to the documentation of this file.
1 // Copyright (C) 2004-2008, Robotics Equipment Corporation GmbH
2 
3 #ifndef _REC_ROBOTINO_API2_C_ENCODERINPUT_H_
4 #define _REC_ROBOTINO_API2_C_ENCODERINPUT_H_
5 
6 #include "rec/robotino/api2/c/globals.h"
8 
17 typedef int EncoderInputId;
18 
20 #define INVALID_ENCODERINPUTID -1
21 
27 
33 DLLEXPORT BOOL EncoderInput_destroy( EncoderInputId id );
34 
39 DLLEXPORT BOOL EncoderInput_setComId( EncoderInputId id, ComId comId );
40 
46 DLLEXPORT BOOL EncoderInput_resetPosition( EncoderInputId id );
47 
52 DLLEXPORT int EncoderInput_position( EncoderInputId id );
53 
58 DLLEXPORT int EncoderInput_velocity( EncoderInputId id );
59 
60 #endif //_REC_ROBOTINO_API2_C_ENCODERINPUT_H_
DLLEXPORT int EncoderInput_velocity(EncoderInputId id)
DLLEXPORT BOOL EncoderInput_resetPosition(EncoderInputId id)
int EncoderInputId
Definition: EncoderInput.h:17
DLLEXPORT int EncoderInput_position(EncoderInputId id)
DLLEXPORT BOOL EncoderInput_destroy(EncoderInputId id)
In "rec/robotino/api2/c/Com.h" you can find functions for manipulating the communication interface to...
DLLEXPORT BOOL EncoderInput_setComId(EncoderInputId id, ComId comId)
DLLEXPORT EncoderInputId EncoderInput_construct()
int ComId
Definition: Com.h:50