Need a guide for using vrtracer and/or 3D World Editor

Technical Source
2 min readAug 16, 2021

--

I was trying to use vrtrace for tracking an object in my simulation but cannot find a good document explaining how to use it. The specific problem that I am currently having is as follows:

I am not sure how to enable tracing of an object. I looked into the example ‘vrtkoff_trace.mdl’. It seems like ‘IS’ mapping is required in the wrl file for the tracing option to be usable. (I am not sure if I am correct, but I believe so since translation of a marker node is set to “IS MarkerTranslation” in the vrtkoff_trace model’s wrl file)

I tried to do that in my file as well, but when I right click similar nodes in my file, i get the “IS” option disabled. I don’t know why it is disabled and how to tackle this issue.

A snapshot of the disabled option: http://i.imgur.com/8vB0dkg.png

If someone can guide me through this, it will be highly appreciated.

ANSWER

Matlabsolutions.com provide latest MatLab Homework Help,MatLab Assignment Help for students, engineers and researchers in Multiple Branches like ECE, EEE, CSE, Mechanical, Civil with 100% output.Matlab Code for B.E, B.Tech,M.E,M.Tech, Ph.D. Scholars with 100% privacy guaranteed. Get MATLAB projects with source code for your learning and research.

In most cases, there is no need to modify the virtual world you want to use for object tracing. So you don’t need to care about the IS mappings, they are added automatically by the VR Tracer block.

Currently, you probably have a model that moves an object in a virtual world by sending the object’s position signal computed by Simulink to the translation field of the enclosing Transform node of the object. All you need to do is to copy the VR Tracer block from the library to your model and connect the same position signal to the input of the block. Then, in the VR Tracer block parameters, you need to specify the parent transform node name relative to which the position is specified. If this is an absolute position, you leave the parent transform name empty (= relative to root).

SEE COMPLETE ANSWER CLICK THE LINK

--

--

Technical Source
Technical Source

Written by Technical Source

Simple! That is me, a simple person. I am passionate about knowledge and reading. That’s why I have decided to write and share a bit of my life and thoughts to.

No responses yet