|
WSF
|
A sensor error model for the Radar Sensor Specific Error Model functionality. More...
#include <WsfSurfaceWaveRadarSensorErrorModel.hpp>


Public Member Functions | |
| SurfaceWaveRadarSensorErrorModel * | Clone () const override |
| Create a clone of "this" object. | |
| bool | Initialize (WsfSensorMode *aSensorModePtr) override |
| bool | ProcessInput (UtInput &aInput) override |
| void | ApplyMeasurementErrors (const wsf::SphericalMeasurementErrors &aErrors, WsfSensorResult &aResult) override |
| Public Member Functions inherited from wsf::StandardSensorErrorModel | |
| bool | IsStandardModel () const final |
| void | SetSigmas (const Sigmas &aSigmas) |
| const Sigmas & | GetSigmas () const |
| void | SetAzErrorStdDev (double aAzErrorStdDev) |
| void | SetElErrorStdDev (double aElErrorStdDev) |
| void | SetRangeErrorStdDev (double aRangeErrorStdDev) |
| void | SetRangeRateErrorStdDev (double aRangeRateErrorStdDev) |
| std::unique_ptr< SphericalMeasurementErrors > | ComputeMeasurementErrors (WsfSensorResult &aResult) const override |
| Public Member Functions inherited from wsf::SensorErrorModelBase | |
| virtual void | ApplyMeasurementErrors (WsfSensorResult &aResult)=0 |
| virtual bool | IsNullModel () const |
| Is this a null model (i.e., ApplyMeasurementErrors has no effect). | |
| 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< wsf::SensorErrorModelBase > | ObjectFactory (const std::string &aTypeName) |
| Static Public Member Functions inherited from wsf::StandardSensorErrorModel | |
| static std::unique_ptr< SensorErrorModelBase > | ObjectFactory (const std::string &aTypeName) |
Protected Member Functions | |
| SphericalMeasurementErrors | GetSphericalErrorStdDev (ut::Random &aRandom, WsfSensorResult &aResult, const Sigmas &aSigmas) const override |
| WsfObject (const WsfObject &aSrc) | |
| Copy constructor (for Clone()). | |
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. | |
A sensor error model for the Radar Sensor Specific Error Model functionality.
|
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. |
Reimplemented from wsf::StandardSensorErrorModel.
References wsf::SensorErrorModelBase::GetSensorMode(), wsf::SphericalMeasurementErrors::mAzError, wsf::SphericalMeasurementErrors::mElError, WsfSensorResult::mMeasurement, WsfEM_Interaction::RelativeData::mRange, wsf::SphericalMeasurementErrors::mRangeError, wsf::SphericalMeasurementErrors::mRangeRateError, WsfEM_Interaction::mRcvrToTgt, WsfEM_Interaction::RelativeData::mTrueAz, and WsfEM_Interaction::RelativeData::mTrueEl.
|
overridevirtual |
Create a clone of "this" object.
Reimplemented from wsf::StandardSensorErrorModel.
|
overrideprotectedvirtual |
Specifically compute normally distributed polar measurement errors based on the given sensor result and set of standard deviations.
| aRandom | The random number generator used to generate the errors. |
| aResult | The sensing chance result that may be used to help compute the sensor errors. |
| aSigmas | The set of standard deviations used to compute the sensor errors. |
Reimplemented from wsf::StandardSensorErrorModel.
References WsfEM_XmtrRcvr::GetAzimuthBeamwidth(), WsfEM_XmtrRcvr::GetBandwidth(), WsfSurfaceWaveRadarSensor::RadarMode::GetDopplerResolution(), WsfEM_XmtrRcvr::GetElevationBeamwidth(), WsfEM_Xmtr::GetPulseCompressionRatio(), WsfEM_Xmtr::GetPulseWidth(), WsfEM_Interaction::GetReceiver(), wsf::SensorErrorModelBase::GetSensorMode(), WsfEM_Interaction::GetTransmitter(), wsf::SphericalMeasurementErrors::mAzError, wsf::SphericalMeasurementErrors::mElError, WsfSensorResult::mMeasurement, wsf::SphericalMeasurementErrors::mRangeError, wsf::SphericalMeasurementErrors::mRangeRateError, WsfEM_Interaction::mSignalToNoise, WsfSensorMode::ReportsBearing(), WsfSensorMode::ReportsElevation(), WsfSensorMode::ReportsLocation(), WsfSensorMode::ReportsRange(), and WsfSensorMode::ReportsRangeRate().
|
overridevirtual |
Perform any necessary initialization.
| aSensorModePtr | The sensor mode used by this error model. |
Reimplemented from wsf::SensorErrorModelBase.
References WsfObject::GetName(), WsfSensorMode::GetSensor(), wsf::SensorErrorModelBase::Initialize(), and ok.
|
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 WsfMilExtension::AddedToScenario().
|
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 wsf::StandardSensorErrorModel.