How to make a "sail" change its angle relative to way the submarine is moving?

1 次查看(过去 30 天)
I have a controller and assembled submarine. The submarine moves according to the trajectory given by contorller. However when the submarine changes the direction the details which make the submarine turn don't move. Controller has all the angles within the required period of time on how these details move (they basically turn form 0 to 20 degrees around one of axis). When I apply a joint from simscape library it percieves the only angular velocity but not the angle. Which elements should I use to provide the agles from controller to the details in order them to change their angles only?

回答(1 个)

Steve Miller
Steve Miller 2023-2-12
Can you share the model? It would make it easier to give you specific advice.
As long as the joint is configured to accept joint as an angle and that the torque is automatically calculated, the joint will follow the angle you specify. Be sure that the units are correct and that the angle you are specifying is in the correct reference frame (local).
--Steve

类别

Help CenterFile Exchange 中查找有关 Simscape Multibody 的更多信息

标签

产品


版本

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by