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

Active Engineering state. More...

#include <ActiveEngineeringState.h>

Inheritance diagram for LSST::M1M3::SS::ActiveEngineeringState:
Inheritance graph
[legend]
Collaboration diagram for LSST::M1M3::SS::ActiveEngineeringState:
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 exitEngineering (ExitEngineeringCommand *command) override
 
States::Type lowerM1M3 (LowerM1M3Command *command) override
 
States::Type translateM1M3 (TranslateM1M3Command *command) override
 
States::Type positionM1M3 (PositionM1M3Command *command) override
 
States::Type runMirrorForceProfile (RunMirrorForceProfileCommand *command) override
 
States::Type updatePID (UpdatePIDCommand *command) override
 
States::Type resetPID (ResetPIDCommand *command) override
 
States::Type enableDisableForceComponent (EnableDisableForceComponentCommand *command) override
 
- Public Member Functions inherited from LSST::M1M3::SS::EngineeringState
States::Type turnAirOn (TurnAirOnCommand *command) override
 
States::Type turnAirOff (TurnAirOffCommand *command) override
 
States::Type boosterValveOpen (BoosterValveOpenCommand *command) override
 
States::Type boosterValveClose (BoosterValveCloseCommand *command) override
 
States::Type stopHardpointMotion (StopHardpointMotionCommand *command) override
 
States::Type moveHardpointActuators (MoveHardpointActuatorsCommand *command) override
 
States::Type enableHardpointChase (EnableHardpointChaseCommand *command) override
 
States::Type disableHardpointChase (DisableHardpointChaseCommand *command) override
 
States::Type applyOffsetForces (ApplyOffsetForcesCommand *command) override
 
States::Type applyOffsetForcesByMirrorForce (ApplyOffsetForcesByMirrorForceCommand *command) override
 
States::Type clearOffsetForces (ClearOffsetForcesCommand *command) override
 
States::Type turnLightsOn (TurnLightsOnCommand *command) override
 
States::Type turnLightsOff (TurnLightsOffCommand *command) override
 
States::Type turnPowerOn (TurnPowerOnCommand *command) override
 
States::Type turnPowerOff (TurnPowerOffCommand *command) override
 
States::Type disableForceActuator (DisableForceActuatorCommand *command) override
 
States::Type enableForceActuator (EnableForceActuatorCommand *command) override
 
States::Type enableAllForceActuators (EnableAllForceActuatorsCommand *command) override
 
States::Type setSlewControllerSettings (SetSlewControllerSettingsCommand *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 raiseM1M3 (RaiseM1M3Command *command)
 
virtual States::Type pauseM1M3RaisingLowering (PauseM1M3RaisingLoweringCommand *command)
 
virtual States::Type resumeM1M3RaisingLowering (ResumeM1M3RaisingLoweringCommand *command)
 
virtual States::Type enterEngineering (EnterEngineeringCommand *command)
 
virtual States::Type testHardpoint (TestHardpointCommand *command)
 
virtual States::Type killHardpointTest (KillHardpointTestCommand *command)
 
virtual States::Type abortRaiseM1M3 (AbortRaiseM1M3Command *command)
 
virtual States::Type abortProfile (AbortProfileCommand *command)
 
virtual States::Type forceActuatorBumpTest (ForceActuatorBumpTestCommand *command)
 
virtual States::Type killForceActuatorBumpTest (KillForceActuatorBumpTestCommand *command)
 
- 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
 

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 Engineering state.

Similar to Active state, mirror is raised and it's weight is supported by force actuators. This state allows execution of commands to position the mirror and change its shape.

Member Function Documentation

◆ clearSlewFlag()

States::Type ActiveEngineeringState::clearSlewFlag ( ClearSlewFlagCommand * command)
overridevirtual

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

◆ enableDisableForceComponent()

States::Type ActiveEngineeringState::enableDisableForceComponent ( EnableDisableForceComponentCommand * command)
overridevirtual

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

◆ exitEngineering()

States::Type ActiveEngineeringState::exitEngineering ( ExitEngineeringCommand * command)
overridevirtual

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

◆ getLoweringState()

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

◆ lowerM1M3()

States::Type ActiveEngineeringState::lowerM1M3 ( LowerM1M3Command * command)
overridevirtual

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

◆ positionM1M3()

States::Type ActiveEngineeringState::positionM1M3 ( PositionM1M3Command * command)
overridevirtual

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

◆ resetPID()

States::Type ActiveEngineeringState::resetPID ( ResetPIDCommand * command)
overridevirtual

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

◆ runMirrorForceProfile()

States::Type ActiveEngineeringState::runMirrorForceProfile ( RunMirrorForceProfileCommand * command)
overridevirtual

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

◆ setSlewFlag()

States::Type ActiveEngineeringState::setSlewFlag ( SetSlewFlagCommand * command)
overridevirtual

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

◆ translateM1M3()

States::Type ActiveEngineeringState::translateM1M3 ( TranslateM1M3Command * command)
overridevirtual

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

◆ update()

States::Type ActiveEngineeringState::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.

Here is the call graph for this function:

◆ updatePID()

States::Type ActiveEngineeringState::updatePID ( UpdatePIDCommand * command)
overridevirtual

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


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