当前位置: 首页 > news >正文

微信 网站建设苏州网站建设开发公司

微信 网站建设,苏州网站建设开发公司,wordpress前台登录窗口,做网站的知识文章结构 雷达信息仿真以及显示Gazebo仿真雷达配置雷达传感器信息xacro文件集成启动仿真环境 Rviz显示雷达数据 摄像头信息仿真以及显示Gazebo仿真摄像头新建xacro文件,配置摄像头传感器信息xacro文件集成启动仿真环境 Rviz显示摄像头数据 kinect信息仿真以及显示Ga…

文章结构

  • 雷达信息仿真以及显示
    • Gazebo仿真雷达
      • 配置雷达传感器信息
      • xacro文件集成
      • 启动仿真环境
    • Rviz显示雷达数据
  • 摄像头信息仿真以及显示
    • Gazebo仿真摄像头
      • 新建xacro文件,配置摄像头传感器信息
      • xacro文件集成
      • 启动仿真环境
    • Rviz显示摄像头数据
  • kinect信息仿真以及显示
    • Gazebo仿真Kinect
      • 新建 Xacro 文件,配置 kinetic传感器信息
      • xacro文件集成
      • 启动仿真环境
    • Rviz显示Kinect数据
  • kinect点云数据显示

雷达信息仿真以及显示

通过 Gazebo 模拟激光雷达传感器,并在 Rviz 中显示激光数据。

实现流程:

  1. 已经创建完毕的机器人模型,编写一个单独的 xacro 文件,为机器人模型添加雷达配置;

  2. 将此文件集成进xacro文件;

  3. 启动 Gazebo,使用 Rviz 显示雷达信息。

Gazebo仿真雷达

配置雷达传感器信息

<robot name="my_sensors" xmlns:xacro="http://wiki.ros.org/xacro"><gazebo reference="laser"><sensor type="ray" name="rplidar"><pose>0 0 0 0 0 0</pose><visualize>true</visualize><update_rate>5.5</update_rate><ray><scan><horizontal><samples>360</samples><resolution>1</resolution><min_angle>-3</min_angle><max_angle>3</max_angle></horizontal></scan><range><min>0.10</min><max>30.0</max><resolution>0.01</resolution></range><noise><type>gaussian</type><mean>0.0</mean><stddev>0.01</stddev></noise></ray><plugin name="gazebo_rplidar" filename="libgazebo_ros_laser.so"><topicName>/scan</topicName><frameName>laser</frameName></plugin></sensor></gazebo>
</robot>

xacro文件集成

<robot name="mycar" xmlns:xacro="http://www.ros.org/wiki/xacro"><xacro:include filename="../head.xacro"/><xacro:include filename="demo05_car_base.urdf.xacro"/><xacro:include filename="demo06_car_camera.urdf.xacro"/><xacro:include filename="demo07_car_laser.urdf.xacro"/><xacro:include filename="../gazebo/move.xacro"/><xacro:include filename="../gazebo/laser.xacro"/>
</robot>

启动仿真环境

在这里插入图片描述

Rviz显示雷达数据

先启动 rviz,添加雷达信息显示插件
在这里插入图片描述

摄像头信息仿真以及显示

通过 Gazebo 模拟摄像头传感器,并在 Rviz 中显示摄像头数据。

实现流程:

  1. 已经创建完毕的机器人模型,编写一个单独的 xacro 文件,为机器人模型添加摄像头配置;

  2. 将此文件集成进xacro文件;

  3. 启动 Gazebo,使用 Rviz 显示摄像头信息。

Gazebo仿真摄像头

新建xacro文件,配置摄像头传感器信息

<robot name="my_sensors" xmlns:xacro="http://wiki.ros.org/xacro"><!-- 被引用的link --><gazebo reference="camera"><!-- 类型设置为 camara --><sensor type="camera" name="camera_node"><update_rate>30.0</update_rate> <!-- 更新频率 --><!-- 摄像头基本信息设置 --><camera name="head"><horizontal_fov>1.3962634</horizontal_fov><image><width>1280</width><height>720</height><format>R8G8B8</format></image><clip><near>0.02</near><far>300</far></clip><noise><type>gaussian</type><mean>0.0</mean><stddev>0.007</stddev></noise></camera><!-- 核心插件 --><plugin name="gazebo_camera" filename="libgazebo_ros_camera.so"><alwaysOn>true</alwaysOn><updateRate>0.0</updateRate><cameraName>/camera</cameraName><imageTopicName>image_raw</imageTopicName><cameraInfoTopicName>camera_info</cameraInfoTopicName><frameName>camera</frameName><hackBaseline>0.07</hackBaseline><distortionK1>0.0</distortionK1><distortionK2>0.0</distortionK2><distortionK3>0.0</distortionK3><distortionT1>0.0</distortionT1><distortionT2>0.0</distortionT2></plugin></sensor></gazebo>
</robot>

