Auterion App SDK
Auterion SDK is a library that can be used by AuterionOS apps to communicate with the system.
|
Class for assessing various properties of LocalPosition objects. More...
#include <auterion_sdk/system_state/global_position_assessor.hpp>
Public Member Functions | |
GlobalPositionAssessor (const SystemState &system_state, const GlobalPositionAssessorConfig &config=GlobalPositionAssessorConfig{}) | |
Constructor for GlobalPositionAssessor. More... | |
~GlobalPositionAssessor ()=default | |
Destructor for GlobalPositionAssessor. | |
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. More... | |
Class for assessing various properties of LocalPosition objects.
|
explicit |
Constructor for GlobalPositionAssessor.
system_state | Reference to the SystemState instance. |
config | Configuration for the GlobalPositionAssessor, defines default acceptance criteria (optional). |
bool auterion::GlobalPositionAssessor::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.
target_position | Target global position. |
position_error_threshold_m | Position error threshold [m] (optional). |