Ignore:
Timestamp:
05/02/12 22:57:14 (13 years ago)
Author:
tbretz
Message:
Added missing infoHandlers for drive control.
File:
1 edited

Legend:

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

    r13498 r13528  
    194194    }
    195195
    196     void HandleDrivePointing(const DimData &d)
     196    void HandleDriveControlPointing(const DimData &d)
    197197    {
    198198        if (!CheckDataSize(d, "DriveControl:Pointing", 7*4+2))
     
    225225    }
    226226
    227     void HandleDriveTracking(const DimData &d)
     227    void HandleDriveControlTracking(const DimData &d)
    228228    {
    229229        if (!CheckDataSize(d, "DriveControl:Tracking", 7*4+2))
     
    242242    }
    243243
    244     void HandleDriveSource(const DimData &d)
     244    void HandleDriveControlSource(const DimData &d)
    245245    {
    246246        if (!CheckDataSize(d, "DriveControl:Source", 7*4+2))
     
    401401        if (HandleService(curr, fDimMagicWeatherData,       &StateMachineSmartFACT::HandleMagicWeatherData))
    402402            return;
     403        if (HandleService(curr, fDimDriveControlPointing,   &StateMachineSmartFACT::HandleDriveControlPointing))
     404            return;
     405        if (HandleService(curr, fDimDriveControlTracking,   &StateMachineSmartFACT::HandleDriveControlTracking))
     406            return;
     407        if (HandleService(curr, fDimDriveControlSource,     &StateMachineSmartFACT::HandleDriveControlSource))
     408            return;
    403409        if (HandleService(curr, fDimFeedbackCalibration,    &StateMachineSmartFACT::HandleFeedbackCalibration))
    404410            return;
     
    413419
    414420        if (UpdateState(curr, fDimMagicWeather, fStatusMagicWeather))
     421            return;
     422        if (UpdateState(curr, fDimDriveControl, fStatusDriveControl))
    415423            return;
    416424        if (UpdateState(curr, fDimFeedback, fStatusFeedback))
     
    518526        }
    519527        else
    520             out << kWhite << "\n";
     528            out << kWhite << "\t" << fStatusDriveControl.second << "\n";
    521529
    522530        // --------------- MagicWeather -------------
Note: See TracChangeset for help on using the changeset viewer.