Changeset 1728 for trunk/MagicSoft/Cosy/devdrv/macs.cc
- Timestamp:
- 01/23/03 13:44:31 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/devdrv/macs.cc
r1727 r1728 327 327 void Macs::SetHome(LWORDS_t pos, WORD_t maxtime) 328 328 { 329 /* 330 Bool_t to = fTimerOn; 331 332 if (to) 333 EnableTimeout(kFALSE); 334 */ 329 StopHostGuarding(); 330 StopGuarding(); 331 335 332 lout << "- " << GetNodeName() << ": Driving to home position, Offset=" << dec << pos << endl; 336 333 SendSDO(0x6003, 2, (LWORD_t)pos); // home … … 346 343 WaitForSdo(0x6003, 0); 347 344 348 //if (to)349 // EnableTimeout(kTRUE);345 StartGuarding(); 346 StartHostGuarding(); 350 347 } 351 348
Note:
See TracChangeset
for help on using the changeset viewer.