Skip to content

Commit

Permalink
Mavlink HITL: remove set home position only condition
Browse files Browse the repository at this point in the history
  • Loading branch information
haitomatic committed Nov 18, 2024
1 parent 8daafb7 commit 413bbb4
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/modules/mavlink/mavlink_receiver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2337,11 +2337,6 @@ MavlinkReceiver::handle_message_hil_sensor(mavlink_message_t *msg)
void
MavlinkReceiver::handle_message_hil_gps(mavlink_message_t *msg)
{
// Only use to set home position
if (_mavlink->get_hil_enabled() && _hil_pos_ref.isInitialized()) {
return;
}

mavlink_hil_gps_t hil_gps;
mavlink_msg_hil_gps_decode(msg, &hil_gps);

Expand Down

0 comments on commit 413bbb4

Please sign in to comment.