00001
00002
00003 #ifndef _REC_ROBOTINO_COM_C_POWEROUTPUT_H_
00004 #define _REC_ROBOTINO_COM_C_POWEROUTPUT_H_
00005
00006 #include "rec/robotino/com/c/globals.h"
00007 #include "rec/robotino/com/c/Com.h"
00008
00019 typedef int PowerOutputId;
00020
00021 #define INVALID_POWEROUTPUTID -1
00022
00027 DLLEXPORT PowerOutputId PowerOutput_construct();
00028
00034 DLLEXPORT BOOL PowerOutput_destroy( PowerOutputId id );
00035
00040 DLLEXPORT BOOL PowerOutput_setComId( PowerOutputId id, ComId comId );
00041
00048 DLLEXPORT BOOL PowerOutput_setValue( PowerOutputId id, float setPoint );
00049
00054 DLLEXPORT float PowerOutput_current( PowerOutputId id );
00055
00061 DLLEXPORT float PowerOutput_rawCurrentMeasurment( PowerOutputId id );
00062
00063 #endif //_REC_ROBOTINO_COM_C_POWEROUTPUT_H_