Changeset 17417 for trunk/FACT++/src/drivectrl.cc
- Timestamp:
- 12/30/13 17:05:18 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/drivectrl.cc
r17345 r17417 234 234 235 235 tpoint.fNominalZd = 90-alt1-dzd; 236 tpoint.fNominalAz = 90-az1 +daz;236 tpoint.fNominalAz = az1 +daz; 237 237 238 238 tpoint.fPointingZd = 90-alt1; … … 733 733 "|Angle[deg]:Wobble angle" 734 734 "|Name[string]:Source name if available"), 735 fDimTPoint("DRIVE_CONTROL/TPOINT ", "D:1;D:1;D:1;D:1;D:1;D:1;D:1;D:1;S:1;D:1;D:1;D:1;D:1;D:1;D:1;D:1;C",735 fDimTPoint("DRIVE_CONTROL/TPOINT_DATA", "D:1;D:1;D:1;D:1;D:1;D:1;D:1;D:1;S:1;S:1;D:1;D:1;D:1;D:1;D:1;D:1;D:1;C", 736 736 "|Ra[h]:Command right ascension" 737 737 "|Dec[deg]:Command declination" … … 750 750 "|Ys[pix]:Y position of star in CCD camera frame" 751 751 "|Ms[mag]:Artifical magnitude of star (calculated form image))" 752 "|Mc[mag]:Catalog magnitude of star"), 752 "|Mc[mag]:Catalog magnitude of star" 753 "|name[string]:Name of star"), 753 754 fDimStatus("DRIVE_CONTROL/STATUS", "C:2;C:1", "") 754 755 … … 1120 1121 const float mag = evt.Get<float>(); 1121 1122 const char *ptr = evt.Ptr<char>(4); 1122 const size_t size = evt.GetSize()-4; 1123 1124 string src(ptr, size); 1125 1126 while (src.find_first_of(' ')) 1123 1124 string src(ptr); 1125 1126 while (src.find_first_of(' ')!=string::npos) 1127 1127 src.erase(src.find_first_of(' '), 1); 1128 1128 … … 1472 1472 ("Unlock locked state."); 1473 1473 1474 T::AddEvent("SET_AUTORESUME", "B ")1474 T::AddEvent("SET_AUTORESUME", "B:1") 1475 1475 (bind(&StateMachineDrive::SetAutoResume, this, placeholders::_1)) 1476 1476 ("Enable/disable auto resume" … … 1478 1478 1479 1479 // Verbosity commands 1480 T::AddEvent("SET_VERBOSE", "B ")1480 T::AddEvent("SET_VERBOSE", "B:1") 1481 1481 (bind(&StateMachineDrive::SetVerbosity, this, placeholders::_1)) 1482 1482 ("Set verbosity state"
Note:
See TracChangeset
for help on using the changeset viewer.