ros lesson11议程将激光传感器添加到我们urdf模型中.pdf

ros lesson11议程将激光传感器添加到我们urdf模型中.pdf

  1. 1、本文档共42页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Adding Laser Sensor • Adding a sensor to a URDF model consists of: – cing the sensor on the robot by adding a new link and an appropriate joint – Adding an appropriate Gazebo plugin that simulates the sensor itself • Next, we are going to add a Hokuyo laser sensor to our r2d2 URDF model (C)2014 Roi Yehoshua Adding Laser Sensor • We will first add a new link and joint to the URDF of the r2d2 robot • We will ce the laser sensor at the center of the robot’s head • For the visual part of the sensor we'll use the mesh of the Hokuyo laser model from the Gazebo models repository • Open r2d2.urdf and add the following lines before the closing </robot> tag (C)2014 Roi Yehoshua Hokuyo Link <!-- Hokuyo Laser --> <link name="hokuyo_link"> <collision> <origi ="0 0 0" rpy="0 0 0"/> <geometry> <box size="0.1 0.1 0.1"/> </geometry> </collision> <visual> <origi ="0 0 0" rpy="0 0 0"/> <geometry> <mesh filename="package://r2d2_description/meshes/hokuyo.dae"/> </geometry> </visual> <inertial> <mass value="1e-5" /> <origi ="0 0 0" rpy="0 0 0"/> <inertia ixx="1e-6" ixy="0" ixz="0" iyy="1e-6" iyz="0" izz="1e-6" /> </inertial> </link> (C)2014 Roi Yehoshua Hokuyo Joint <joint name="hokuyo_joint" type="fixed"> <axi ="0 0 1" /> <origi ="0 0.22 0.05" rpy="0 0 1.570796"/> <parent link="head"/> <child link="hokuyo_link"/> </joint> • The new <joint> connects the inserted hokuyo laser onto the head of the robot • The joint is fixed to prevent the sensor from moving (C)2014 Roi Yehoshua

文档评论(0)

136****1820 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档