- Timestamp:
- 03/18/13 14:54:03 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/drivectrl.cc
r14720 r15100 790 790 } 791 791 792 int Park() 793 { 794 SendCommand("PREPS Park", false); 795 796 // FIXME: Go to locked state only when park position properly reached 797 return Drive::State::kLocked; 798 } 799 792 800 int Resume() 793 801 { … … 1183 1191 { 1184 1192 if (Time()>fSunRise) 1185 { 1186 SendCommand("PREPS Park", false); 1187 return Drive::State::kLocked; 1188 } 1193 return Park(); 1189 1194 } 1190 1195 … … 1328 1333 1329 1334 T::AddEvent("PARK", State::kArmed, State::kMoving, State::kTracking, State::kOnTrack, 0x100) 1330 (bind(&StateMachineDrive:: SendCommand, this, "PREPS Park", false))1335 (bind(&StateMachineDrive::Park, this)) 1331 1336 ("Park the telescope"); 1332 1337
Note:
See TracChangeset
for help on using the changeset viewer.