- A few fixes to the hsitogram memory codes
- Many fixes for the triple axis code
This commit is contained in:
@ -106,6 +106,9 @@ int TASDrive(SConnection *pCon, SicsInterp *pSics, void *pData,
|
||||
tasTargets[i+10] = .0;
|
||||
oldEnergy[i] = .0;
|
||||
}
|
||||
tasMask[10] = 0;
|
||||
tasMask[11] = 0;
|
||||
|
||||
for(i = 0; i < MAXMOT; i++)
|
||||
{
|
||||
motorMask[i] = 0;
|
||||
@ -189,6 +192,12 @@ int TASDrive(SConnection *pCon, SicsInterp *pSics, void *pData,
|
||||
if(rStatus != 1)
|
||||
return rStatus;
|
||||
|
||||
/*
|
||||
store SRO motor value
|
||||
*/
|
||||
getSRO(pCon,&self->oldSRO);
|
||||
|
||||
|
||||
/* having done this, we can start the motors */
|
||||
for(i = 0; i < MAXMOT; i++)
|
||||
{
|
||||
|
Reference in New Issue
Block a user