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

DIY Robocars via Twitter
yesterday
DIY Robocars via Twitter
yesterday
DIY Drones via Twitter
Thursday
DIY Robocars via Twitter
RT @Heavy02011: @diyrobocars : A Home-brew computer club* for Connected Autonomous Driving on Jan 23rd, 2021 https://www.meetup.com/Connected-Autonomous-Driving/events/275728684/ #Meetu…
Thursday
DIY Robocars via Twitter
Thursday
David Hori liked Isabella Domi's profile
Wednesday
DIY Robocars via Twitter
RT @Heavy02011: ⁦@diyrobocars⁩ Autonomous Driving Assembly at #rC3. join us at https://rc3.world/rc3/assembly/diyrobocars-f1tenth/ ⁦@f1tenth⁩ ⁦@DAVGtech⁩ ⁦@DWalmroth⁩…
Monday
DIY Robocars via Twitter
RT @chr1sa: New car designs coming for our next @DIYRobocars @donkey_car virtual race on the 23rd. Choose any one you want at race time Le…
Monday
DIY Robocars via Twitter
RT @RoboticMasters: Thanks to @EllerbachMaxime and the Sydney Uni Capstone Students the @donkey_car @diyrobocars simulator is getting a ma…
Monday
DIY Robocars via Twitter
Jan 6
DIY Robocars via Twitter
Dec 28, 2020
DIY Robocars via Twitter
An interesting line-following simulator to use with with your robocars: https://github.com/ron-grant/LFS
Dec 23, 2020
DIY Robocars via Twitter
Dec 23, 2020
DIY Robocars via Twitter
An improved version of the @IntelAIResearch OpenBot: https://diyrobocars.com/2020/12/14/an-improved-version-of-the-intel-openbot/
Dec 14, 2020
DIY Drones via Twitter
An improved version of the Intel OpenBot https://ift.tt/2KkHT8Q
Dec 14, 2020
DIY Robocars via Twitter
Dec 10, 2020
More…