Skip to content

Commit

Permalink
Request mode change for action MAV_CMD_DO_REPOSITION
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaeyoung-Lim committed Nov 2, 2023
1 parent b29239d commit 816b5f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mavsdk/plugins/action/action_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,7 @@ void ActionImpl::goto_location_async(
command.params.x = int32_t(std::round(latitude_deg * 1e7));
command.params.y = int32_t(std::round(longitude_deg * 1e7));
command.params.maybe_z = altitude_amsl_m;
command.params.maybe_param2 = 1;

_system_impl->send_command_async(
command, [this, callback](MavlinkCommandSender::Result result, float) {
Expand Down

0 comments on commit 816b5f6

Please sign in to comment.