第一范文网 - 专业文章范例文档资料分享平台

Gazebo机器人仿真学习探索笔记(四)模型编辑

来源:用户分享 时间:2025/5/26 9:40:39 本文由loading 分享 下载这篇文档手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:xxxxxxx或QQ:xxxxxx 处理(尽可能给您提供完整文档),感谢您的支持与谅解。

0.02 1

0.68 0.38 0.5 0 -0 0

0.02 1

0.68 -0.38 0.5 0 -0 0

0.02 1

0.68 -0.38 0.5 0 -0 0

0.02 1

-0.68 -0.38 0.5 0 -0 0

0.02 1

-0.68 -0.38 0.5 0 -0 0

0.02 1

-0.68 0.38 0.5 0 -0 0

0.02 1

-0.68 0.38 0.5 0 -0 0

0.02 1

0 1.23981 -0.324 0 -0 0

1

0 -1.23981 0.324 0 -0 0

model:///table_marble/meshes/table_lightmap.dae 0.25 0.25 0.25

model://table_marble/meshes/table_lightmap.dae 0.25 0.25 0.25

0

0

1

可知,sdf爲1.6版本了。

附錄:官方文檔 Model Editor Overview

This tutorial describes the process of creating a model using the Model Editor. Open the Model Editor

Make sure Gazebo is installed. Start up gazebo. $ gazebo

On the Edit menu, Go to Model Editor, or hit Ctrl+M to open the editor.

Graphical user interface

The editor is composed of the following 2 areas:

The Palette on the left has two tabs. The Insert tab lets you insertparts (links and other models) into the scene to build the model. The Modeltab displays a list of all the parts that make up the model you are building.

The 3D View on the right where you can see a preview of your model andinteract with it to edit its properties and create joints between links.

The GUI tools on the top toolbar can be used to manipulate joints and links inthe 3D View. Add Links

Add simple shapes

The model editor has three simple primitive geometries that the user can insertinto the 3D view to make a link of the model.

On the Palette, click on the box, sphere, or cylinder icon underSimple Shapes.

Move your mouse cursor over the 3D view to see the visual appear, andclick/release anywhere to add it to the model.

Tip: You can press Esc to cancel adding the currentlink attached to the mouse cursor.

Add meshes

To add a custom mesh,

Click on the Add button under Custom Shapes, which pops up a dialogthat lets you find the mesh you want to add.

Click on Browse button and use the file browser to find the mesh fileon your local machine. If you know the path of the mesh file, you can enter itdirectly in the text field box next to the Browse button. Note Gazebocurrently only supports importing COLLADA (dae), STereoLithography (stl),and Scalable Vector Graphics (svg) files.

Click Import to load the mesh file. Then, add it to the 3D view.

Create Joints

The model editor supports creating several types of joints between links in themodel being edited. To create a joint:

Click on the joint icon on the tool bar. This brings up the Joint CreationDialog which allows you to specify different properties of the joint youwant to create. As you can see in the dialog, the

Gazebo机器人仿真学习探索笔记(四)模型编辑.doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.diyifanwen.net/c8wrvr9uw1v0h1lk029tn_2.html(转载请注明文章来源)
热门推荐
Copyright © 2012-2023 第一范文网 版权所有 免责声明 | 联系我们
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:xxxxxx 邮箱:xxxxxx@qq.com
渝ICP备2023013149号
Top