You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: build_model/tutorial.md
+5-3
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,5 @@
1
+
# Overview
2
+
1
3
Models can range from simple shapes to complex robots. It refers to the `<model>`[SDF](http://gazebosim.org/sdf.html) tag, and is essentially a collection of links, joints, collision objects, visuals, and plugins. Generating a model file can be difficult depending on the complexity of the desired model. This page will offer some tips on how to build your models.
2
4
3
5
# Components of Models
@@ -18,7 +20,7 @@ Models can range from simple shapes to complex robots. It refers to the `<model>
18
20
19
21
# Building a Model
20
22
21
-
###Step 1: Collect your meshes
23
+
###Step 1: Collect your meshes
22
24
23
25
This step involves gathering all the necessary 3D mesh files that are required to build your model. Gazebo provides a set of simple shapes: box, sphere, and cylinder. If your model needs something more complex, then continue reading.
24
26
@@ -33,7 +35,7 @@ Gazebo requires that mesh files be formatted as STL or Collada, with Collada bei
33
35
> **Tip:** Keep meshes simple. This is especially true if you plan on using the mesh as a collision element. A common practice is to use a low polygon mesh for a collision element, and higher polygon mesh for the visual. An even better practice is to use one of the built-in shapes (box, sphere, cylinder) as the collision element.
34
36
35
37
36
-
###Step 2: Make your model SDF file
38
+
###Step 2: Make your model SDF file
37
39
38
40
Start by creating an extremely simple model file, or copy an existing model file. The key here is to start with something that you know works, or can debug very easily.
39
41
@@ -52,7 +54,7 @@ Note that the origin of the Box-geometry is at the geometric center of the box,
52
54
> **Tip:** The above example sets the simple box model to be static, which makes the model immovable. This feature is useful during model creation. Once you are done creating your model, set the `<static>` tag to false if you want your model to be movable.
53
55
54
56
55
-
###Step 3: Add to the model SDF file
57
+
###Step 3: Add to the model SDF file
56
58
57
59
With a working `.sdf` file, slowly start adding in more complexity. With each new addition, load the model using the graphical client to make sure your model is correct.
0 commit comments