Skip to content

Commit

Permalink
Do not handle hil_state_quaternion
Browse files Browse the repository at this point in the history
  • Loading branch information
jnippula authored and haitomatic committed Oct 4, 2023
1 parent 6de6c0c commit 3200295
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion src/modules/mavlink/mavlink_receiver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,11 @@ MavlinkReceiver::handle_message(mavlink_message_t *msg)
break;

case MAVLINK_MSG_ID_HIL_STATE_QUATERNION:
handle_message_hil_state_quaternion(msg);
/* Do not handle hil_state_quaternion,
but let ekf2 to take care of position
estimation.
*/
//handle_message_hil_state_quaternion(msg);
break;

case MAVLINK_MSG_ID_HIL_OPTICAL_FLOW:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,11 @@ void SimulatorMavlink::handle_message(const mavlink_message_t *msg)
break;

case MAVLINK_MSG_ID_HIL_STATE_QUATERNION:
handle_message_hil_state_quaternion(msg);
/* Do not handle hil_state_quaternion,
but let ekf2 to take care of position
estimation.
*/
//handle_message_hil_state_quaternion(msg);
break;

case MAVLINK_MSG_ID_RAW_RPM:
Expand Down

0 comments on commit 3200295

Please sign in to comment.