Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions CustomRobots/drone_assets/models/dirt_path/model.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0"?>
<model>
<name>dirt_path</name>
<version>1.0</version>
<sdf version="1.6">model.sdf</sdf>
<author>
<name>RoboticsAcademy</name>
<email></email>
</author>
<description>
Procedurally generated tileable-ish dirt texture (materials/textures/dirt.png),
used as the albedo map for the trail segments in position_control.world.
This model.sdf is a trivial 1x1 static tile so the folder is a valid
model package; the actual trail is built from inline boxes in the
world file that reference this same texture directly.
</description>
</model>
25 changes: 25 additions & 0 deletions CustomRobots/drone_assets/models/dirt_path/model.sdf
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0"?>
<sdf version="1.6">
<model name="dirt_path">
<static>true</static>
<link name="link">
<visual name="visual">
<cast_shadows>false</cast_shadows>
<geometry>
<box>
<size>1 1 0.01</size>
</box>
</geometry>
<material>
<ambient>1.0 1.0 1.0 1.0</ambient>
<diffuse>1.0 1.0 1.0 1.0</diffuse>
<pbr>
<metal>
<albedo_map>model://dirt_path/materials/textures/dirt.png</albedo_map>
</metal>
</pbr>
</material>
</visual>
</link>
</model>
</sdf>
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
material FallingRocks/FallingRocks_Diffuse
{
technique
{
pass
{
texture_unit
{
texture FallingRocks_Albedo.jpg
}
}
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading