Changeset 18787 for branches/FACT++_lidctrl_usb
- Timestamp:
- 03/21/17 14:07:05 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/FACT++_lidctrl_usb/src/lidctrl.cc
r18740 r18787 71 71 string s(fCollectedBytes.begin(), fCollectedBytes.end()); 72 72 int pos=s.find(search_string); 73 if (pos != 0){ 74 Out() << "TruncateUntilStartFlagFound: pos=" << pos << endl; 75 } 73 76 // cut off the first 'pos' bytes from fCollectedBytes 74 77 vector<decltype(fCollectedBytes)::value_type>( … … 155 158 fStateOfArduino(State::kOpen), 156 159 fLastStateOfArduino(State::kOpen), 157 fDim("LID_CONTROL/ INNER_MOTOR", "F:1;F:1;F:1;F:1;I:1;I:1",160 fDim("LID_CONTROL/MOTORS", "F:1;F:1;F:1;F:1;I:1;I:1", 158 161 "|inner_current_mean[mA]: " 159 162 "|outer_current_mean[mA]: " … … 240 243 T::AddStateName(State::kLowerClosing, "LowerClosing", "lower(left) lid is closing"); 241 244 T::AddStateName(State::kUpperClosing, "UpperClosing", "upper(right) lid is closing"); 245 T::AddStateName(State::kUnknown, "Unknown", "Position unknown - arduino just restarted"); 242 246 243 247 T::AddEvent("OPEN")(bind(&StateMachineLid::Open, this))("Open Lid");
Note:
See TracChangeset
for help on using the changeset viewer.