Files
sics/drive.h
koennecke 99d2485d22 - Connections write timeouts were incorrectly handled in asynnetc. Fixed.
- Implemented the desired run/drive behaviour: drive waits for what it started
  run starts, and success waits for everything to finish. This required
  changes to a lot of files.
- Fixed a bug in remob which supressed required messages
2009-04-17 12:52:01 +00:00

38 lines
1.1 KiB
C

/*-------------------------------------------------------------------------
This object implements the general drive command for SICS.
It can drive parameters and motors and allmost everything.
Mark Koennecke, November 1996
copyright: see implementation file
-----------------------------------------------------------------------------*/
#ifndef SICSDRIVE
#define SICSDRIVE
#include "conman.h"
int Drive(SConnection * pCon, SicsInterp * pSics, char *name, float fNew);
int Start2Run(SConnection * pCon, SicsInterp * pSics, char *name,
int level, float fNew);
int DriveWrapper(SConnection * pCon, SicsInterp * pSics, void *pData,
int argc, char *argv[]);
/*
the wrapper function for the drive command
*/
int RunWrapper(SConnection * pCon, SicsInterp * pSics, void *pData,
int argc, char *argv[]);
/*
the wrapper function for the run command
*/
int MakeDrive(SConnection * pCon, SicsInterp * pSics, void *pData,
int argc, char *argv[]);
/*
the factory function for the Drive & Run command
*/
#endif