35 #include <Eigen/Eigen>
36 #include <auterion_sdk/system_state/system_state.hpp>
99 const Eigen::Vector3d& target_position,
100 const std::optional<float> position_error_threshold_m = std::nullopt)
const;
103 std::shared_ptr<SystemState> _system_state;
Class for assessing various properties of LocalPosition objects.
Definition: global_position_assessor.hpp:75
bool isPositionWithinThreshold(const Eigen::Vector3d &target_position, const std::optional< float > position_error_threshold_m=std::nullopt) const
Check if the current position is within specified thresholds of the target location.
~GlobalPositionAssessor()=default
Destructor for GlobalPositionAssessor.
GlobalPositionAssessor(const SystemState &system_state, const GlobalPositionAssessorConfig &config=GlobalPositionAssessorConfig{})
Constructor for GlobalPositionAssessor.
Provides access to the system's state, including flight controller telemetry.
Definition: system_state.hpp:278
Configuration structure for GlobalPositionAssessor, defines default acceptance criteria for local pos...
Definition: global_position_assessor.hpp:53
float position_error_threshold_m
Definition: global_position_assessor.hpp:54
GlobalPositionAssessorConfig & withPositionErrorThreshold(const float position_error_threshold_m)
Set the position error threshold.
Definition: global_position_assessor.hpp:61