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

11 visualizzazioni (ultimi 30 giorni)
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 Commento
jordanrivers
jordanrivers il 1 Lug 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

Accedi per commentare.

Risposta accettata

Nishan Nekoo
Nishan Nekoo il 23 Giu 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

Più risposte (0)

Categorie

Scopri di più su Simulation in Help Center e File Exchange

Prodotti


Release

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by