Changeset 1531 for trunk/MagicSoft/Cosy/devdrv
- Timestamp:
- 09/24/02 14:35:10 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/devdrv/shaftencoder.cc
r1140 r1531 93 93 char text[21]; 94 94 95 if (fPos!=fUpdPos )95 if (fPos!=fUpdPos && fLabel[0]) 96 96 { 97 97 sprintf(text, "%ld", fPos); … … 100 100 } 101 101 102 if (fVel!=fUpdVel )102 if (fVel!=fUpdVel && fLabel[1]) 103 103 { 104 104 sprintf(text, "%d", fVel); … … 107 107 } 108 108 109 if (fAcc!=fUpdAcc )109 if (fAcc!=fUpdAcc && fLabel[2]) 110 110 { 111 111 sprintf(text, "%d", fAcc); … … 279 279 void ShaftEncoder::StopDevice() 280 280 { 281 lout << "- St artNode " << GetNodeName() << endl;281 lout << "- Stop Node " << GetNodeName() << endl; 282 282 SendNMT(kNMT_STOP); 283 283 }
Note:
See TracChangeset
for help on using the changeset viewer.