WSF
WsfRadarSensorErrorModel.hpp
Go to the documentation of this file.
1// ****************************************************************************
2// CUI
3//
4// The Advanced Framework for Simulation, Integration, and Modeling (AFSIM)
5//
6// Copyright 2017 Infoscitex, a DCS Company. All rights reserved.
7//
8// The use, dissemination or disclosure of data in this file is subject to
9// limitation or restriction. See accompanying README and LICENSE for details.
10// ****************************************************************************
11
12#ifndef WSFRADARSENSORERRORMODEL_HPP
13#define WSFRADARSENSORERRORMODEL_HPP
14
15#include "wsf_export.h"
16
17#include <memory>
18
19#include "UtRandom.hpp"
21
22namespace wsf
23{
24
27{
28public:
29 static std::unique_ptr<SensorErrorModelBase> ObjectFactory(const std::string& aTypeName);
30
31 RadarSensorErrorModel* Clone() const override;
32 bool ProcessInput(UtInput& aInput) override;
33 bool Initialize(WsfSensorMode* aSensorModePtr) override;
34
35 void ApplyMeasurementErrors(const SphericalMeasurementErrors& aErrors, WsfSensorResult& aResult) override;
36
37private:
38 SphericalMeasurementErrors GetSphericalErrorStdDev(ut::Random& aRandom,
39 WsfSensorResult& aResult,
40 const Sigmas& aSigmas) const override;
41 SphericalMeasurementErrors GetRadarSphericalErrorStdDev(ut::Random& aRandom, WsfSensorResult& aResult) const;
42
43 bool mOverrideMeasurementWithTruth{false};
44 bool mComputeMeasurementErrors{false};
45};
46
47} // namespace wsf
48
49#endif
#define WSF_EXPORT
Definition WsfXIO_Export.hpp:35
Definition WsfSensorMode.hpp:36
Definition WsfSensorResult.hpp:27
A sensor error model for the Radar Sensor Specific Error Model functionality.
Definition WsfRadarSensorErrorModel.hpp:27
RadarSensorErrorModel * Clone() const override
Create a clone of "this" object.
Definition WsfRadarSensorErrorModel.cpp:27
static std::unique_ptr< SensorErrorModelBase > ObjectFactory(const std::string &aTypeName)
Definition WsfRadarSensorErrorModel.cpp:36
bool ProcessInput(UtInput &aInput) override
Definition WsfRadarSensorErrorModel.cpp:88
void ApplyMeasurementErrors(const SphericalMeasurementErrors &aErrors, WsfSensorResult &aResult) override
Definition WsfRadarSensorErrorModel.cpp:59
bool Initialize(WsfSensorMode *aSensorModePtr) override
Definition WsfRadarSensorErrorModel.cpp:47
Definition WsfStandardSensorErrorModel.hpp:47
Function definitions for those who need run-time access to the version.
Definition WsfComm.cpp:32
A standard set of errors associated with single sensor mono-static detections.
Definition WsfStandardSensorErrorModel.hpp:26
A set of standard deviations of the mean associated with single sensor monostatic detections.
Definition WsfStandardSensorErrorModel.hpp:51
Copyrights Multiple, All Rights Reserved