5
0
mirror of https://github.com/ArduPilot/ardupilot synced 2025-01-03 14:38:30 -04:00

AP_Math: add and use global NaNf float value

This commit is contained in:
Peter Barker 2024-09-23 19:43:11 +10:00 committed by Peter Barker
parent 54247833c0
commit 7710e3c9bc

View File

@ -20,6 +20,8 @@
#include "location.h"
#include "control.h"
static const float NaNf = nanf("0x4152");
#if HAL_WITH_EKF_DOUBLE
typedef Vector2<double> Vector2F;
typedef Vector3<double> Vector3F;