Skip to content

Commit

Permalink
Vehicle: don't filter gimbal device messages
Browse files Browse the repository at this point in the history
I don't think we're supposed to filter messages coming from the gimbal
device as they could be sent directly from a gimbal rather than the
autopilot.

Signed-off-by: Julian Oes <[email protected]>
  • Loading branch information
julianoes committed Apr 24, 2023
1 parent 5ed202e commit a0f8307
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Vehicle/Vehicle.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4269,10 +4269,6 @@ void Vehicle::_handleObstacleDistance(const mavlink_message_t& message)

void Vehicle::_handleGimbalDeviceAttitudeStatus(const mavlink_message_t& message)
{
if (message.compid != _compID) {
return;
}

mavlink_gimbal_device_attitude_status_t o;
mavlink_msg_gimbal_device_attitude_status_decode(&message, &o);

Expand Down

0 comments on commit a0f8307

Please sign in to comment.