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 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.
  • 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.

  • I would like to take a look as well, could I?

    elemcab.mc@gmail.com

  • Can i have some code?

    lwcworld123@naver.com

  • Can you please send me the code on hoony01524@nate.com

  • Hi Zahana, I am working on a similar project which involves accessing the IMU data in real-time and processing it in Matlab. I am very interested in how you have done it. Do you mind send me your work to my email? My email is bluesyhfang@gmail.com. Thank you very much.

  • Can you please send me the code on ganeshbk@hotmail.com

  • 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

  • Can i have the code? Email Address: omega2625@gmail.com

    Thank You,

This reply was deleted.

Activity

Liam left a comment on Agricultural UAVs
"Hi
I'm Liam from T-MOTOR. I would like to reach out to see if there is any possibility for us to work together.
We are a propulsion system manufacturer who offers motors, propellers and ESCs for all kinds of drone applications which vary from secur…"
Jun 30
Richard Cox left a comment on Australia
"Anyone in the DIYDRONES Australian subgroup based in Alice Springs, NT?
I am experimenting with Ardupilot (standard Arduplane), Pixhawk 4 FC in a 4-ch
RC "AXN Floater Jet" foamy plane..."
Jun 29
Omar Sykes left a comment on Australia
"Hi everyone, I am looking for someone who is good at drone building, repair and software in Adelaide. Please give me a call on 0477 319 219."
Jun 29
More…