From 7550368fc77a10064585bf5500d14b97ffb45ed6 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 10 Jul 2021 16:19:32 +1000 Subject: [PATCH] HAL_SITL: update for changed SITL API --- libraries/AP_HAL_SITL/SITL_State.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_HAL_SITL/SITL_State.cpp b/libraries/AP_HAL_SITL/SITL_State.cpp index ca46800a92..347f495c96 100644 --- a/libraries/AP_HAL_SITL/SITL_State.cpp +++ b/libraries/AP_HAL_SITL/SITL_State.cpp @@ -638,7 +638,7 @@ void SITL_State::_fdm_input_local(void) Quaternion attitude; sitl_model->get_attitude(attitude); vicon->update(sitl_model->get_location(), - sitl_model->get_position(), + sitl_model->get_position_relhome(), sitl_model->get_velocity_ef(), attitude); }