How to simulate 6 equations in a 3D space/Environment/Trjectory plane?
1 view (last 30 days)
Show older comments
Hi everyone,
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
Heba El Kholy
on 4 Aug 2013
Edited: Heba El Kholy
on 4 Aug 2013
Hello Zack,
I am wondering if you reached a solution for your problem as I am working on the same project as well and I am done with the model and the PD Controller and I wanted to plot my results on a 3D environment.
I would appreciate your feedback,
Best Regards,
Heba
Answers (1)
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.
0 Comments
See Also
Categories
Find more on General Applications in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!