Inherits Eaagles::Basic::LcObject.
Inheritance diagram for Eaagles::Simulation::Gimbal::Tdb:


Public Member Functions | |
| Tdb () | |
| unsigned int | getMaxTargets () const |
| unsigned int | getNumberOfTargets () const |
| const LCreal * | getTargetRanges () const |
| const LCreal * | getTargetRangeRates () const |
| const osg::Vec3 * | getLosVectors () const |
| const osg::Vec4 * | getGimbalLosVectors () const |
| const LCreal * | getBoresightErrorAngles () const |
| const LCreal * | getBoresightAzimuthErrors () const |
| const LCreal * | getBoresightElevationErrors () const |
| Player ** | getTarget () |
| Player **const | getTarget () const |
| virtual void | clearArrays () |
| virtual bool | resizeArrays (const unsigned int newSize) |
| virtual void | setOwnship (const Player *const newOwnship) |
| virtual void | setGimbal (const Gimbal *const newGimbal) |
| virtual unsigned int | processPlayers (Basic::LcPairStream *const players) |
| virtual unsigned int | computeBoresightData () |
Protected Attributes | |
| const Player * | ownship |
| const Gimbal * | gimbal |
| LCreal * | ranges |
| LCreal * | rngRates |
| osg::Vec3 * | los |
| osg::Vec4 * | los4 |
| osg::Vec4 * | losG |
| LCreal * | aar |
| LCreal * | aazr |
| LCreal * | aelr |
| Player ** | targets |
| unsigned int | maxTargets |
| unsigned int | numTgts |
Contains a list of targets, and their associated geometry data,
| Eaagles::Simulation::Gimbal::Tdb::Tdb | ( | ) |
| unsigned int Eaagles::Simulation::Gimbal::Tdb::getMaxTargets | ( | ) | const [inline] |
Max number of targets (i.e., size of the arrays).
| unsigned int Eaagles::Simulation::Gimbal::Tdb::getNumberOfTargets | ( | ) | const [inline] |
Number of active targets.
| const LCreal* Eaagles::Simulation::Gimbal::Tdb::getTargetRanges | ( | ) | const [inline] |
The array of target ranges (m).
| const LCreal* Eaagles::Simulation::Gimbal::Tdb::getTargetRangeRates | ( | ) | const [inline] |
The array of target range rates (m/s).
| const osg::Vec3* Eaagles::Simulation::Gimbal::Tdb::getLosVectors | ( | ) | const [inline] |
The array of Line-Of-Sight (LOS) vectors (normalized).
| const osg::Vec4* Eaagles::Simulation::Gimbal::Tdb::getGimbalLosVectors | ( | ) | const [inline] |
The array of Line-Of-Sight vectors in Gimbal coordinates (normalized).
| const LCreal* Eaagles::Simulation::Gimbal::Tdb::getBoresightErrorAngles | ( | ) | const [inline] |
Compute angle off antenna boresight (radians).
| const LCreal* Eaagles::Simulation::Gimbal::Tdb::getBoresightAzimuthErrors | ( | ) | const [inline] |
Compute azimuth off boresight (radians).
| const LCreal* Eaagles::Simulation::Gimbal::Tdb::getBoresightElevationErrors | ( | ) | const [inline] |
Compute elevation off boresight (radians).
| Player** Eaagles::Simulation::Gimbal::Tdb::getTarget | ( | ) | [inline] |
The array of target pointer.
| Player** const Eaagles::Simulation::Gimbal::Tdb::getTarget | ( | ) | const [inline] |
The array of target pointer (const version).
| void Eaagles::Simulation::Gimbal::Tdb::clearArrays | ( | ) | [virtual] |
Clear the target data arrays.
| bool Eaagles::Simulation::Gimbal::Tdb::resizeArrays | ( | const unsigned int | newSize | ) | [virtual] |
Resize the target data arrays -- old data is lost
| void Eaagles::Simulation::Gimbal::Tdb::setOwnship | ( | const Player *const | newOwnship | ) | [virtual] |
Sets our ownship player.
| void Eaagles::Simulation::Gimbal::Tdb::setGimbal | ( | const Gimbal *const | newGimbal | ) | [virtual] |
Sets our Gimbal.
| unsigned int Eaagles::Simulation::Gimbal::Tdb::processPlayers | ( | Basic::LcPairStream *const | players | ) | [virtual] |
Process players-of-interest --- Scan the provided player list and compute range, range rate, normalized Line-Of-Sight (LOS) vectors for each target player. (Background task)
| unsigned int Eaagles::Simulation::Gimbal::Tdb::computeBoresightData | ( | ) | [virtual] |
Compute Boresight Data --- Scan the target list, which as been pre-processed by processPlayers(), and compute gimbal boresight data. (Time-critical task -- in sync with gimbal dynamics & transmit)
const Player* Eaagles::Simulation::Gimbal::Tdb::ownship [protected] |
Our ownship player.
const Gimbal* Eaagles::Simulation::Gimbal::Tdb::gimbal [protected] |
Our gimbal.
LCreal* Eaagles::Simulation::Gimbal::Tdb::ranges [protected] |
Range to target (m).
LCreal* Eaagles::Simulation::Gimbal::Tdb::rngRates [protected] |
Range Rate (m/s).
osg::Vec3* Eaagles::Simulation::Gimbal::Tdb::los [protected] |
3D Line-Of-Sight (LOS)Vector (normalized)
osg::Vec4* Eaagles::Simulation::Gimbal::Tdb::los4 [protected] |
4D LOS vector (normalized)
osg::Vec4* Eaagles::Simulation::Gimbal::Tdb::losG [protected] |
4D LOS vector in Gimbal coord (normalized)
LCreal* Eaagles::Simulation::Gimbal::Tdb::aar [protected] |
Compute angle off antenna boresight (radians).
LCreal* Eaagles::Simulation::Gimbal::Tdb::aazr [protected] |
Compute azimuth off boresight (radians).
LCreal* Eaagles::Simulation::Gimbal::Tdb::aelr [protected] |
Compute elevation off boresight (radians).
Player** Eaagles::Simulation::Gimbal::Tdb::targets [protected] |
Target pointer.
unsigned int Eaagles::Simulation::Gimbal::Tdb::maxTargets [protected] |
Max number of targets (i.e., size of the arrays).
unsigned int Eaagles::Simulation::Gimbal::Tdb::numTgts [protected] |
Number of targets.
1.5.0