simscapeにお​いて2物体間の距離を​任意に変更できますか​?

simscapeで2物体の相対距離に応じて力を計算するようなプログラムを作成しています.
2物体間の相対距離を重力加速度によって変化していくだけでなく,ある特定の大きさの力が生じたら2物体間の相対距離が一定になる,そこから特定の大きさの力を超えると相対距離が変化するといったように任意に変更できるようにしたいのですが,simscapeでは相対距離を任意に変えることが可能でしょうか?

 Accepted Answer

Toshinobu Shintai
Toshinobu Shintai on 16 May 2024

1 vote

R2024aにて、ジョイントのロック機能が追加されました。
これを用いると、例えばPrismatic Jointで接続された二つの剛体同士の距離を固定させることも可能です。
以下の投稿を見ていただくと、イメージがしやすいかもしれません。

1 Comment

松
on 30 May 2024
ありがとうございます.参考にさせていただきます.

Sign in to comment.

More Answers (0)

Products

Release

R2021a

Tags

Asked:

松
on 16 May 2024

Commented:

松
on 30 May 2024

Community Treasure Hunt

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

Start Hunting!