Changes between Version 1 and Version 2 of XmlModelConfiguration


Ignore:
Timestamp:
Feb 18, 2011, 1:38:36 PM (13 years ago)
Author:
Torben Dannhauer
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • XmlModelConfiguration

    v1 v2  
    44
    55= XML configuration of visual_object based models =
     6
     7{{{
     8#!xml
     9<!-- Models can be loaded and placed in the scenery.
     10   - objectname: Name of the object to identify it in the scenegraph.
     11   - tracking ID: ID to manage which object should be tracked
     12   - label: text to label the model with.
     13   - dynamic: "yes" to add an standard updater to the model.
     14   - position: Position to place the model
     15   - attitude: Orientation in degree to place the model
     16   - updater [optional]: Channels to use for position, attitude and label update
     17   - cameraoffset [optional]: Rotational (in degree) and translational offset for the object mounted camera manipulator to the visual_object   
     18   - Geometry [optional]: 3D model to display. Leave empty to use model without 3D model.
     19   - Geometryoffset [optional]: Rotational offset (in degree) for the loaded 3D model to the visual_object (if the 3D model has a wrong coordinate frame)
     20   - Geometryscale [optional]: Scale factors for the loaded 3D model in all three dimensions.
     21-->
     22<model objectname="TestObject" trackingid="1" label="TestText!" dynamic="no">
     23 <position lat="47.8123" lon="12.94088" alt="700.0"></position>
     24 <attitude rot_x="0.0" rot_y="0.0" rot_z="0.0"></attitude>
     25 <updater>
     26  <position lat="" lon="" alt=""></position>
     27  <attitude rot_x="" rot_y="" rot_z=""></attitude>
     28  <label text=""></label>
     29 </updater>
     30 <cameraoffset>
     31  <translation trans_x="0.0" trans_y="0.0" trans_z="0.0"></translation>
     32  <rotation rot_x="0.0" rot_y="0.0" rot_z="0.0"></rotation>
     33 </cameraoffset>
     34 <geometry filename="../models/saenger1.flt">
     35  <offset rot_x="0.0" rot_y="0.0" rot_z="0.0"></offset>
     36  <scalefactor scale_x="1.0" scale_y="1.0" scale_z="1.0"></scalefactor>
     37 </geometry>
     38</model>
     39}}}