on 4 Sep 2011

### Fangjun Jiang (view profile)

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

### Fangjun Jiang (view profile)

on 4 Sep 2011

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

### Zack zeko_boeing747@hotmail.com (view profile)

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

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 :)

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 :)

TALEL ZALTNI

### TALEL ZALTNI (view profile)

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

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