How to send COG from Simmechanics to workspace

1 view (last 30 days)
I work on biped robot.
I need to send COG of each link from Simmechanics to the workspace, at each movement of the robot. I tried to connect the body block to 'to workspace' block but it doesn't work.
Can anyone help me?
Thanks in advance.

Answers (1)

Nicolas Schmit
Nicolas Schmit on 21 Sep 2017
Use a Transform Sensor block to measure the absolute coordinates of a Solid block with respect to the World frame.

Categories

Find more on Modeling in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!