MATLAB Answers

How to get friction forces and support forces as vectors from Spatial Contact Force?

조회 수: 2(최근 30일)
Xiaoxing Zhang
Xiaoxing Zhang 2020년 11월 23일
답변: Vasco Lenzi 2020년 11월 30일
Hello. I use 'Spatial Contact Force' to model the interaction between a ball and a plane in Simscape Multibody. The output of contact force is scalar. How can I get the vectors of normal support forces and friction forces? Thanks!


Vasco Lenzi
Vasco Lenzi 2020년 11월 30일
hi XiaoXing
th output of the block are just magnitude. You can "create" a vecotr yourself by combining a Transform Sensor (to get the angles and rotations between two frames) with the output of the Spatial Contact Forces and some trigonometry.

Community Treasure Hunt

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

Start Hunting!

Translated by