Problems viewing orientation in Simulink 3D Animation
1 次查看(过去 30 天)
显示 更早的评论
Hi, I've set up an animation of a quadrotor using the Virtual Reality Animation objects, but am having trouble with viewing the orientation changes of the quad.
To be more specific: I have a simulator going, where I calculate from rigid body dynamics the trajectory of it in time. This is, I have x, y, z, phi, theta, psi vs. time. I put these in a 'Array6DoF' structure, and associate this to the node corresponding to the quadrotor. When pressing play, I can see the translation in all three dimensions, but don't see the changes in the orientation.
Not sure what the problem could be. Maybe I have to add one Transform in the .wrl for each of the rotational degrees of freedom, or maybe there is some Field I need to set in order to allow the node to rotate.
Any help is most welcome.
Thanks, Robbie
0 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!