Link to Models
Connect virtual reality worlds to Simulink®andSimscape™ Multibody™动态系统模型
通过连接simulink框图或万博1manbetxSIMSCAPE多体链接to a virtual world. Simulating the model generates signal data for a dynamic system, which you can use to control and animate the virtual world.
使用万博1manbetxSimulink 3D Animation™block library to connect to a Simulink model to a virtual world. TheVR接收器块允许您从Simulink块端口编写值以指定的虚拟世界字段。万博1manbetx要提供虚拟世界观看者和模型模型之间的互动性,请使用万博1manbetxVR Source块或其他块,例如Space Mouse Input堵塞。
查看使用该模型创建的模型的行为SIMSCAPE多体链接软件:
使用Simulink界面中的机器模型万博1manbetxSIMSCAPE多体链接blocks.
在虚拟世界中创建机器的详细视觉表示。
Connect the virtual world to theSIMSCAPE多体链接车身传感器输出。
在虚拟世界观众中查看身体的行为。
功能
vrlib |
打开万博1manbetx块库万博1manbetx3D动画 |
vrjoystick |
Create joystick object |
vrspacemouse |
创建太空鼠标对象 |
vrcoordm2vr |
兑换MATLAB坐标到VR坐标 |
VRCOORDVR2M |
将VR坐标转换为MATLAB坐标 |
vrrotmat2vec |
兑换rotation from matrix to axis-angle representation |
vrrotvec2mat |
兑换rotation from axis-angle to matrix representation |
Blocks
VR接收器 | Write data from万博1manbetxmodel to virtual world |
VR Source | 阅读来自虚拟世界的数据万博1manbetxmodel |
VR To Video | Write data from万博1manbetx模型到虚拟世界(启用视频输出端口) |
VR示踪剂 | Trace trajectory of object in associated virtual scene |
VR占位符 | Send unspecified value to万博1manbetx3D动画block |
VR信号扩展器 | 将输入向量扩展到完全合格的虚拟世界现场向量 |
Joystick Input | Process input from asynchronous joystick device |
Space Mouse Input | 太空鼠标设备的过程输入 |
Cross Product | Cross product of two 3-D vectors |
标准化向量 | 输出单元向量平行于输入矢量 |
Rotation Between 2 Vectors | Virtual world rotation between two 3-D vectors |
Rotation Matrix to VR Rotation | 兑换rotation matrix to axis/angle rotation |
VR Rotation to Rotation Matrix | 兑换axis/angle rotation to rotation matrix |
VR to MATLAB Coordinates | 将VR坐标转换为MATLAB坐标 |
MATLAB to VR Coordinates | 兑换MATLAB坐标到VR坐标 |
VRML方向的观点方向 | 兑换viewpoint direction to virtual world orientation |