- Removed automatic loading of status file on startup

- make soft motor values the default all over
- Introduced nxscript putSlab
- Fixed a bug in polldriv
This commit is contained in:
koennecke
2007-02-23 14:31:43 +00:00
parent 8987f54bed
commit 6eb387654e
23 changed files with 710 additions and 439 deletions

View File

@ -142,16 +142,7 @@ static float readDrivable(char *val, SConnection *pCon){
float fVal;
/*
if motor: read motor
*/
pMot = FindMotor(pServ->pSics,val);
if(pMot != NULL){
MotorGetSoftPosition(pMot,pCon,&fVal);
return fVal;
}
/*
else: read general drivable
read general drivable
*/
pCom = FindCommand(pServ->pSics,val);
if(pCom != NULL){