Hello!

I have a ArduCopter with Raspberry Pi on board.

Raspberry Pi is connected to APM with usb cable.

On the Raspberry Pi works simple python script (without mavproxy, using only serial lib), it reads and parsed messages with some Message ID.

It works awesome.

But how can i to send new waypoint to APM?

i have read this http://dev.ardupilot.com/wiki/mavlink-commands/
0×10 / 16     MAV_CMD_NAV_WAYPOINT     -     altitude     lat     lon

How to create message with new waypoint manually (for writting to serial port)?

I need to make massege looks like this?

[MAV_CMD_NAV_WAYPOINT,1 byte]+[alt,8 bytes]+[lon,8 bytes]+[lat,8 bytes]+[crc,2 bytes]

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

This reply was deleted.

Activity