FERS 1.0.0
The Flexible Extensible Radar Simulator
Loading...
Searching...
No Matches
rotation_warning_utils.h File Reference
#include <string>
#include <string_view>
#include <vector>
#include "core/config.h"
#include "core/parameters.h"
+ Include dependency graph for rotation_warning_utils.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  serial::rotation_warning_utils::InferenceResult
 

Namespaces

namespace  serial
 
namespace  serial::rotation_warning_utils
 

Enumerations

enum class  serial::rotation_warning_utils::ValueKind { serial::rotation_warning_utils::Angle , serial::rotation_warning_utils::Rate }
 
enum class  serial::rotation_warning_utils::Confidence { serial::rotation_warning_utils::None , serial::rotation_warning_utils::Low , serial::rotation_warning_utils::Medium , serial::rotation_warning_utils::High }
 
enum class  serial::rotation_warning_utils::WarningSensitivity { serial::rotation_warning_utils::HighConfidence , serial::rotation_warning_utils::MediumOrHigh , serial::rotation_warning_utils::Aggressive }
 

Functions

InferenceResult serial::rotation_warning_utils::infer_unit_from_value (const RealType value, const ValueKind kind) noexcept
 
bool serial::rotation_warning_utils::should_warn (const Confidence confidence, const WarningSensitivity sensitivity) noexcept
 
void serial::rotation_warning_utils::clear_captured_warnings () noexcept
 
std::vector< std::string > serial::rotation_warning_utils::take_captured_warnings ()
 
void serial::rotation_warning_utils::maybe_warn_about_rotation_value (const RealType value, const params::RotationAngleUnit declared_unit, const ValueKind kind, const std::string_view source, const std::string_view owner, const std::string_view field)
 

Variables

constexpr WarningSensitivity serial::rotation_warning_utils::kWarningSensitivity = WarningSensitivity::MediumOrHigh