Communicating APM with MATLAB

Dear all,

I would like to communicate my APM2 with MATLAB using USB.

Basically, I would like to send the raw data of the accelerometer, gyros, and the magnetometer to MATLAB for advanced processing.

What is the right code to write on the APM as well as on MATLAB for the communication to work as perfect as possible with the minimal packets loss, if none at all ?!

I really need your help to get this done as soon as possible!

Thanks.

EDIT:  Oct 31st, 2015

SOLUTION is here,

http://diydrones.com/forum/topics/matmav-matlab-interface-to-monitor-and-command-pixhawk

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

Join diydrones

Email me when people reply –

Replies

  • Hi, can I also have the code osbihat@hotma

  • Hi all,

    I am doing some polish to the code and then I will post it on Mathworks File exchange. I will put a link here.

  • Dear Mohammad Zahana

    I am also looking for the ways to communicate with matlab with my APM 2,6

    I want you to help me if is possible

    my email adress is mfzavareh@gmail.com

  • Hello guys,

    I am sorry it's been a long time since I did this. I don't remember exactly how I did it !!

    But I will try to find the code and respond back.

    • thank you

      • 3D Robotics

        Mission Planner supports MATLab export:

        3702404759?profile=original

        • Thanks Chris. That was intended to be in real-time, to test some kalman filtering, and it was done. I am aware of the offline export of data flash logs.

          Thank you.

    • Please send it to me also.

      Thanks

      Maybe on of the guy's, how already has the code.

  • Problem's solved

This reply was deleted.

Activity

Jose Araujo liked Jose Araujo's profile
Aug 29
spencer harvey liked spencer harvey's profile
Jul 9
More…