Changeset 18805 for trunk/FACT++/src


Ignore:
Timestamp:
04/06/17 19:56:16 (8 years ago)
Author:
tbretz
Message:
Fixed some typo in the state names. For the time being added HardwareWarning to RESET.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/drivectrl.cc

    r18803 r18805  
    27422742                        "Tracking coordinates out of range");
    27432743
    2744         T::AddStateName(State::kHardwareWarning, "HwardwareWarning",
     2744        T::AddStateName(State::kHardwareWarning, "HardwareWarning",
    27452745                        "At least one IndraDrive in a warning condition... check carefully!");
    2746         T::AddStateName(State::kHardwareError, "HwardwareError",
     2746        T::AddStateName(State::kHardwareError, "HardwareError",
    27472747                        "At least one IndraDrive in an error condition... this is a serious incident!");
    27482748
     
    28432843            ("Stop any kind of movement.");
    28442844
    2845         T::AddEvent("RESET", State::kPositioningFailed, State::kAllowedRangeExceeded, State::kInvalidCoordinates)
     2845        T::AddEvent("RESET", State::kPositioningFailed, State::kAllowedRangeExceeded, State::kInvalidCoordinates, State::kHardwareWarning)
    28462846            (bind(&StateMachineDrive::ResetError, this))
    28472847            ("Acknowledge an internal drivectrl error (PositioningFailed, AllowedRangeExceeded, InvalidCoordinates)");
Note: See TracChangeset for help on using the changeset viewer.