Skip to content

Commit

Permalink
MAVLink: allow more args to SCRIPT_TIME
Browse files Browse the repository at this point in the history
  • Loading branch information
tridge authored and meee1 committed Oct 25, 2022
1 parent bdbc439 commit 4755552
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ExtLibs/ArduPilot/Mavlink/MAVLinkInterface.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3386,6 +3386,7 @@ public async Task<Locationwp> getWPAsync(byte sysid, byte compid, ushort index,
if (loc.id == (ushort) MAV_CMD.DO_DIGICAM_CONTROL ||
loc.id == (ushort) MAV_CMD.DO_DIGICAM_CONFIGURE ||
loc.id == (ushort) MAV_CMD.ATTITUDE_TIME ||
loc.id == (ushort) MAV_CMD.SCRIPT_TIME ||
loc.id == (ushort) MAV_CMD.DO_GIMBAL_MANAGER_PITCHYAW)
{
loc.lat = wp.x;
Expand Down Expand Up @@ -3854,6 +3855,7 @@ public async Task<MAV_MISSION_RESULT> setWPAsync(byte sysid, byte compid, Locati
if (loc.id == (ushort) MAV_CMD.DO_DIGICAM_CONTROL ||
loc.id == (ushort) MAV_CMD.DO_DIGICAM_CONFIGURE ||
loc.id == (ushort) MAV_CMD.ATTITUDE_TIME ||
loc.id == (ushort) MAV_CMD.SCRIPT_TIME ||
loc.id == (ushort) MAV_CMD.DO_GIMBAL_MANAGER_PITCHYAW)
{
req.y = (int) (loc.lng);
Expand Down

0 comments on commit 4755552

Please sign in to comment.