Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016

Simulink Quadrotor Testing

Asked by Robert on 4 Sep 2011

Hello folks,

I am currently in the process of building a quadrotor from scratch and before I get to far into development of code and such I was wondering if there were any actual micro controllers that I could buy in a reasonable price range and that would be able to run the C code generated by Simulink generator? This way I could focus on the control theory rather than worry about code all the time and its flaws.. Will this controller also be able to take inputs such as the gyroscope/accelerometer data and use it in real time with the code?

Thank you

0 Comments

Robert

Products

No products are associated with this question.

3 Answers

Answer by Fangjun Jiang on 4 Sep 2011
Accepted answer

There are lots of rapid prototyping systems on the market. TMW has a few too. I don't know what is the "reasonable price" for you. You can find a list of company/product at http://www.mathworks.com/products/connections/prod_task_real_index.html. Select Task->Realtime systems

0 Comments

Fangjun Jiang
Answer by Zack zeko_boeing747@hotmail.com on 23 Mar 2012

Hi guys, I was working on modelling and controlling a quad rotor flying robot. And finally I am done with the whole process. However, lately I thought of simulating the robot in a 3D trajectory plane or may be an environment to track it's path and see the differences UN-controlled and after controlling. I don't wanna write lots of complex mathematical equation to describe what I wanna do in order to make it easy for anyone to help me.

My question is simple as follows: I have 6 equations that give 6 different outputs (X Y Z theta Phi Epsi). All what I need from anyone is tell me how to connect 6 different equation with 1 block diagram that translates these outputs in a 3D space.

Regards,

Zack

1 Comment

iyad salameh on 15 May 2013

Hi Zack , in MATLAB Library there is SimScape which includes SimMechanics , it has many useful blocks. Also there is the Aerospace Blockset where you will find output animation for planes ... and a menu called "Axes Transformation" for rotational and translation matrices .

by the way .. am also working on simulation on MATLAB for Quadroto(Quadcopter), for my project in mechatronics and would like to share ideas if u are open to that :)

regards Iyad.

Zack zeko_boeing747@hotmail.com
Answer by iyad salameh on 15 May 2013

*Hi Zack , in MATLAB Library there is SimScape which includes SimMechanics , it has many useful blocks. Also there is the Aerospace Blockset where you will find output animation for planes ... and a menu called "Axes Transformation" for rotational and translation matrices .

by the way .. am also working on simulation on MATLAB for Quadroto(Quadcopter), for my project in mechatronics and would like to share ideas if u are open to that :)

regards Iyad.*

1 Comment

TALEL ZALTNI on 21 May 2013

Hi Iyad..Hi Zack ..i'm also working in quadricopter project and i have found a simulink bloks called Virtuel reality you can found it just by taping "VR sink" in the research case of simulink librery browzer..this bloks convert the 6 inputs of of degre of liberty(3 rotation(theta Phi Epsi) and 3 translation (x ,y, z)) to 3D animation and you can see the exemple of "Plane Take-Off"....Help/SIMULINK 3D animation/Demos/simulink exemple/Plane Take-Off

iyad salameh

Contact us