- Refactored histogram memory code a little

- motor driver for ECB now fully working
- Fixed an anticollider bug
- Untested version of a driver for the Risoe TDC histogram memory
This commit is contained in:
cvs
2003-01-31 16:23:54 +00:00
parent b1fd8e77ac
commit f51588e2a7
26 changed files with 1602 additions and 784 deletions

View File

@ -95,7 +95,8 @@ int StartRegMot(pMotReg self, SConnection *pCon, float fValue){
int ret;
long (*oldSet)(void *pmotorData, SConnection *pCon, float fValue);
pIDrivable pDriv = NULL;
char pBueffel[132];
assert(self);
pDriv = GetDrivableInterface(self->motorData);
@ -107,6 +108,9 @@ int StartRegMot(pMotReg self, SConnection *pCon, float fValue){
self->motorData,
pCon,
fValue);
sprintf(pBueffel,"anticollision started %s to %f",self->motorName,
fValue);
SCWrite(pCon,pBueffel,eValue);
pDriv->SetValue = oldSet;
self->iActive = 1;