Ignore:
Timestamp:
05/09/09 13:48:12 (15 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Cosy/cosy.cc

    r9435 r9439  
    7474        return kTRUE;
    7575
     76    gLog << all << "- Trying to switch " << (on?"on":"off") << " " << (port==kPortTPoint?"TPoint":"Starguider") << " ccd via " << ip << endl;
     77
    7678    TSocket s(ip, 80);
    7779    if (!s.IsValid())
     
    160162    const TString ceco        = env.GetValue("IpAddressCentralControl", "161.72.130.60");
    161163    const TString powerswitch = env.GetValue("IpAddressPowerSwitch", "");
    162     const TString pointing    = env.GetValue("PointingModel", "bending.txt");
     164    const Int_t   telescope   = env.GetValue("Telescope", 1);
    163165
    164166    // And move the resource options from the command line to the MEnv
     
    238240
    239241    MDriveCom *com = new MDriveCom(ceco, ceco_tx, ceco_rx);
    240     com->SetTelescope(2);
    241 
    242     MCosy *cosy = new MCosy(env, com, pointing);
     242    com->SetTelescope(telescope);
     243
     244    MCosy *cosy = new MCosy(env, com);
    243245
    244246    com->SetMsgQueue(cosy);
     
    254256    if (kDebugEnv>0)
    255257        env.PrintUntouched();
    256 
    257258
    258259    MStarguider *client=0;
Note: See TracChangeset for help on using the changeset viewer.