Skip to content

Commit

Permalink
fix: revert mavlink changes, now compiles with upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro-Roque committed May 13, 2024
1 parent 5dc1a51 commit 5c15c2e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/gazebo_camera_manager_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,8 @@ void CameraManagerPlugin::_handle_camera_info(const mavlink_message_t *pMsg, str
0, // lens_id
camera_capabilities, // CAP_FLAGS
0, // Camera Definition Version
uri // URI
uri, // URI,
0
);
_send_mavlink_message(&msg, srcaddr);
}
Expand Down
6 changes: 4 additions & 2 deletions src/gazebo_gimbal_controller_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,8 @@ void GimbalControllerPlugin::SendGimbalDeviceInformation()
pitchMin,
pitchMax,
yawMin,
yawMax);
yawMax,
0);
SendMavlinkMessage(msg);
}

Expand Down Expand Up @@ -736,7 +737,8 @@ void GimbalControllerPlugin::SendGimbalDeviceAttitudeStatus()
angularVelocity.Z(),
failureFlags,
NAN, // per mavlink spec - NAN if unknown
NAN);
NAN,
0);
SendMavlinkMessage(msg);
}

Expand Down

0 comments on commit 5c15c2e

Please sign in to comment.