Commit b5285c27 authored by Léo-Paul Géneau's avatar Léo-Paul Géneau 👾

fix setAirspeed

parent 3ea4a41c
...@@ -308,7 +308,7 @@ int mavsdk_setAirspeed(float airspeed) { ...@@ -308,7 +308,7 @@ int mavsdk_setAirspeed(float airspeed) {
command.command = MAV_CMD_DO_OVERRIDE; command.command = MAV_CMD_DO_OVERRIDE;
command.param1 = 1 | 2 | 4 | 8; command.param1 = 1 | 2 | 4 | 8;
command.param2 = 2 | 4 | 8; command.param2 = 2 | 4 | 8;
command.param3 = airspeed; command.param4 = airspeed;
command.target_sysid = mavlink_passthrough->get_target_sysid(); command.target_sysid = mavlink_passthrough->get_target_sysid();
command.target_compid = mavlink_passthrough->get_target_compid(); command.target_compid = mavlink_passthrough->get_target_compid();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment