M1M3 Support System
Loading...
Searching...
No Matches
LSST::M1M3::SS::HardpointTestController Class Reference

Performs hardpoint test. More...

#include <HardpointTestController.h>

Inheritance diagram for LSST::M1M3::SS::HardpointTestController:
Collaboration diagram for LSST::M1M3::SS::HardpointTestController:

Public Member Functions

 HardpointTestController (PositionController *positionController)
 
int startHardpointTest (int hardpointIndex)
 Starts hardpoint test.
 
void runLoop ()
 Run single loop.
 
int killHardpointTest (int hardpointIndex)
 Stops hardpoint test in progress;.
 
bool isTested (int hardpointIndex)
 Returns true if given hardpoint is being tested.
 

Detailed Description

Performs hardpoint test.

Hardpoint testing state is stored in inherited MTM1M3_logevent_hardpointTestStatusC.

Member Function Documentation

◆ isTested()

bool LSST::M1M3::SS::HardpointTestController::isTested ( int hardpointIndex)

Returns true if given hardpoint is being tested.

Parameters
hardpointIndexhardpoint index (0-5)
Returns
true if the hardpoint is being tested

◆ killHardpointTest()

int LSST::M1M3::SS::HardpointTestController::killHardpointTest ( int hardpointIndex)

Stops hardpoint test in progress;.

Parameters
hardpoint_indexhardpoint index (0-5), negative to stop all hardpoints
Returns
0 on success, 1 on error

◆ runLoop()

void LSST::M1M3::SS::HardpointTestController::runLoop ( )

Run single loop.

Shall be called from update command after telemetry data are queried and send.

◆ startHardpointTest()

int LSST::M1M3::SS::HardpointTestController::startHardpointTest ( int hardpointIndex)

Starts hardpoint test.

Parameters
hardpointIndexhardpoint index (0-5)
Returns
0 on success, 1 on error

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