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

  • Can I have the code? Email Address: galangque@yahoo.com.ph

    Thank You,

  • Hi Chris I have a problem in how to connect  the APM 2.6 with MATLAB is there any code or interfacing program to make like a communicating between the APM  and the pc  ground station  

    Chris Anderson said:

    Mission Planner supports MATLab export:

    3702404759?profile=original

  • Hi sir, possible to send me the code? liting.poohnie@gmail.com

  • hello... I am facing the same problem.. can i asked for your help sir? my email is galangque@yahoo.com.ph

  • Assalamu'alaykum Warohmatulloh Wabarokatuh

    please to magfur.ramdhani@gmail.com
    thx Sir

    Wassalamu'alaykum Warohmatulloh

  • Hello Mohamed, 

    can i get a code? please help me. :)

    my email: rizki633469@gmail.com

    i am trying to communicate my apm with matlab, but i very confused about this, 

    thank you very much

  • The test version location is currently moved to this post,

    https://www.mathworks.com/matlabcentral/fileexchange/53765-matmav--...

  • I have a solution here, but for PX4 firmware

    http://diydrones.com/forum/topics/matmav-matlab-interface-to-monito...

  • Hi everyone !!

    It's been ages since I worked with APM. Currently I use Pixhawk/PX4 in my research work, and I use PX4 Firmware, not Ardupilot firmware. I have just finished writing and testing a Matlab interface called MatMav 1.0 that allows one to monitor/command Pixhawk/PX4 loaded with PX4 Firmware. I will share a test version, not the full one, on my MATLAB, profile in FileExchange. I will pos the link here too, once uploaded.

    Here are some videos during the development stage of MatMav 1.0

    video1

    video2

    video3

    Cheers,

    Mohamed

    PX4/Firmware
    PX4 Autopilot Software. Contribute to PX4/Firmware development by creating an account on GitHub.
This reply was deleted.

Activity

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