#include <Thruster.h>
Inheritance diagram for Thruster:


Public Member Functions | |
| Thruster () | |
| Thruster (cfgBody &cfgdat) | |
| ~Thruster () | |
| int | Stop () |
| void | StartFire (BYTE signal) |
| void | StopFire () |
| int | Initialize () |
| Initializes the device for use. | |
| void | SetThrustLevel () |
| double | GetThrustLevel () const |
| double | GetCurrentPressure () const |
| virtual int | GetWheelCount () |
| bool | IsActive () |
| Returns the current state of m_bActiveState. | |
| Vector | GetLocation () const |
| Returns the physical location of the device with respect to whorl body coordinates. | |
| void | SetLocation (const Vector &newDeviceLocation) |
| Specify the physical location of the device with respect to whorl body coordinates. | |
Static Public Attributes | |
| const bool | c_bNotActive = false |
| a constant bool that is equal to false. | |
| const bool | c_bActive = true |
| a constant bool that is equal to true. | |
Protected Member Functions | |
| virtual int | Deinitialize () |
| Deinitializes the device from further use. | |
Protected Attributes | |
| char * | name |
Private Attributes | |
| PhysicalThruster | m_PhysicalThruster |
| double | m_CurrentAirPressure |
| double | m_CurrentThrustMagnitude |
| int | m_ThrusterNumber |
| DAQCard * | m_DAQCard |
|
|
Default Constructor Definition at line 19 of file Thruster.cpp. |
|
|
Constructor which accepts config parsing info Definition at line 23 of file Thruster.cpp. References getCmdIndex(), Initialize(), cfgBody::keys, m_CurrentAirPressure, m_ThrusterNumber, cfgBody::vals, and O_SESSAME::Vector. |
|
|
Deconstructor Definition at line 53 of file Thruster.cpp. References Device::Deinitialize(), and Stop(). |
|
|
Deinitializes the device from further use.
Reimplemented in ControlMomentGyro, LinearActuator, MomentumWheel, PhysicalControlMomentGyro, and PhysicalMomentumWheel. Definition at line 113 of file Device.cpp. References Device::c_bNotActive, and Device::SetActive(). Referenced by Device::~Device(), Relay::~Relay(), and ~Thruster(). |
|
|
Definition at line 91 of file Thruster.cpp. |
|
|
Returns the physical location of the device with respect to whorl body coordinates.
Definition at line 75 of file Device.cpp. References O_SESSAME::Vector. |
|
|
Get the steady state thrust magnitude Definition at line 86 of file Thruster.cpp. |
|
|
Reimplemented in MomentumWheel. Definition at line 27 of file Actuator.h. |
|
|
Initializes the device for use.
Reimplemented from Actuator. Definition at line 59 of file Thruster.cpp. References PhysicalThruster::Initialize(), m_PhysicalThruster, and SetThrustLevel(). Referenced by Thruster(). |
|
|
Returns the current state of m_bActiveState.
Definition at line 59 of file Device.cpp. Referenced by Device::Device(). |
|
|
Specify the physical location of the device with respect to whorl body coordinates.
Definition at line 67 of file Device.cpp. References Device::m_Location, and O_SESSAME::Vector. |
|
|
Set the desired thrust level (assumed steady state level with time > 600 ms) Definition at line 79 of file Thruster.cpp. References PhysicalThruster::CalcThrustLevel(), m_CurrentAirPressure, m_CurrentThrustMagnitude, and m_PhysicalThruster. Referenced by Initialize(). |
|
|
Fire the thruster Definition at line 69 of file Thruster.cpp. References m_PhysicalThruster, and PhysicalThruster::StartFire(). Referenced by main(). |
|
|
Implements Actuator. Definition at line 114 of file Thruster.cpp. Referenced by ~Thruster(). |
|
|
Default Const(); Definition at line 74 of file Thruster.cpp. References m_PhysicalThruster, and PhysicalThruster::StopFire(). Referenced by main(). |
|
|
a constant bool that is equal to true. Used for setting the active state Definition at line 50 of file Device.h. Referenced by Device::Initialize(). |
|
|
a constant bool that is equal to false. Used for setting the active state. Definition at line 48 of file Device.h. Referenced by Device::Deinitialize(), and Device::Device(). |
|
|
The current pressure level of the air supply Definition at line 96 of file Thruster.h. Referenced by SetThrustLevel(), and Thruster(). |
|
|
The current thrust magnitude, determined by the air pressure Definition at line 99 of file Thruster.h. Referenced by SetThrustLevel(). |
|
|
Pointer to an instance of the DAQ card Definition at line 105 of file Thruster.h. |
|
|
The physical thruster object Definition at line 87 of file Thruster.h. Referenced by Initialize(), SetThrustLevel(), StartFire(), and StopFire(). |
|
|
The index number used to reference the thruster Definition at line 102 of file Thruster.h. Referenced by Thruster(). |
|
|
|
1.3.9.1