Skip to content

Fix xml and image in create maritime vehicle tutorial #2592

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Sep 4, 2024
Merged
Changes from 2 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
10 changes: 5 additions & 5 deletions tutorials/create_vehicle.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ Create a `model.sdf` file that contains the Simulator Description Format of the
model. You can find more information on the [SDF website](http://sdformat.org/).

```xml
<?xml version='1.0'?>
<sdf version='1.6'>
<?xml version="1.0"?>
<sdf version="1.6">
<model name="my_turtle">
<static>true</static>
<link name='base_link'>
Expand All @@ -65,15 +65,15 @@ model. You can find more information on the [SDF website](http://sdformat.org/).
</inertia>
</inertial>

<collision name='collision'>
<collision name="collision">
<geometry>
<box>
<size>1 1 0.009948450858321252</size>
</box>
</geometry>
</collision>

<visual name='visual'>
<visual name="visual">
<pose>0.08 0 0.05 0 0 0</pose>
<geometry>
<cylinder>
Expand Down Expand Up @@ -101,4 +101,4 @@ gz sim ~/gazebo_maritime/models/my_turtle/model.sdf
You should see your model visualized as a cylinder and the Gazebo `Entity Tree`
should capture its structure.

@image html files/create_vehicle/basic_model.png
![Basic Model](files/create_vehicle/basic_model.png)