Changeset 19034 for trunk/FACT++/src
- Timestamp:
- 06/29/18 10:02:14 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/drivectrl.cc
r18959 r19034 247 247 fEcec = coeff["ECEC"]; // [rad] Elevation Centering Error (cos) 248 248 fAcec = coeff["ACEC"]; // [rad] Azimuth Centering Error (cos) 249 } 250 251 void print(ostream &out) 252 { 253 out << "IE " << Tools::Form("%10.5f", 180/M_PI*fIe) << "\u00b0 # Index Error in Elevation\n"; 254 out << "IA " << Tools::Form("%10.5f", 180/M_PI*fIa) << "\u00b0 # Index Error in Azimuth\n"; 255 out << "FLOP " << Tools::Form("%10.5f", 180/M_PI*fFlop) << "\u00b0 # Vertical Sag\n"; 256 out << "NPAE " << Tools::Form("%10.5f", 180/M_PI*fNpae) << "\u00b0 # Az-El Nonperpendicularity\n"; 257 out << "CA " << Tools::Form("%10.5f", 180/M_PI*fCa) << "\u00b0 # Left-Right Collimation Error\n"; 258 out << "AN " << Tools::Form("%10.5f", 180/M_PI*fAn) << "\u00b0 # Azimuth Axis Misalignment (N-S, 1st order)\n"; 259 out << "AW " << Tools::Form("%10.5f", 180/M_PI*fAw) << "\u00b0 # Azimuth Axis Misalignment (E-W, 1st order)\n"; 260 out << "AN2 " << Tools::Form("%10.5f", 180/M_PI*fAn2) << "\u00b0 # Azimuth Axis Misalignment (N-S, 2nd order)\n"; 261 out << "AW2 " << Tools::Form("%10.5f", 180/M_PI*fAw2) << "\u00b0 # Azimuth Axis Misalignment (E-W, 2nd order)\n"; 262 out << "TF " << Tools::Form("%10.5f", 180/M_PI*fTf) << "\u00b0 # Tube fluxture (sin)\n"; 263 out << "TX " << Tools::Form("%10.5f", 180/M_PI*fTx) << "\u00b0 # Tube fluxture (tan)\n"; 264 out << "NRX " << Tools::Form("%10.5f", 180/M_PI*fNrx) << "\u00b0 # Nasmyth rotator displacement, horizontal\n"; 265 out << "NRY " << Tools::Form("%10.5f", 180/M_PI*fNry) << "\u00b0 # Nasmyth rotator displacement, vertical\n"; 266 out << "CRX " << Tools::Form("%10.5f", 180/M_PI*fCrx) << "\u00b0 # Alt/Az Coude Displacement (N-S)\n"; 267 out << "CRY " << Tools::Form("%10.5f", 180/M_PI*fCry) << "\u00b0 # Alt/Az Coude Displacement (E-W)\n"; 268 out << "ECES " << Tools::Form("%10.5f", 180/M_PI*fEces) << "\u00b0 # Elevation Centering Error (sin)\n"; 269 out << "ACES " << Tools::Form("%10.5f", 180/M_PI*fAces) << "\u00b0 # Azimuth Centering Error (sin)\n"; 270 out << "ECEC " << Tools::Form("%10.5f", 180/M_PI*fEcec) << "\u00b0 # Elevation Centering Error (cos)\n"; 271 out << "ACEC " << Tools::Form("%10.5f", 180/M_PI*fAcec) << "\u00b0 # Azimuth Centering Error (cos)" << endl; 249 272 } 250 273 … … 1619 1642 int HandleWeatherData(const EventImp &evt) 1620 1643 { 1644 if (evt.GetSize()==0) 1645 { 1646 T::Warn("MAGIC_WEATHER disconnected... using default weather values"); 1647 fWeather.time = Time(Time::none); 1648 return T::GetCurrentState(); 1649 } 1650 1621 1651 if (!CheckEventSize(evt.GetSize(), "HandleWeatherData", 7*4+2)) 1622 1652 { … … 2293 2323 } 2294 2324 2325 int PrintPointingModel() 2326 { 2327 fPointingModel.print(T::Out()); 2328 return T::GetCurrentState(); 2329 } 2330 2295 2331 int Unlock() 2296 2332 { … … 2886 2922 ("(Re)connect Ethernet connection to SPS, a new address can be given" 2887 2923 "|[host][string]:new ethernet address in the form <host:port>"); 2924 2925 2926 T::AddEvent("PRINT_POINTING_MODEL") 2927 (bind(&StateMachineDrive::PrintPointingModel, this)) 2928 ("Print the ponting model."); 2888 2929 2889 2930
Note:
See TracChangeset
for help on using the changeset viewer.