Skip to content

Commit

Permalink
Merge pull request #1240 from TSC21/pr-fix_mission_impl
Browse files Browse the repository at this point in the history
plugins: mission_impl: update MAVLinkCommands to MavlinkCommandSender to fix build
  • Loading branch information
JonasVautherin authored Oct 23, 2020
2 parents d3309a6 + 60ec250 commit 4b6aa8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/mission/mission_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ void MissionImpl::enable()
_parent->register_timeout_handler(
[this]() { receive_protocol_timeout(); }, 1.0, &_gimbal_protocol_cookie);

MAVLinkCommands::CommandLong command{};
MavlinkCommandSender::CommandLong command{};
command.command = MAV_CMD_REQUEST_MESSAGE;
command.params.param1 = static_cast<float>(MAVLINK_MSG_ID_GIMBAL_MANAGER_INFORMATION);
command.target_component_id = 0; // any component
Expand Down

0 comments on commit 4b6aa8d

Please sign in to comment.