Changeset 8869 for trunk/MagicSoft/Cosy/cosy.cc
- Timestamp:
- 02/21/08 22:03:06 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/cosy.cc
r8864 r8869 14 14 #include "MCosy.h" 15 15 #include "MTime.h" 16 #include "MDriveCom.h" 16 17 17 18 #include "MLogManip.h" … … 92 93 const TString sps = arg.GetStringAndRemove("--sps=", "sps"); 93 94 const TString ceco = arg.GetStringAndRemove("--cc=", "ceco"); // ceco 95 const Int_t ceco_tx = arg.GetIntAndRemove("--cc-tx=", 7314);//7304); 96 const Int_t ceco_rx = arg.GetIntAndRemove("--cc-rx=", 7414);//7404); 94 97 const TString pointing = arg.GetStringAndRemove("--pointing-model=", "bending2.txt"); // ceco 95 98 const TString kConfig = arg.GetStringAndRemove("--config=", ".cosyrc"); // ceco … … 191 194 break; 192 195 } 193 */ 194 MCosy *cosy = new MCosy(env, ceco, pointing); 196 */ 197 198 MDriveCom com(ceco, ceco_tx, ceco_rx); 199 200 MCosy *cosy = new MCosy(env, &com, pointing); 201 202 com.SetMsgQueue(cosy); 195 203 196 204 Interface *interface = new Ethernet(sps, 5357, 5358, cosy); … … 211 219 gLog << all << "- Starting Camera." << endl; 212 220 client=new MStarguider(MObservatory::kMagic1, channel); 221 //client.SetDriveCom(&com); 213 222 cosy->SetStarguider(client); 214 223 client->SetCosy(cosy); … … 239 248 gLog << all << "Deleting cosy at " << MTime(-1) << endl; 240 249 250 //com.SetMsgQueue(NULL); 251 241 252 delete cosy; 242 253
Note:
See TracChangeset
for help on using the changeset viewer.