- Switched motor to hdb

- Changes to Hipadaba
- Added project to histogram memory code
- Started regression testing code
- Added hill climbing as optimization method to optimise
This commit is contained in:
koennecke
2006-08-16 14:13:05 +00:00
parent 47e38eba5a
commit a5c2da6acf
32 changed files with 1689 additions and 693 deletions

8
velo.c
View File

@@ -326,6 +326,7 @@ static void VSListForbidden(pVelSel self, SConnection *pCon){
pVelSel VSCreate(pMotor pTilt, pVelSelDriv pDriv)
{
pVelSel pNew = NULL;
SConnection *pCon = NULL;
assert(pTilt);
assert(pDriv);
@@ -389,7 +390,12 @@ static void VSListForbidden(pVelSel self, SConnection *pCon){
/* deal with that motor, have him AccessCode Internal */
pNew->pTilt = pTilt;
ObParInit(pTilt->ParArray,8,"accesscode",(float)usInternal,usInternal);
pCon = SCCreateDummyConnection(pServ->pSics);
if(pCon != NULL)
{
MotorSetPar(pTilt,pCon,"accesscode",(float)usInternal);
SCDeleteConnection(pCon);
}
/* enter driver */
pNew->pDriv = pDriv;