- 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:
6
velo.c
6
velo.c
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user