- 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
This commit is contained in:
koennecke
2009-04-17 12:52:01 +00:00
parent 50b0a5c4a7
commit 99d2485d22
39 changed files with 422 additions and 200 deletions

6
velo.c
View File

@@ -516,7 +516,7 @@ int VSSetTiltRot(pVelSel self, SConnection * pCon, float fNewRot,
if (fDelta > ObVal(self->pPar, TILTPREC)) { /* yes */
/* first stop the Rotation of the selector */
iRet = StartDevice(GetExecutor(), "Velocity Selector Rot",
self->pDes, self, pCon, -10.);
self->pDes, self, pCon, RUNDRIVE, -10.);
if (!iRet) {
return 0;
}
@@ -539,7 +539,7 @@ int VSSetTiltRot(pVelSel self, SConnection * pCon, float fNewRot,
SCSetRights(pCon, usInternal);
iRet = StartDevice(GetExecutor(), "Velocity Selector Tilt",
self->pTilt->pDescriptor, self->pTilt,
pCon, fNewTilt);
pCon, RUNDRIVE, fNewTilt);
/* wait for this to finish */
SCWrite(pCon, "Driving tilt-angle", eWarning);
@@ -559,7 +559,7 @@ int VSSetTiltRot(pVelSel self, SConnection * pCon, float fNewRot,
/* drive rotation */
iRet = StartDevice(GetExecutor(), "Velocity Selector Rot",
self->pDes, self, pCon, fNewRot);
self->pDes, self, pCon, RUNDRIVE, fNewRot);
if (!iRet) {
return 0;
}