Quantcast
Channel: ArduPilot Discourse - Latest topics
Viewing all articles
Browse latest Browse all 48285

Companion Computer MAVLink Mission Control

$
0
0

Hi all,

I am trying to control an ArduPlane UAV (currently using SITL from the master branch for development) from a companion computer over MAVLink. I send the MISSION_COUNT message, then the requested MISSION_ITEM_INT(i) from 0..(n-1), according to the MAVLink mission upload documentation. If n=1, i.e. a single takeoff waypoint, the plane takes off to the desired altitude as expected. If n>1, the initial waypoint (takeoff) seems to be removed from the list (returned from wp list).

The output of wp list after sending uploading a mission with a MAV_CMD_NAV_TAKEOFF and a MAV_CMD_NAV_WAYPOINT is

QGC WPL 110
0	0	0	16	0.000000	0.000000	0.000000	0.000000	51.501123	-0.142386	6.310000	1
1	0	3	16	0.000000	5.000000	0.000000	0.000000	51.500461	-0.124920	600.000000	1

My main question is: am I missing something about the mission upload sequence? I can provide logs if needed.

Thanks in advance

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 48285

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>