Changeset 8871


Ignore:
Timestamp:
02/22/08 11:44:53 (17 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Cosy
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Cosy/Changelog

    r8870 r8871  
    99     - changed version number from 0.69 to 0.70
    1010     - 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)
    1123
    1224
  • trunk/MagicSoft/Cosy/main/MTracking.cc

    r8869 r8871  
    222222    const Float_t maxtrack = 0.1;
    223223
    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()));
    227227        gLog << warn << "Warning: Azimuth speed limit (" << maxtrack*100 << "%) exceeded (" << fabs(vt->Az()) << " > " << maxtrack*vraz << ")... limited." << endl;
    228228        gLog << "Vcalc: " << vcalc.Zd() << " " << vcalc.Az() << "re/min" <<endl;
    229229        rc=kTRUE;
    230230    }
    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()));
    234234        gLog << warn << "Warning: Altitude speed limit (" << maxtrack*100 << "%) exceeded (" << fabs(vt->Zd()) <<" > " << maxtrack*vrzd << ")... limited." << endl;
    235235        gLog << "Vcalc: " << vcalc.Zd() << " " << vcalc.Az() << "re/min" <<endl;
     
    485485        // believing the Macs manual '/4' shouldn't be necessary, but it is.
    486486        //
    487         ZdAz vt = v/4; //[re'/min]
     487        ZdAz vt = v; //[re'/min]
    488488        //lout << " " << vt.Zd() << " " << vt.Az() << " ";
    489489        vt.Round();
     
    511511        // Now do 'unnecessary' things (timing)
    512512        //
    513         fCosy->fVelocity = vt*4/fCosy->kGear; // [U_mot/min]
     513        fCosy->fVelocity = vt/fCosy->kGear; // [U_mot/min]
    514514        // *OLD* fVelocity = vt/kGearRatio2*4;
    515515
Note: See TracChangeset for help on using the changeset viewer.