Skip to content

Commit

Permalink
Move the visual part of the gazebo model to the bottom of the file
Browse files Browse the repository at this point in the history
  • Loading branch information
okalachev committed Oct 23, 2024
1 parent c41c96a commit 0397b3a
Showing 1 changed file with 31 additions and 31 deletions.
62 changes: 31 additions & 31 deletions gazebo/models/flix/flix.sdf
Original file line number Diff line number Diff line change
Expand Up @@ -17,37 +17,6 @@
</box>
</geometry>
</collision>
<visual name="body">
<geometry>
<mesh><uri>model://flix/flix.stl</uri></mesh>
</geometry>
<material>
<ambient>0.5 0.5 0.6 1</ambient>
<diffuse>0.5 0.5 0.6 1</diffuse>
<specular>0 0 0 1</specular>
<emissive>0 0 0 1</emissive>
</material>
</visual>
<visual name="prop0"><!-- rear left -->
<geometry><cylinder><radius>0.0275</radius><length>0</length></cylinder></geometry>
<pose>-0.04243 0.04243 0.0142 0 0 0</pose>
<material><ambient>0.8 0.3 0.3 0.5</ambient><diffuse>0.8 0.3 0.3 0.5</diffuse></material>
</visual>
<visual name="prop1"><!-- rear right -->
<geometry><cylinder><radius>0.0275</radius><length>0</length></cylinder></geometry>
<pose>-0.04243 -0.04243 0.0142 0 0 0</pose>
<material><ambient>0.8 0.3 0.3 0.5</ambient><diffuse>0.8 0.3 0.3 0.5</diffuse></material>
</visual>
<visual name="prop2"><!-- front right -->
<geometry><cylinder><radius>0.0275</radius><length>0</length></cylinder></geometry>
<pose>0.04243 -0.04243 0.0142 0 0 0</pose>
<material><ambient>1 1 1 0.5</ambient><diffuse>1 1 1 0.5</diffuse></material>
</visual>
<visual name="prop3"><!-- front left -->
<geometry><cylinder><radius>0.0275</radius><length>0</length></cylinder></geometry>
<pose>0.04243 0.04243 0.0142 0 0 0</pose>
<material><ambient>1 1 1 0.5</ambient><diffuse>1 1 1 0.5</diffuse></material>
</visual>
<sensor name="imu" type="imu">
<always_on>1</always_on>
<visualize>1</visualize>
Expand Down Expand Up @@ -89,6 +58,37 @@
</linear_acceleration>
</imu>
</sensor>
<visual name="body">
<geometry>
<mesh><uri>model://flix/flix.stl</uri></mesh>
</geometry>
<material>
<ambient>0.5 0.5 0.6 1</ambient>
<diffuse>0.5 0.5 0.6 1</diffuse>
<specular>0 0 0 1</specular>
<emissive>0 0 0 1</emissive>
</material>
</visual>
<visual name="prop0"><!-- rear left -->
<geometry><cylinder><radius>0.0275</radius><length>0</length></cylinder></geometry>
<pose>-0.04243 0.04243 0.0142 0 0 0</pose>
<material><ambient>0.8 0.3 0.3 0.5</ambient><diffuse>0.8 0.3 0.3 0.5</diffuse></material>
</visual>
<visual name="prop1"><!-- rear right -->
<geometry><cylinder><radius>0.0275</radius><length>0</length></cylinder></geometry>
<pose>-0.04243 -0.04243 0.0142 0 0 0</pose>
<material><ambient>0.8 0.3 0.3 0.5</ambient><diffuse>0.8 0.3 0.3 0.5</diffuse></material>
</visual>
<visual name="prop2"><!-- front right -->
<geometry><cylinder><radius>0.0275</radius><length>0</length></cylinder></geometry>
<pose>0.04243 -0.04243 0.0142 0 0 0</pose>
<material><ambient>1 1 1 0.5</ambient><diffuse>1 1 1 0.5</diffuse></material>
</visual>
<visual name="prop3"><!-- front left -->
<geometry><cylinder><radius>0.0275</radius><length>0</length></cylinder></geometry>
<pose>0.04243 0.04243 0.0142 0 0 0</pose>
<material><ambient>1 1 1 0.5</ambient><diffuse>1 1 1 0.5</diffuse></material>
</visual>
</link>
<plugin name="flix" filename="libflix.so"/>
</model>
Expand Down

0 comments on commit 0397b3a

Please sign in to comment.