Changeset 2613 for trunk/MagicSoft/Cosy/main
- Timestamp:
- 12/07/03 13:09:00 (21 years ago)
- Location:
- trunk/MagicSoft/Cosy/main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/main/MCosy.cc
r2518 r2613 52 52 */ 53 53 54 #define EXPERT55 //#undef EXPERT54 //#define EXPERT 55 #undef EXPERT 56 56 57 57 double MCosy::Rad2SE(double rad) const … … 1336 1336 1337 1337 ZdAz dest = *((ZdAz*)mp) * kDeg2Rad; 1338 //if (!SetPosition(dest))1339 //return (void*)0x1234;1338 if (!SetPosition(dest)) 1339 return (void*)0x1234; 1340 1340 1341 1341 SlaStars sla(fObservatory); … … 1353 1353 cout << "WM_Position: start." << endl; 1354 1354 { 1355 //if (!CheckNetwork())1356 //return (void*)0xebb0;1355 if (!CheckNetwork()) 1356 return (void*)0xebb0; 1357 1357 1358 1358 ZdAz dest = *((ZdAz*)mp); … … 1921 1921 const ZdAz seist = GetSePos()*2*TMath::Pi()/16384; // [se] 1922 1922 1923 cout << seist.Zd()*kRad2Deg << " " << seist.Az()*kRad2Deg << endl;1923 //cout << seist.Zd()*kRad2Deg << " " << seist.Az()*kRad2Deg << endl; 1924 1924 1925 1925 ZdAz back = fBending.CorrectBack(seist)*180/TMath::Pi(); 1926 1926 1927 cout << back.Zd() << " " << back.Az() << endl;1927 //cout << back.Zd() << " " << back.Az() << endl; 1928 1928 1929 1929 return back; -
trunk/MagicSoft/Cosy/main/MStarguider.cc
r2518 r2613 180 180 181 181 TString disp=gVirtualX->DisplayName(); 182 if (disp.First(':')>0) 182 cout << "Display: " << disp << endl; 183 if (disp.First(':')>=0) 183 184 disp=disp(0, disp.First(':')); 184 185 185 186 if (disp.IsNull() || disp==(TString)"localhost") 186 187 { 187 fInterpol->CheckEntry(IDM_kInterpol 1);188 fIntRate = 1;188 fInterpol->CheckEntry(IDM_kInterpol5); 189 fIntRate = 5; 189 190 } 190 191 else
Note:
See TracChangeset
for help on using the changeset viewer.