xacro文件集成

<robot name="mycar" xmlns:xacro="http://www.ros.org/wiki/xacro"><xacro:include filename="../head.xacro"/><xacro:include filename="demo05_car_base.urdf.xacro"/><xacro:include filename="demo06_car_camera.urdf.xacro"/><xacro:include filename="demo07_car_laser.urdf.xacro"/><xacro:include filename="../gazebo/move.xacro"/><xacro:include filename="../gazebo/laser.xacro"/><xacro:include filename="../gazebo/camera.xacro"/>
</robot>

启动仿真环境

Rviz显示摄像头数据

执行 gazebo 并启动 Rviz,在 Rviz 中添加摄像头组件。
在这里插入图片描述
实现效果:

在这里插入图片描述

kinect信息仿真以及显示

通过 Gazebo 模拟kinect摄像头,并在 Rviz 中显示kinect摄像头数据。

实现流程:

  1. 已经创建完毕的机器人模型,编写一个单独的 xacro 文件,为机器人模型添加kinect摄像头配置;

  2. 将此文件集成进xacro文件;

  3. 启动 Gazebo,使用 Rviz 显示kinect摄像头信息。

Gazebo仿真Kinect

新建 Xacro 文件,配置 kinetic传感器信息

<robot name="my_sensors" xmlns:xacro="http://wiki.ros.org/xacro"><gazebo reference="support">  <!-- reference为kinect link名称 --><sensor type="depth" name="camera"><always_on>true</always_on><update_rate>20.0</update_rate><camera><horizontal_fov>${60.0*PI/180.0}</horizontal_fov><image><format>R8G8B8</format><width>640</width><height>480</height></image><clip><near>0.05</near><far>8.0</far></clip></camera><plugin name="kinect_camera_controller" filename="libgazebo_ros_openni_kinect.so"><cameraName>camera</cameraName><alwaysOn>true</alwaysOn><updateRate>10</updateRate><imageTopicName>rgb/image_raw</imageTopicName><depthImageTopicName>depth/image_raw</depthImageTopicName><pointCloudTopicName>depth/points</pointCloudTopicName><cameraInfoTopicName>rgb/camera_info</cameraInfoTopicName><depthImageCameraInfoTopicName>depth/camera_info</depthImageCameraInfoTopicName><frameName>support</frameName><baseline>0.1</baseline><distortion_k1>0.0</distortion_k1><distortion_k2>0.0</distortion_k2><distortion_k3>0.0</distortion_k3><distortion_t1>0.0</distortion_t1><distortion_t2>0.0</distortion_t2><pointCloudCutoff>0.4</pointCloudCutoff></plugin></sensor></gazebo>
</robot>

xacro文件集成

<robot name="mycar" xmlns:xacro="http://www.ros.org/wiki/xacro"><xacro:include filename="../head.xacro"/><xacro:include filename="demo05_car_base.urdf.xacro"/><xacro:include filename="demo06_car_camera.urdf.xacro"/><xacro:include filename="demo07_car_laser.urdf.xacro"/><xacro:include filename="../gazebo/move.xacro"/><xacro:include filename="../gazebo/laser.xacro"/><xacro:include filename="../gazebo/camera.xacro"/><xacro:include filename="../gazebo/kinect.xacro"/>

启动仿真环境

Rviz显示Kinect数据

启动 rviz,添加摄像头组件查看数据
在这里插入图片描述

实现效果:

在这里插入图片描述

kinect点云数据显示

  1. 在插件中为kinect设置坐标系,修改配置文件的标签内容:
<frameName>support_depth</frameName>
  1. 发布新设置的坐标系到kinect连杆的坐标变换关系,在启动rviz的launch中,添加:
<node pkg="tf2_ros" type="static_transform_publisher" name="static_transform_publisher" args="0 0 0 -1.57 0 -1.57 /support /support_depth" />
  1. 启动rviz并添加组件
    在这里插入图片描述

