From 49e7e4195066124aa6b1377d3094365b89055eaa Mon Sep 17 00:00:00 2001 From: bresch Date: Fri, 10 Jan 2025 14:34:13 +0100 Subject: [PATCH] sf45: precise Quatf namespace --- .../lightware_sf45_serial/lightware_sf45_serial.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/distance_sensor/lightware_sf45_serial/lightware_sf45_serial.cpp b/src/drivers/distance_sensor/lightware_sf45_serial/lightware_sf45_serial.cpp index 0e12739cf8f4..ab8a5705818a 100755 --- a/src/drivers/distance_sensor/lightware_sf45_serial/lightware_sf45_serial.cpp +++ b/src/drivers/distance_sensor/lightware_sf45_serial/lightware_sf45_serial.cpp @@ -652,7 +652,7 @@ void SF45LaserSerial::sf45_process_replies(float *distance_m) vehicle_attitude_s vehicle_attitude; if (_vehicle_attitude_sub.copy(&vehicle_attitude)) { - _vehicle_attitude = Quatf(vehicle_attitude.q); + _vehicle_attitude = matrix::Quatf(vehicle_attitude.q); } }