- Adapted indenation to new agreed upon system
- Added support for second generation scriptcontext based counter
This commit is contained in:
21
motorlist.h
21
motorlist.h
@ -12,14 +12,14 @@
|
||||
#define SICSMOTLIST
|
||||
#include "sics.h"
|
||||
|
||||
typedef struct{
|
||||
char name[80];
|
||||
float target;
|
||||
float position;
|
||||
pIDrivable pDriv;
|
||||
void *data;
|
||||
int running;
|
||||
}MotControl, *pMotControl;
|
||||
typedef struct {
|
||||
char name[80];
|
||||
float target;
|
||||
float position;
|
||||
pIDrivable pDriv;
|
||||
void *data;
|
||||
int running;
|
||||
} MotControl, *pMotControl;
|
||||
|
||||
/*======================================================================*/
|
||||
|
||||
@ -27,8 +27,7 @@ pIDrivable makeMotListInterface();
|
||||
int addMotorToList(int listHandle, char *name, float targetValue);
|
||||
int setNewMotorTarget(int listHandle, char *name, float value);
|
||||
int getMotorFromList(int listHandle, char *name, pMotControl tuk);
|
||||
float getListMotorPosition(int listHandle, char *name);
|
||||
void printMotorList(int listHandle, SConnection *pCon);
|
||||
float getListMotorPosition(int listHandle, char *name);
|
||||
void printMotorList(int listHandle, SConnection * pCon);
|
||||
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user