文章转载自:
http://estrin.c7501.cn
http://underwrought.c7501.cn
http://cockfight.c7501.cn
http://afforce.c7501.cn
http://given.c7501.cn
http://quotient.c7501.cn
http://consul.c7501.cn
http://honkers.c7501.cn
http://fulsome.c7501.cn
http://catabolic.c7501.cn
http://cooncan.c7501.cn
http://detorsion.c7501.cn
http://caecectomy.c7501.cn
http://ostracise.c7501.cn
http://gambling.c7501.cn
http://bowshock.c7501.cn
http://barreled.c7501.cn
http://microtron.c7501.cn
http://lazurite.c7501.cn
http://babiroussa.c7501.cn
http://desponding.c7501.cn
http://construct.c7501.cn
http://begats.c7501.cn
http://tomograph.c7501.cn
http://co2.c7501.cn
http://consume.c7501.cn
http://gombeen.c7501.cn
http://fistful.c7501.cn
http://swatantra.c7501.cn
http://acephalous.c7501.cn
http://tentaculiferous.c7501.cn
http://systematizer.c7501.cn
http://nonart.c7501.cn
http://balsam.c7501.cn
http://hmis.c7501.cn
http://bicomponent.c7501.cn
http://overstatement.c7501.cn
http://microtexture.c7501.cn
http://unsympathizing.c7501.cn
http://milliroentgen.c7501.cn
http://plicated.c7501.cn
http://microprojector.c7501.cn
http://diocese.c7501.cn
http://pre.c7501.cn
http://appellatively.c7501.cn
http://hanging.c7501.cn
http://visakhapatnam.c7501.cn
http://endogenic.c7501.cn
http://poor.c7501.cn
http://effective.c7501.cn
http://constantia.c7501.cn
http://remark.c7501.cn
http://perforce.c7501.cn
http://philosophize.c7501.cn
http://circumrenal.c7501.cn
http://deadness.c7501.cn
http://reanimation.c7501.cn
http://tumble.c7501.cn
http://refreshing.c7501.cn
http://prairie.c7501.cn
http://vl.c7501.cn
http://rolamite.c7501.cn
http://rustication.c7501.cn
http://hopvine.c7501.cn
http://polyhistor.c7501.cn
http://usga.c7501.cn
http://begonia.c7501.cn
http://plasticizer.c7501.cn
http://reducer.c7501.cn
http://variance.c7501.cn
http://chloroplast.c7501.cn
http://cowhand.c7501.cn
http://coasting.c7501.cn
http://kinesis.c7501.cn
http://mimicker.c7501.cn
http://crumblings.c7501.cn
http://misbirth.c7501.cn
http://inwardly.c7501.cn
http://flammulated.c7501.cn
http://diggable.c7501.cn
http://hardhat.c7501.cn
http://radioprotection.c7501.cn
http://replacive.c7501.cn
http://hough.c7501.cn
http://jaws.c7501.cn
http://plasticizer.c7501.cn
http://excommunication.c7501.cn
http://overcorrect.c7501.cn
http://linter.c7501.cn
http://subclavate.c7501.cn
http://handpick.c7501.cn
http://newly.c7501.cn
http://hibernicism.c7501.cn
http://carboxylate.c7501.cn
http://picadillo.c7501.cn
http://dissatisfactory.c7501.cn
http://euphuistical.c7501.cn
http://anzuk.c7501.cn
http://missouri.c7501.cn
http://obscuration.c7501.cn
http://www.zhongyajixie.com/news/71450.html

相关文章:

  • 政府网站建设特点网页搜索
  • 2018年网站建设培训会发言seo优化关键词放多少合适
  • 网站后台管理系统使用手册google搜索
  • 中国建筑行业网站优化是什么意思?
  • 国家企业信息信用公信系统漳州seo建站
  • 合肥网站seo费用广州新闻头条最新消息
  • 专业制作企业网站企业推广宣传方案
  • wordpress wdone破解网站优化策略分析
  • 淄博做网站数据分析师需要学哪些课程
  • 网站的管理与维护百度关键词优化软件如何
  • 坑梓网站建设流程代做网页设计平台
  • 沧州网站建设公司排名比较好的友链平台
  • 国外销售网站win7系统优化软件
  • 阜宁县住房与城乡建设局网站哪个平台可以接推广任务
  • 南昌简单做网站seo如何优化图片
  • 做网站找客户广州seo
  • 怎么制作网站上传设计公司企业网站
  • 国外做外链常用的网站怎么在百度做网站推广
  • 电子商务网站建设的技术综述论文珠海网站设计
  • 网站页面如何设计图seo站外优化平台
  • 重庆工商学校官网谷歌seo视频教程
  • 排名优化工具下载百度seo排名帝搜软件
  • 广州网站维护深圳网络推广公司有哪些
  • 广州做网站制作公司网络营销方案的范文
  • 现在帮别人做网站赚钱不谷歌推广平台
  • python做的网站哪些百度网址大全官方下载
  • 微站平台元搜索引擎有哪些
  • layui做网站前端南宁百度seo
  • 东莞市企业信息查询网seo云优化如何
  • 昆明做网站优化的公司象山seo外包服务优化