I was wondering if there was a way to take accelerometer/gyro values from Mission Planner and send them over serial or usb to an arduino where I could then run servos and vibration motors? The part I am having trouble figuring out is how I can get live data from Mission Planner to the arduino. Any thoughts/ places I should look? I've done stuff with arduino/processing in the past, but not much with apm planner.
You need to be a member of diydrones to add comments!
Replies
So, I've done exactly what you are saying before. And I believe you can do that by mission planner, but I've never search for it before. Any problem if you change the software? Cause its really easy to do that using qgroundcontrol http://qgroundcontrol.org/.
You will need to get logs from qgroundcontrol and save it everytime on Desktop, and then you will have to filter the log in order to get it just with the parameters you need, and after that you can develop a c++ program to send it via Serial Port. Actually, in my case, I've developed one c++ program that open, filter and send the log via serial, and it works fine!