Changeset 9439 for trunk/MagicSoft/Cosy/cosy.cc
- Timestamp:
- 05/09/09 13:48:12 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/cosy.cc
r9435 r9439 74 74 return kTRUE; 75 75 76 gLog << all << "- Trying to switch " << (on?"on":"off") << " " << (port==kPortTPoint?"TPoint":"Starguider") << " ccd via " << ip << endl; 77 76 78 TSocket s(ip, 80); 77 79 if (!s.IsValid()) … … 160 162 const TString ceco = env.GetValue("IpAddressCentralControl", "161.72.130.60"); 161 163 const TString powerswitch = env.GetValue("IpAddressPowerSwitch", ""); 162 const TString pointing = env.GetValue("PointingModel", "bending.txt");164 const Int_t telescope = env.GetValue("Telescope", 1); 163 165 164 166 // And move the resource options from the command line to the MEnv … … 238 240 239 241 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); 243 245 244 246 com->SetMsgQueue(cosy); … … 254 256 if (kDebugEnv>0) 255 257 env.PrintUntouched(); 256 257 258 258 259 MStarguider *client=0;
Note:
See TracChangeset
for help on using the changeset viewer.