I am trying to create a ground station for my self made drone, i want to send some waypoint parameters to it, how can i send it via mavlink?

i need to understand basic mavlink message packing and receiving. i generated the header files, but dont know how to use them

Please guide me to some resourced/ sample code. i tried understanding using mission planner code, but its too vast, 

I am using visual studio 2015, and serialPort.writeline for sending message. will it work? or do i need to switch to some other serial port library?

Thanks in advance  :)

Views: 122

Reply to This

Replies to This Discussion

I don't think the microsoft approach will make it any easier, but what you need is here http://qgroundcontrol.org/dev/mavlink_onboard_integration_tutorial

uart0_send(buf, len); i am stuck  at this line,where can i find the library for the uart. 

microsoft approach is certainly not working, as Serial.writeline takes a line parameter, and serial.write is not working with this.

Thanks for the help


Andre K. said:

I don't think the microsoft approach will make it any easier, but what you need is here http://qgroundcontrol.org/dev/mavlink_onboard_integration_tutorial

Reply to Discussion

RSS

© 2017   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service