i am beginner and just started working on drones,
i just want to feed directions or control the drone using aurdino,
i mean aurdino will work as link to connect user to px4, can anyone suggest me which aurdino board is better option for this???
ktrussell
(Kenny Trussell)
January 17, 2019, 5:44am
2
If you haven’t seen these threads, they may be helpful to you:
MAVLink and Arduino
by Juan Pedro López
This is not a post on the details of MAVLink serial protocol. If you are interested on the protocol itself, you can read the fantastic post by Pedro Alburquerque:
This post will be focused on my experience and practical use of MAVLink protocol on an on-board Arduino (Nano with ATmega328) that communicates with a Pixhawk flight controller (a clone one, v2.4.8). I am using the Arduino to control the lights of my drone (WS2812B leds) and the code you will…
Need help on using Arduino to send Mavlink messages to Pixhawk2 rover.
I can arm and disarm with the following code and get the return value - MAV_RESULT_ACCEPTED; And the rover arms and disarms ok.
//header info
int sysid = 255;
int compid = 0;
mavlink_message_t msg;
uint8_t buf[MAVLINK_MAX_PACKET_LEN];
uint16_t len;
//<Message #76 COMMAND_LONG - using the mavlink_msg_command_long_pack() function
uint8_t target_system=1;// - not really sure why this has to be at a valu of 1
uint8_t ta…
1 Like
Eosbandi
(Andras Schaffer)
January 17, 2019, 12:35pm
3
Get a Teensy 3.2 or 3.6 they are more powefull than arduino, and uses the same dev enviroment
1 Like