Im currently designing an arduino gps tracking system for my APM,

The aim is to have an seperate arduino board assertain it's gps location, parse this then send it via xbee to the APM using MAVlink to set new navigation waypoints for my copter - allowing the quadrocopter to follow a moving person (with the secondary arduino board).

To date I have a working gps acquisition, parsing and sending over xbee, however MAVlink is producing some massive headaches.

I've generated my header files from the python app found at (http://qgroundcontrol.org/mavlink/start

And i have a rough idea as to how to protocol works and it's functionality, im just finding it difficult to connect the dots and use the functions in the headers inside my sketchbook to actually talk to my APM, how do i check for the heartbeats that the APM sends?

I've tried several sources on github to try and find a solution ranging from OSD's through to the APM code (which is a bit over whelming) but i didnt seem to learn a whole lot from these and was left more confused than when i began

My xbee's work through the APM planner and also QGC with the correct baud settings and firmware

Regards, Matt

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

Join diydrones

Email me when people reply –

Replies

  • any solution Yet !!?

  • Hello, I am currently working on a project quite similar to yours actually??? did you have any luck with it.. It would be nice to communicate and exchange ideas?

  • I have been working on this also for so long now and I too got confused more than before. I have also tried lots of codes hoping that I could communicate via Mavlink but failed. I hope there's a more precise tutorials on this because I find it too hard on this Mavlink. Any help is much appreciated.

    Malou

This reply was deleted.

Activity

Chris Anderson liked Zara Mae Pickering's profile
May 21
Azjeg liked Azjeg's profile
Apr 27
DIY Robocars via Twitter
RT @chr1sa: Donkeycar 4.4 released with tons of new features, including path learning (useful with GPS outdoors), better Web and Lidar supp…
Nov 27, 2022
DIY Robocars via Twitter
RT @NXP: We are already biting our nails in anticipation of the #NXPCupEMEA challenge! 😉 Did you know there are great cash prizes to be won…
Nov 24, 2022
DIY Robocars via Twitter
RT @gclue_akira: レースまであと3日。今回のコースは激ムズかも。あと一歩 #jetracer https://t.co/GKcEjImQ3t
Nov 24, 2022
DIY Robocars via Twitter
UC Berkeley's DIY robocar program https://roar.berkeley.edu/
Nov 24, 2022
DIY Robocars via Twitter
RT @chr1sa: The next @DIYRobocars autonomous car race at @circuitlaunch will be on Sat, Dec 10. Thrills, spills and a Brazilian BBQ. Fun…
Nov 24, 2022
DIY Robocars via Twitter
RT @arthiak_tc: Donkey car platform ... Still training uses behavioral cloning #TCXpo #diyrobocar @OttawaAVGroup https://t.co/PHBYwlFlnE
Nov 20, 2022
DIY Robocars via Twitter
RT @emurmur77: Points for style. @donkeycar racing in @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/Y2hMyj1…
Nov 20, 2022
DIY Robocars via Twitter
RT @SmallpixelCar: Going to @diyrobocars race at @UCSDJacobs https://t.co/Rrf9vDJ8TJ
Nov 8, 2022
DIY Robocars via Twitter
RT @SmallpixelCar: Race @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/kK686Hb9Ej
Nov 8, 2022
DIY Robocars via Twitter
RT @PiWarsRobotics: Presenting: the Hacky Racers Robotic Racing Series in collaboration with #PiWars. Find out more and register your inter…
Oct 23, 2022
DIY Robocars via Twitter
RT @Hacky_Racers: There will be three classes at this event: A4, A2, and Hacky Racer! A4 and A2 are based around UK paper sizing and existi…
Oct 23, 2022
DIY Robocars via Twitter
Oct 23, 2022
DIY Robocars via Twitter
Oct 19, 2022
DIY Robocars via Twitter
Oct 18, 2022
More…