Skip to content

Instantly share code, notes, and snippets.

<?xml version="1.0" ?>
<sdf version="1.6">
<world name="camera_projection">
<physics name="1ms" type="ignored">
<max_step_size>0.001</max_step_size>
<real_time_factor>1.0</real_time_factor>
</physics>
<plugin
filename="gz-sim-physics-system"
name="gz::sim::systems::Physics">
@iche033
iche033 / cordless_drill.sdf
Created April 1, 2024 21:48
Cordless drill simplified world
<?xml version="1.0" ?>
<sdf version="1.6">
<world name="cordless_drill">
<gravity>0 0 -9.8</gravity>
<physics name="1ms" type="ignored">
<max_step_size>0.002</max_step_size>
<real_time_factor>1.0</real_time_factor>
<bullet>
<solver><iters>100</iters></solver>
</bullet>
<?xml version="1.0" ?>
<!--
-->
<sdf version="1.6">
<world name="box_attach">
<gravity>0 0 -9.8</gravity>
<plugin
filename="gz-sim-physics-system"
name="gz::sim::systems::Physics">
</plugin>
@iche033
iche033 / model.config
Created February 21, 2024 22:07
Box mesh model config file
<?xml version="1.0"?>
<model>
<name>box</name>
<version>1.0</version>
<sdf version="1.6">model.sdf</sdf>
<author>
<name></name>
<email></email>
</author>
@iche033
iche033 / box.obj
Created February 21, 2024 22:04
box obj
# Blender v2.69 (sub 0) OBJ File: ''
# www.blender.org
o Cube_Cube.001
v 1.000000 -1.000000 -1.000000
v 1.000000 -1.000000 1.000000
v -1.000000 -1.000000 1.000000
v -1.000000 -1.000000 -1.000000
v 1.000000 1.000000 -1.000000
v 0.999999 1.000000 1.000001
v -1.000000 1.000000 1.000000
@iche033
iche033 / box_mesh_test.sdf
Last active February 21, 2024 22:06
box_mesh_test world
<?xml version="1.0" ?>
<!--
-->
<sdf version="1.6">
<world name="box_mesh_test">
<gravity>0 0 -9.8</gravity>
<plugin
filename="gz-sim-physics-system"
name="gz::sim::systems::Physics">
</plugin>
@iche033
iche033 / model.sdf
Created February 21, 2024 21:54
box mesh model.sdf
<?xml version="1.0" encoding="UTF-8"?>
<sdf version="1.6">
<model name="box">
<pose>0 0 0 0 0 0</pose>
<link name="base_link">
<inertial>
<mass>0.1</mass>
<inertia>
<pose>0.0 0 0 0 0 0</pose>
<ixx>0.001</ixx>
<?xml version="1.0" ?>
<sdf version="1.6">
<world name="lidar_profile">
<physics name="1ms" type="ignored">
<max_step_size>0.001</max_step_size>
<real_time_factor>1.0</real_time_factor>
</physics>
<plugin
filename="gz-sim-physics-system"
name="gz::sim::systems::Physics">
@iche033
iche033 / contacts.sdf
Created December 20, 2023 00:10
World file to test contacts
<?xml version="1.0" ?>
<sdf version="1.6">
<world name="contacts">
<scene>
<ambient>1.0 1.0 1.0</ambient>
<background>0.8 0.8 0.8</background>
</scene>
<light type="directional" name="sun">
<cast_shadows>true</cast_shadows>
<?xml version="1.0" ?>
<sdf version="1.7">
<world name="nested_model_world">
<physics name="1ms" type="ignored">
<max_step_size>0.001</max_step_size>
<real_time_factor>1.0</real_time_factor>
</physics>
<plugin
filename="gz-sim-physics-system"
name="gz::sim::systems::Physics">