|
WSF
|
#include <WsfAbsoluteSensorErrorModel.hpp>


Public Member Functions | |
| SensorErrorModelBase * | Clone () const override |
| Create a clone of "this" object. | |
| bool | ProcessInput (UtInput &aInput) override |
| void | SetSigma (double aSigma) |
| double | GetSigma () const |
| std::unique_ptr< AbsoluteMeasurementError > | ComputeMeasurementErrors (WsfSensorResult &aResult) const override |
| void | ApplyMeasurementErrors (const AbsoluteMeasurementError &aErrors, WsfSensorResult &aResult) override |
| Public Member Functions inherited from wsf::SensorErrorModelBase | |
| bool | ProcessInput (UtInput &aInput) override |
| virtual bool | Initialize (WsfSensorMode *aSensorModePtr) |
| virtual void | ApplyMeasurementErrors (WsfSensorResult &aResult)=0 |
| virtual bool | IsNullModel () const |
| Is this a null model (i.e., ApplyMeasurementErrors has no effect). | |
| virtual bool | IsStandardModel () const |
| bool | DebugEnabled () const |
| WsfSensorMode * | GetSensorMode () const |
| void | SetSensorMode (WsfSensorMode *aSensorModePtr) |
| Public Member Functions inherited from WsfObject | |
| WsfObject () | |
| This is the constructor for the WsfObject class. | |
| ~WsfObject () override | |
| This is the destructor for the WsfObject class. | |
| const char * | GetScriptClassName () const override |
| const std::string & | GetType () const |
| WsfStringId | GetTypeId () const |
| Get the string ID of the 'type' of the object. | |
| void | SetType (WsfStringId aType) |
| const std::string & | GetBaseType () const |
| WsfStringId | GetBaseTypeId () const |
| const TypeList & | GetTypeList () const |
| bool | IsA_TypeOf (WsfStringId aType) const |
| WsfObject & | operator= (const WsfObject &aRhs) |
| Assignment operator. | |
| template<typename T> | |
| void | Serialize (T &aBuff) |
| For XIO (de)serialization. | |
| const std::string & | GetName () const |
| WsfStringId | GetNameId () const |
| void | SetName (WsfStringId aName) |
Static Public Member Functions | |
| static std::unique_ptr< SensorErrorModelBase > | ObjectFactory (const std::string &aTypeName) |
Additional Inherited Members | |
| Public Types inherited from wsf::SensorErrorModelBase | |
| using | SensorModelTypes = WsfObjectTypeList<SensorErrorModelBase> |
| Public Types inherited from WsfObject | |
| typedef std::vector< WsfStringId > | TypeList |
| The list of types returned by GetTypeList. | |
| WsfObject (const WsfObject &aSrc) | |
| Copy constructor (for Clone()). | |
A sensor error model that computes an error about the target that is either two or three dimensional, based on a fixed radial distance from the target. For 2D errors, applies position error to the track in Lat/Long (or target-centered North/East) dimensions according to a Gaussian draw, resulting in 68% of track position measurements being within a circle of one sigma radius centered on the target's truth position; target altitude will be reported without error. For 3D errors, applies positional error to the track in target-centered North, East, and Down according to a Gaussian draw, resulting in 68% of track position measurements being within a sphere of one sigma radius.
|
overridevirtual |
Apply measurement errors computed with ComputeMeasurementErrors to a sensor result.
| aErrors | The sensor errors as returned from ComputeMeasurementErrors. |
| aResult | The sensing chance result to which the error is applied. |
Implements wsf::SensorErrorModel< AbsoluteMeasurementError >.
References WsfPlatformPart::GetPlatform(), WsfSensorMode::GetSensor(), wsf::SensorErrorModelBase::GetSensorMode(), WsfEM_Interaction::LocationData::mAlt, WsfEM_Interaction::LocationData::mLat, WsfEM_Interaction::LocationData::mLocWCS, WsfEM_Interaction::LocationData::mLon, WsfSensorResult::mMeasurement, WsfEM_Interaction::RelativeData::mRange, WsfEM_Interaction::mRcvrLoc, WsfEM_Interaction::mRcvrToTgt, WsfEM_Interaction::mRcvrToXmtr, WsfEM_Interaction::mTgtLoc, WsfEM_Interaction::mXmtrLoc, and WsfMeasurement::SetSphericalMeasurement().
|
overridevirtual |
Create a clone of "this" object.
Implements wsf::SensorErrorModelBase.
|
overridevirtual |
Compute the sensor errors associated with this model and return them.
| aResult | The sensing chance result that is used as a basis for the error computation. |
Implements wsf::SensorErrorModel< AbsoluteMeasurementError >.
References WsfSensor::GetRandom(), WsfSensorMode::GetSensor(), and wsf::SensorErrorModelBase::GetSensorMode().
|
inline |
|
static |
Factory method for WsfSensorErrorModelTypes. This is called by WsfSensorErrorModelTypes::LoadType to determine if a pattern represented by this class is being requested.
Referenced by WsfSensorErrorModelTypes::WsfSensorErrorModelTypes().
|
overridevirtual |
Process input from a generic source.
Examine the current input command. If it is NOT one of the commands recognized by this class then it simply returns 'false'. If it is one of the commands recognized by this class then it processes the command and returns 'true'.
| aInput | a reference to a UtInput object. |
| UtInput::ExceptionBase | (or an object derived from it) if the command was recognized but contains some sort of error. |
Reimplemented from WsfObject.
References wsf::SensorErrorModelBase::ProcessInput().
|
inline |