Overhead crane 3D model V-Realm Builder 2.0

14 views (last 30 days)
jueves jevesion
jueves jevesion on 9 Oct 2012
Edited: Nishan Nekoo on 11 Jan 2024
Hello everyone
I have mathematical model of an gantry crane. Input to the system is force(or voltage of the engines) and outputs of the system are ;position of the trolley ;velocity of the trolley ;angle of the pendulum ;angular velocity
I want to build an 3D model to visualize the mesurments and PID control i have done,but i have some probloems with it.
I am using V-Realm Builder 2.0 in Matlab 2011a. I put an box and sphere in the world and change the name of them. The mass of the pendulum(not rope) is considered as 0 so there are only two objects
1. How do i connect these two objects in this world, so the behavior will be the same as in the mathematical model
2. I know how to apply the model to the simulink using VR Sink, but how do i move the trolley, or how do i make it possible to move the trolley and payload in the x orientation using Step signal in simulink as a set point, which goes to the PID from the PID to the system as force..and so on... i hope i made it clear to understand

Answers (1)

Nishan Nekoo
Nishan Nekoo on 11 Jan 2024
Edited: Nishan Nekoo on 11 Jan 2024
Hi Jueves, this is a little late but the functions and blocks that build, interact with, and link virtual reality worlds via VRML or X3D will be removed in a future release.
Instead, starting in R2024a, Simulink 3D Animation will contain a suite of basic scenes, actors and sensors that will allow you to build 3D simulations using an interface to the Unreal Engine from Epic Games. If you want a domain-specific 3D Simulation such as a gantry crane in your case, you can use the generic Simulation 3D Actor to import CAD or use create geometrical primitives using the createShape function. Alternatively, you can use assets from the Unreal Engine marketplace and connect them to your Simulink model.
Answering your questions with respect to the Unreal Engine co-simulation capabilities:
  1. With the interface to Unreal Engine, you can easily manipulate objects in the 3D environment - see examples here.
  2. Similar to above, using the provided blocks, you can easily pass an input to manipulate their position in the 3D Envrionment.
Nishan

Community Treasure Hunt

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

Start Hunting!