Changing Center of Rotation for Actor Block in Simulink 3D Library

11 Ansichten (letzte 30 Tage)
I have a simulation that calculates rotational accelerations and velocities for every joint of a hyperredundant robot. Now I want to visualize it by using Simulink 3D library. However, actors only rotating about their centers and I can not find how to move their center of rotations to the joint locations. How can I do that? Is there any easy method other than adding all pins as new child actors.
  1 Kommentar
jordanrivers
jordanrivers am 1 Jul. 2025
Great question visualizing joint-based motion in Simulink 3D can be tricky when default rotations are center-based. Adjusting pivot points or using hierarchical actors may help. While refining your simulation on Android, visit ApkTuti.com for free Game & App Apk download and secure APK Downloads

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Nishan Nekoo
Nishan Nekoo am 23 Jun. 2025
Hello! Unfortunately this is a little tricky to achieve in an intuitive way but it is possible through some workarounds.
E.g. to displace your actor origin by [0 0 10],
actor.Translation = [0 0 10];
actor.DynamicMesh.transformMesh([0 0 -10]);
This applies only for kinematic transformations. For physics-induced rotations, the rotation point is the center of mass which you can adjust by providing an offset from actor origin as actor.CenterOfMass.
Hope that helps,
Nishan

Weitere Antworten (0)

Kategorien

Mehr zu Simulation finden Sie in Help Center und File Exchange

Produkte


Version

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by