rec::robotino::api2 C interface
PowerOutput.h
Go to the documentation of this file.
1 // Copyright (C) 2004-2008, Robotics Equipment Corporation GmbH
2 
3 #ifndef _REC_ROBOTINO_API2_C_POWEROUTPUT_H_
4 #define _REC_ROBOTINO_API2_C_POWEROUTPUT_H_
5 
6 #include "rec/robotino/api2/c/globals.h"
8 
20 typedef int PowerOutputId;
21 
23 #define INVALID_POWEROUTPUTID -1
24 
30 
36 DLLEXPORT BOOL PowerOutput_destroy( PowerOutputId id );
37 
42 DLLEXPORT BOOL PowerOutput_setComId( PowerOutputId id, ComId comId );
43 
50 DLLEXPORT BOOL PowerOutput_setValue( PowerOutputId id, float setPoint );
51 
56 DLLEXPORT float PowerOutput_current( PowerOutputId id );
57 
64 
65 #endif //_REC_ROBOTINO_API2_C_POWEROUTPUT_H_
DLLEXPORT PowerOutputId PowerOutput_construct()
DLLEXPORT BOOL PowerOutput_setComId(PowerOutputId id, ComId comId)
DLLEXPORT BOOL PowerOutput_setValue(PowerOutputId id, float setPoint)
int PowerOutputId
Definition: PowerOutput.h:20
DLLEXPORT BOOL PowerOutput_destroy(PowerOutputId id)
DLLEXPORT float PowerOutput_rawCurrentMeasurment(PowerOutputId id)
In "rec/robotino/api2/c/Com.h" you can find functions for manipulating the communication interface to...
DLLEXPORT float PowerOutput_current(PowerOutputId id)
int ComId
Definition: Com.h:50