@atx80 wrote:
Hi guys,
I try to establish a connection between my Pixhawk (Arducopter v3.3.3) and an Arduino Uno. The aim is to send custom waypoints via Mavlink from the Arduino to the TELEM2 - port of the Pixhawk.
Now I got some questions concerning the communication. I was looking through the internet for some libraries to set up the Mavlink-package correctly, and I found this page:
http://qgroundcontrol.org/dev/mavlink_arduino_integration_tutorial
I downloaded the file from step 1) and tried to update it with this: https://github.com/mavlink/c_library_v1 (simple copy+paste and overwrite if necessary). But when I try to compile, I just get a long error (a lot of "not declared"s and some more).
When I just use the file from step 1 without updating anything and use the contained example-file I can compile and upload it but I never receive a valid answer (i.e. heartbeat answer).So to sumarize my problem:
Where can I find a working library for Arduino and Pixhawk for Mavlink?
And is it possible to have 2 active Mavlink-ports on Arducopter? As the TELEM1 port is connected to a wireless telemetry system, TELEM2 is my secondary Mavlink-connection.Hopefully you can help me and kind regards,
Armin
Posts: 3
Participants: 3