[Opensimws_apr10-news] Model not showing up in GUI

Michele Vanoncini michele.vanoncini at lirmm.fr
Tue Apr 27 00:29:32 PDT 2010


Hi again,

I now have a problem with the visualization of the model in the Tug of 
War example...
I could compile and run step 2 of the tutorial, and got the executable 
to produce a model.
However, when I use the GUI to open the tugOfWar_model.osim model, 
nothing appears.
Other models seems to load fine.
The model produced by the executable is reported below...any hint for 
trouble shooting will be wellcome!


Thanks!
Michele


<?xml version="1.0" encoding="UTF-8"?>
<OpenSimDocument Version="20001">
<Model name="tugOfWar">
<credits> Unassigned </credits>
<publications> Unassigned </publications>
<ForceSet name="">
<objects/>
<groups/>
<datafile> </datafile>
</ForceSet>
<length_units> Unassigned </length_units>
<force_units> Unassigned </force_units>
<!--Acceleration due to gravity.-->
<gravity>       0.00000000      -9.80665000       0.00000000 </gravity>
<!--Bodies in the model.-->
<BodySet name="">
<objects>
<Body name="ground">
<mass>       0.00000000 </mass>
<mass_center>       0.00000000       0.00000000       0.00000000 
</mass_center>
<inertia_xx>       1.00000000 </inertia_xx>
<inertia_yy>       1.00000000 </inertia_yy>
<inertia_zz>       1.00000000 </inertia_zz>
<inertia_xy>       0.00000000 </inertia_xy>
<inertia_xz>       0.00000000 </inertia_xz>
<inertia_yz>       0.00000000 </inertia_yz>
<!--Joint that connects this body with the parent body.-->
<Joint/>
<VisibleObject name="">
<geometry_files> ground.vtp anchor1.vtp anchor2.vtp </geometry_files>
<VisibleProperties name="">
<display_preference> 4 </display_preference>
<show_normals> false </show_normals>
<show_axes> false </show_axes>
<material_name> DEFAULT </material_name>
</VisibleProperties>
<scale_factors>       1.00000000       1.00000000       1.00000000 
</scale_factors>
</VisibleObject>
<WrapObjectSet name="">
<objects/>
<groups/>
</WrapObjectSet>
</Body>
</objects>
<groups/>
</BodySet>
<!--Constraints in the model.-->
<ConstraintSet name="">
<objects/>
<groups/>
</ConstraintSet>
<!--Markers in the model.-->
<MarkerSet name="">
<objects/>
<groups/>
</MarkerSet>
<!--ContactGeometry objects in the model.-->
<ContactGeometrySet name="">
<objects/>
<groups/>
</ContactGeometrySet>
</Model>
</OpenSimDocument>





More information about the Opensimws_apr10-news mailing list