M1M3 Support System
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
LSST::M1M3::SS::ActiveState Class Reference

Active State. More...

#include <ActiveState.h>

Inheritance diagram for LSST::M1M3::SS::ActiveState:
Inheritance graph
[legend]
Collaboration diagram for LSST::M1M3::SS::ActiveState:
Collaboration graph
[legend]

Public Member Functions

States::Type update (UpdateCommand *command) override
 Called to retrieve telemetry data.
 
States::Type setSlewFlag (SetSlewFlagCommand *command) override
 
States::Type clearSlewFlag (ClearSlewFlagCommand *command) override
 
States::Type enterEngineering (EnterEngineeringCommand *command) override
 
- Public Member Functions inherited from LSST::M1M3::SS::EnabledActiveState
States::Type lowerM1M3 (LowerM1M3Command *command) override
 
States::Type applyActiveOpticForces (ApplyActiveOpticForcesCommand *command) override
 
States::Type clearActiveOpticForces (ClearActiveOpticForcesCommand *command) override
 
States::Type enableHardpointCorrections (EnableHardpointCorrectionsCommand *command) override
 
States::Type disableHardpointCorrections (DisableHardpointCorrectionsCommand *command) override
 
- Public Member Functions inherited from LSST::M1M3::SS::EnabledState
 EnabledState (std::string name)
 
States::Type storeTMAAzimuthSample (TMAAzimuthSampleCommand *command) override
 
States::Type storeTMAElevationSample (TMAElevationSampleCommand *command) override
 
- Public Member Functions inherited from LSST::M1M3::SS::State
 State (std::string name)
 
virtual States::Type enterControl (EnterControlCommand *command)
 Executes EnterControlCommand.
 
virtual States::Type start (StartCommand *command)
 
virtual States::Type enable (EnableCommand *command)
 
virtual States::Type disable (DisableCommand *command)
 
virtual States::Type standby (StandbyCommand *command)
 
virtual States::Type exitControl (ExitControlCommand *command)
 
virtual States::Type turnAirOn (TurnAirOnCommand *command)
 
virtual States::Type turnAirOff (TurnAirOffCommand *command)
 
virtual States::Type boosterValveOpen (BoosterValveOpenCommand *command)
 
virtual States::Type boosterValveClose (BoosterValveCloseCommand *command)
 
virtual States::Type applyOffsetForces (ApplyOffsetForcesCommand *command)
 
virtual States::Type clearOffsetForces (ClearOffsetForcesCommand *command)
 
virtual States::Type raiseM1M3 (RaiseM1M3Command *command)
 
virtual States::Type pauseM1M3RaisingLowering (PauseM1M3RaisingLoweringCommand *command)
 
virtual States::Type resumeM1M3RaisingLowering (ResumeM1M3RaisingLoweringCommand *command)
 
virtual States::Type exitEngineering (ExitEngineeringCommand *command)
 
virtual States::Type testHardpoint (TestHardpointCommand *command)
 
virtual States::Type killHardpointTest (KillHardpointTestCommand *command)
 
virtual States::Type moveHardpointActuators (MoveHardpointActuatorsCommand *command)
 
virtual States::Type enableHardpointChase (EnableHardpointChaseCommand *command)
 
virtual States::Type disableHardpointChase (DisableHardpointChaseCommand *command)
 
virtual States::Type abortRaiseM1M3 (AbortRaiseM1M3Command *command)
 
virtual States::Type translateM1M3 (TranslateM1M3Command *command)
 
virtual States::Type stopHardpointMotion (StopHardpointMotionCommand *command)
 
virtual States::Type positionM1M3 (PositionM1M3Command *command)
 
virtual States::Type turnLightsOn (TurnLightsOnCommand *command)
 
virtual States::Type turnLightsOff (TurnLightsOffCommand *command)
 
virtual States::Type turnPowerOn (TurnPowerOnCommand *command)
 
virtual States::Type turnPowerOff (TurnPowerOffCommand *command)
 
virtual States::Type runMirrorForceProfile (RunMirrorForceProfileCommand *command)
 
virtual States::Type abortProfile (AbortProfileCommand *command)
 
virtual States::Type applyOffsetForcesByMirrorForce (ApplyOffsetForcesByMirrorForceCommand *command)
 
virtual States::Type updatePID (UpdatePIDCommand *command)
 
virtual States::Type resetPID (ResetPIDCommand *command)
 
virtual States::Type forceActuatorBumpTest (ForceActuatorBumpTestCommand *command)
 
virtual States::Type killForceActuatorBumpTest (KillForceActuatorBumpTestCommand *command)
 
virtual States::Type disableForceActuator (DisableForceActuatorCommand *command)
 
virtual States::Type enableForceActuator (EnableForceActuatorCommand *command)
 
virtual States::Type enableAllForceActuators (EnableAllForceActuatorsCommand *command)
 
virtual States::Type enableDisableForceComponent (EnableDisableForceComponentCommand *command)
 
virtual States::Type setSlewControllerSettings (SetSlewControllerSettingsCommand *command)
 

Protected Member Functions

States::Type getLoweringState () override
 
- Protected Member Functions inherited from LSST::M1M3::SS::EnabledState
void runLoop ()
 Actions to be performed during a loop in enabled sub-state.
 
void sendTelemetry ()
 Collects and sends telemetry.
 
bool raiseCompleted ()
 Query mirror raising completion.
 
bool lowerCompleted ()
 Query mirror lowering completion.
 
States::Type disableMirror ()
 
- Protected Member Functions inherited from LSST::M1M3::SS::State
States::Type rejectCommandInvalidState (Command *command, std::string cmd_name)
 

Additional Inherited Members

- Protected Attributes inherited from LSST::M1M3::SS::State
std::string name
 

Detailed Description

Active State.

Mirror is raised, supported by force actuators. Mirror can be lowered with Lower M1M3 Command. The controller can be switched to engineering mode with Enter Engineering command.

Member Function Documentation

◆ clearSlewFlag()

States::Type LSST::M1M3::SS::ActiveState::clearSlewFlag ( ClearSlewFlagCommand * command)
overridevirtual

Reimplemented from LSST::M1M3::SS::State.

◆ enterEngineering()

States::Type LSST::M1M3::SS::ActiveState::enterEngineering ( EnterEngineeringCommand * command)
overridevirtual

Reimplemented from LSST::M1M3::SS::State.

◆ getLoweringState()

States::Type LSST::M1M3::SS::ActiveState::getLoweringState ( )
inlineoverrideprotectedvirtual

◆ setSlewFlag()

States::Type LSST::M1M3::SS::ActiveState::setSlewFlag ( SetSlewFlagCommand * command)
overridevirtual

Reimplemented from LSST::M1M3::SS::State.

◆ update()

States::Type LSST::M1M3::SS::ActiveState::update ( UpdateCommand * command)
overridevirtual

Called to retrieve telemetry data.

This method is called from OuterLoopClockThread. As every concrete child class must provide update routine, it is pure virtual.

Parameters
commandUpdateCommand, ignored.
Returns
new state, or States::NoStateTransition if state doesn't change

Implements LSST::M1M3::SS::State.


The documentation for this class was generated from the following files: