MATLAB SIMULINK 3D ANIMATION 5 Bedienungsanleitung Seite 34

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 43
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 33
32
Adding scene surrounding. This step is not crucial for visualization of
interactions between parts in a machine assembly, but it is very
important for visualization of aircraft / vehicle dynamics simulation etc.,
where the position of one object relative to the scene in which it
operates is important.
For instance, if we are to visualize a vehicle dynamics simulation, we
need to place a virtual car on a virtual road. Both object need to be to
scale (the length units in the car and road models must match), and the
car has to be placed in a correct position relative to the road. Proper car
scaling, placement and orientation in the scene can be done by defining
corresponding fields of the main object Transform node mentioned in
the “Wrapping Shape Objects by Transforms” section.
An example of a complete scene definition can be found in the
octavia_scene.wrl VRML file that belongs to the Simulink 3D Animation demo
vr_octavia.
5.3. Linking the Virtual Scene to a Simulink / SimMechanics /
MATLAB Model
The main purpose of this step is to create associations between dynamic model
object quantities and corresponding VRML object properties (positions,
rotations, etc.) to establish a live data connection between the model and the
virtual scene.
Mechanical systems are typically modelled using SimMechanics or Simulink,
but Simulink 3D Animation allows also visualization of models implemented in
MATLAB. While we will focus on using Simulink 3D Animation Simulink
functionality, we will shortly mention also specifics of using the toolbox
MATLAB interface.
5.3.1. Linking the Virtual Scene to a Simulink Model
Association of Simulink model signals to virtual scene object properties is
accomplished by the VR Sink block from the Simulink 3D Animation block
library vrlib.
Seitenansicht 33
1 2 ... 29 30 31 32 33 34 35 36 37 38 39 ... 42 43

Kommentare zu diesen Handbüchern

Keine Kommentare