HAL_SITL: update for changed SITL API

This commit is contained in:
Andrew Tridgell 2021-07-10 16:19:32 +10:00
parent 5eaf76cdc8
commit 7550368fc7

View File

@ -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);
}