Changeset 8871
- Timestamp:
- 02/22/08 11:44:53 (17 years ago)
- Location:
- trunk/MagicSoft/Cosy
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/Changelog
r8870 r8871 9 9 - changed version number from 0.69 to 0.70 10 10 - move the arbitrary factor 4 from cosy to aposs 11 12 * devdrv/macs.cc: 13 - changed the requires software version from 0.69 to 0.70 14 - do not start the node automatically 15 16 * main/MStarguider.cc: 17 - added an ExitLoop for fGetter 18 - added a sanity check if GetDriveCom returns a valid pointer 19 20 * main/MTracking.cc: 21 - removed the arbitrary factor 4 from the code (it is now 22 implemented in the MACS) 11 23 12 24 -
trunk/MagicSoft/Cosy/main/MTracking.cc
r8869 r8871 222 222 const Float_t maxtrack = 0.1; 223 223 224 if (fabs(vt->Az()) > maxtrack*vraz *4)225 { 226 vt->Az(maxtrack*vraz* 4*sgn(vcalc.Az()));224 if (fabs(vt->Az()) > maxtrack*vraz) 225 { 226 vt->Az(maxtrack*vraz*sgn(vcalc.Az())); 227 227 gLog << warn << "Warning: Azimuth speed limit (" << maxtrack*100 << "%) exceeded (" << fabs(vt->Az()) << " > " << maxtrack*vraz << ")... limited." << endl; 228 228 gLog << "Vcalc: " << vcalc.Zd() << " " << vcalc.Az() << "re/min" <<endl; 229 229 rc=kTRUE; 230 230 } 231 if (fabs(vt->Zd()) > maxtrack*vrzd *4)232 { 233 vt->Zd(maxtrack*vrzd* 4*sgn(vcalc.Zd()));231 if (fabs(vt->Zd()) > maxtrack*vrzd) 232 { 233 vt->Zd(maxtrack*vrzd*sgn(vcalc.Zd())); 234 234 gLog << warn << "Warning: Altitude speed limit (" << maxtrack*100 << "%) exceeded (" << fabs(vt->Zd()) <<" > " << maxtrack*vrzd << ")... limited." << endl; 235 235 gLog << "Vcalc: " << vcalc.Zd() << " " << vcalc.Az() << "re/min" <<endl; … … 485 485 // believing the Macs manual '/4' shouldn't be necessary, but it is. 486 486 // 487 ZdAz vt = v /4; //[re'/min]487 ZdAz vt = v; //[re'/min] 488 488 //lout << " " << vt.Zd() << " " << vt.Az() << " "; 489 489 vt.Round(); … … 511 511 // Now do 'unnecessary' things (timing) 512 512 // 513 fCosy->fVelocity = vt *4/fCosy->kGear; // [U_mot/min]513 fCosy->fVelocity = vt/fCosy->kGear; // [U_mot/min] 514 514 // *OLD* fVelocity = vt/kGearRatio2*4; 515 515
Note:
See TracChangeset
for help on using the changeset viewer.