#include <AttitudeSensor.h>
Inheritance diagram for AttitudeSensor:
Public Member Functions | |
AttitudeSensor () | |
virtual | ~AttitudeSensor () |
virtual Vector | GetSensorToBodyQuaternion ()=0 |
virtual Measurement | GetMeasurement ()=0 |
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 | Initialize () |
Initializes the device for use. | |
virtual int | Deinitialize () |
Deinitializes the device from further use. | |
Protected Attributes | |
char * | name |
|
Constructors-Deconstructors Definition at line 24 of file AttitudeSensor.h. |
|
Definition at line 25 of file AttitudeSensor.h. |
|
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::~Thruster(). |
|
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 current measurement
Implemented in DMUAccelerometer, DMURateGyro, DMUTemperatureSensor, Magnetometer, PhysicalTiltSensor, TiltSensor, and VisualVector. Referenced by AttitudeObserver::Initialize(), main(), triadObserver::Run(), DefaultObserver::Run(), AttitudeObserver::Run(), and atterrbiasObserver::Run(). |
|
Gets the sensor to body attitude quaternion for the attitude sensor Implemented in DMUAccelerometer, DMURateGyro, PhysicalTiltSensor, and TiltSensor. |
|
Initializes the device for use.
Reimplemented in ControlMomentGyro, PhysicalControlMomentGyro, PhysicalMomentumWheel, Thruster, Actuator, Relay, DMUAccelerometer, DMURateGyro, PhysicalTiltSensor, and TiltSensor. Definition at line 100 of file Device.cpp. References Device::c_bActive, and Device::SetActive(). Referenced by Actuator::Initialize(), and Magnetometer::Magnetometer(). |
|
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. |
|
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(). |
|
|