Hi All,

I would like to share with you my latest updates regarding a Matlab interface that I have been developing, called MatMav. The tool allows the user to monitor and command Pixhawk loaded with PX4, APMcopter is not supported yet. The tool can be used from Matlab command line, or inside m-file.
I mainly designed this tool to be able to test some High-Level Matlab algorithms regarding Multi-agent systems control. This can be achieved by utilizing  the capability of controlling Pixhawk (or PX4) via the OFFBOARD mode, but it has many other features, too. One of the interesting features that I am trying to finish soon, is the ability to monitor and command multiple Pixhawks.
I am currently doing my experiments indoors, so I am using OptiTrack mocap to get position and attitude feedback.
Setup flow:
1- PC running Motive, Mocap software, to detect and track rigid bodies, e.g. quadrotors
and it streams the data via network switches
2- another PC, runs Matlab which runs MatMav, Matlab class designed to interface (monitor 7 command) with Pixhawk, loaded with PX4 firmware (master version), in real-time. The messages are exchanged via telemetry, Xbees.
3- quadrotor with Pixhawk
Videos:
Comments/suggestions are appreciated.
UPDATE: Nov 3rd, 2015 (included MatMav test version)
MatMAv is a tool which  provides an easy interface with Pixhawk/PX4 flight controllers that are loaded with PX4 Frimware (master branch). This currently does not support Ardupilot Firmware. The communication works via serial telemetry modules e.g. 3DR, Xbee). This is tested on both Mac (64bit) and Windows(64bit). This is only the test version.
Contact on matmav.toolbox@gmail.com for full version which includes more functionalities and GUI.
.
.
EDIT: Nov 12, 2015
-------------
updated the test version
.
.
.
EDIT: Nov 17th, 2015
--------------------------------
New experiment: controlling multiple quadrotors at the same time.
.
.
.
EDIT: August 2016
------------------------
The toolbox is way advanced now! More functionalities and features are added.
Reference guide is available at:

MatMav_testVersion.zip

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

Join diydrones

Email me when people reply –

Replies

  • I think my problem same as you.

    Did you solve it?

    Dhruva Madhukar Bhatia said:

    Hey I have tried to use the 'obj.UDPLOCALPRT(<local port>)' command and then proceed to form 'obj.connectUDP()'

    However, after doing this, when I try to get attitude data, it returned with a struct with all of its values as null. I am guessing that the local port I used is incorrect. 

    I am using an ESP08s board connected to the telem1 port of Pixhawk, it does communicate the attitude data with QGround control.

    Any idea how I can get the IP address and the local port of the ESP? or any thing else I can do to connect directly to PixHawk over Wifi?  

     

    MatMav: Matlab interface to monitor and command Pixhawk/PX4
    Hi All, I would like to share with you my latest updates regarding a Matlab interface that I have been developing, called MatMav. The tool allows the…
  • Hey I have tried to use the 'obj.UDPLOCALPRT(<local port>)' command and then proceed to form 'obj.connectUDP()'

    However, after doing this, when I try to get attitude data, it returned with a struct with all of its values as null. I am guessing that the local port I used is incorrect. 

    I am using an ESP08s board connected to the telem1 port of Pixhawk, it does communicate the attitude data with QGround control.

    Any idea how I can get the IP address and the local port of the ESP? or any thing else I can do to connect directly to PixHawk over Wifi?  

     

  • Good Job....

This reply was deleted.

Activity

DIY Drones via Twitter
RT @MarvelmindMaxim: Extreme precision for 60 swarming robots. #marvelmind #autonomousrobotics #robotics #swarmrobotics #rtls #ips #indoor…
yesterday
DIY Drones via Twitter
RT @MarvelmindMaxim: Precise (±2cm) tracking for racing boats and autonomous boats. Works outdoor and indoor. #autonomous #AutonomousVehic…
yesterday
DIY Drones via Twitter
RT @MarvelmindMaxim: Helping PixHawk folks to fly autonomous quadcopters using PX4 and ArduPilot. https://marvelmind.com/drones/ Equally suitab…
yesterday
DIY Robocars via Twitter
RT @chr1sa: The @DIYRobocars @donkey_car virtual AI car race is starting in 15 minutes! Watch it live on Twitch https://www.twitch.tv/mossmann3333 htt…
Saturday
DIY Robocars via Twitter
RT @chr1sa: Don't miss our monthly @DIYRobocars @donkey_car virtual AI car race tomorrow at 10:00am PT live on Twitch. Head-to-head racing…
Friday
DIY Robocars via Twitter
RT @sparkfun: Our completed tutorial on building an @NVIDIA Jetson Nano-powered @Sphero RVR gets your bot up and running via teleoperation…
Thursday
DIY Robocars via Twitter
RT @SmallpixelCar: Freeway test https://t.co/4V5tV9lhIP
Thursday
DIY Robocars via Twitter
Very small autonomous cars racing, thanks to an overhead camera: https://control.ee.ethz.ch/research/team-projects/autonomous-rc-car-racing.html
Jul 29
DIY Robocars via Twitter
Jul 29
DIY Robocars via Twitter
Jul 29
DIY Robocars via Twitter
RT @chr1sa: Don't miss our virtual AI car race this Saturday! Real developers + virtual cars =🏎️🏎️🏎️ Head-to-head battles with thrills, sp…
Jul 28
DIY Robocars via Twitter
Jul 27
DIY Robocars via Twitter
RT @usashirou1: Jetson nano by Isaac Kaya #jetson https://t.co/Mu1N0CyQkN
Jul 23
DIY Robocars via Twitter
RT @GPUsolution: JetRacer mady by Iflytek company #JetsonNANO #Nvidia https://t.co/MimTymIwge
Jul 23
DIY Robocars via Twitter
RT @openmvcam: I love this: Mega or Mini? Image Classification on the 1MB OpenMV Cam H7 by Ish Ot Jr. in OpenMV, Edge Impulse, Internet of…
Jul 23
DIY Robocars via Twitter
RT @RoboticMasters: This is looking pretty good... but still needs a bit more refinement. Pure OpenCV Turning Sign Detection. No Tensorfl…
Jul 23
More…