2019-07-22 09:58:06 +08:00
<!DOCTYPE html>
<!-- [if IE 8]><html class="no - js lt - ie9" lang="zh - CN" > <![endif] -->
<!-- [if gt IE 8]><! --> < html class = "no-js" lang = "zh-CN" > <!-- <![endif] -->
< head >
< meta charset = "utf-8" >
< meta name = "viewport" content = "width=device-width, initial-scale=1.0" >
< title > 常见问题 — Autolabor Box 文档< / title >
< script type = "text/javascript" src = "../../_static/js/modernizr.min.js" > < / script >
< script type = "text/javascript" id = "documentation_options" data-url_root = "../../" src = "../../_static/documentation_options.js" > < / script >
< script type = "text/javascript" src = "../../_static/jquery.js" > < / script >
< script type = "text/javascript" src = "../../_static/underscore.js" > < / script >
< script type = "text/javascript" src = "../../_static/doctools.js" > < / script >
< script type = "text/javascript" src = "../../_static/language_data.js" > < / script >
< script type = "text/javascript" src = "../../_static/translations.js" > < / script >
< script type = "text/javascript" src = "../../_static/js/theme.js" > < / script >
< link rel = "stylesheet" href = "../../_static/css/theme.css" type = "text/css" / >
< link rel = "stylesheet" href = "../../_static/pygments.css" type = "text/css" / >
< link rel = "stylesheet" href = "../../_static/css/page.css" type = "text/css" / >
< link rel = "index" title = "索引" href = "../../genindex.html" / >
< link rel = "search" title = "搜索" href = "../../search.html" / >
< link rel = "next" title = "定位系统" href = "../../version_two/location/marvelmind/doc.html" / >
< link rel = "prev" title = "定位循迹" href = "../../version_two/location/guide/doc.html" / >
< / head >
< body class = "wy-body-for-nav" >
< div class = "wy-grid-for-nav" >
< nav data-toggle = "wy-nav-shift" class = "wy-nav-side" >
< div class = "wy-side-scroll" >
< div class = "wy-side-nav-search" >
< a href = "../../index.html" class = "icon icon-home" > Autolabor Box
< / a >
< div role = "search" >
< form id = "rtd-search-form" class = "wy-form" action = "../../search.html" method = "get" >
< input type = "text" name = "q" placeholder = "Search docs" / >
< input type = "hidden" name = "check_keywords" value = "yes" / >
< input type = "hidden" name = "area" value = "default" / >
< / form >
< / div >
< / div >
< div class = "wy-menu wy-menu-vertical" data-spy = "affix" role = "navigation" aria-label = "main navigation" >
< p class = "caption" > < span class = "caption-text" > 主页< / span > < / p >
< ul >
2019-07-22 10:00:20 +08:00
< li class = "toctree-l1" > < a class = "reference internal" href = "../../index.html" > Autolabor 导航套件文档主页< / a > < / li >
2019-07-22 09:58:06 +08:00
< / ul >
< p class = "caption" > < span class = "caption-text" > 产品介绍< / span > < / p >
< ul >
< li class = "toctree-l1" > < a class = "reference internal" href = "../../version_two/introduction/overview/doc.html" > 产品概览< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "../../version_two/introduction/tech_specs/doc.html" > 规格参数< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "../../version_two/introduction/inthebox/doc.html" > 发货清单< / a > < / li >
< / ul >
< p class = "caption" > < span class = "caption-text" > 使用指南< / span > < / p >
< ul >
< li class = "toctree-l1" > < a class = "reference internal" href = "../../version_two/user_guide/quick_start/receipt.html" > 收货指南< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "../../version_two/user_guide/quick_start/receipt.html#id3" > 清点< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "../../version_two/user_guide/assembly_test/doc.html" > 组装与测试< / a > < / li >
< / ul >
< p class = "caption" > < span class = "caption-text" > 快速开始< / span > < / p >
< ul class = "current" >
< li class = "toctree-l1" > < a class = "reference internal" href = "../../version_two/user_guide/quick_start/slam_doc.html" > 建图导航< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "../../version_two/location/guide/doc.html" > 定位循迹< / a > < / li >
< li class = "toctree-l1 current" > < a class = "current reference internal" href = "#" > 常见问题< / a > < ul >
< li class = "toctree-l2" > < a class = "reference internal" href = "#id2" > 设备篇< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "#id3" > 建图导航-建图篇< / a > < / li >
< li class = "toctree-l2" > < a class = "reference internal" href = "#id4" > 建图导航-导航篇< / a > < / li >
< / ul >
< / li >
< / ul >
< p class = "caption" > < span class = "caption-text" > 了解定位系统< / span > < / p >
< ul >
< li class = "toctree-l1" > < a class = "reference internal" href = "../../version_two/location/marvelmind/doc.html" > 定位系统< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "../../version_two/location/dashboard/doc.html" > Dashboard 说明< / a > < / li >
< / ul >
< p class = "caption" > < span class = "caption-text" > 其他< / span > < / p >
< ul >
< li class = "toctree-l1" > < a class = "reference internal" href = "../restore_bios/doc.html" > 恢复 BIOS< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "../install_os/doc.html" > 安装操作系统< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "../reference/doc.html" > 设备参考资料< / a > < / li >
< / ul >
< / div >
< / div >
< / nav >
< section data-toggle = "wy-nav-shift" class = "wy-nav-content-wrap" >
< nav class = "wy-nav-top" aria-label = "top navigation" >
< i data-toggle = "wy-nav-top" class = "fa fa-bars" > < / i >
< a href = "../../index.html" > Autolabor Box< / a >
< / nav >
< div class = "wy-nav-content" >
< div class = "rst-content" >
< div role = "navigation" aria-label = "breadcrumbs navigation" >
< ul class = "wy-breadcrumbs" >
< li > < a href = "../../index.html" > Docs< / a > » < / li >
< li > 常见问题< / li >
< li class = "wy-breadcrumbs-aside" >
< a href = "../../_sources/common/q_a/doc.md.txt" rel = "nofollow" > View page source< / a >
< / li >
< / ul >
< hr / >
< / div >
< div role = "main" class = "document" itemscope = "itemscope" itemtype = "http://schema.org/Article" >
< div itemprop = "articleBody" >
< div class = "section" id = "id1" >
< h1 > 常见问题< a class = "headerlink" href = "#id1" title = "永久链接至标题" > ¶< / a > < / h1 >
< div class = "section" id = "id2" >
< h2 > 设备篇< a class = "headerlink" href = "#id2" title = "永久链接至标题" > ¶< / a > < / h2 >
< ol >
< li > < p > “电池充电接口、工控机电源接口、Kinect 集线器的电源接口可以互换适配器吗?”< / p >
< p > 少年,劝你别有这么大胆的想法!< / p >
< p > 尽管这三者物理外形一致,但电气规格< strong > 并不通用< / strong > ,使用时务必注意,错误的接线方式将会导致设备损坏,甚至危及人身安全。< / p >
< / li >
< li > < p > “为什么风扇噪音非常大?”< / p >
< p > 众所周知, AMD 旗下 CPU 最大的特点就是~~发热量大~~性能强劲,并且工控机内部结构十分紧凑,只有风扇维持在较高转速才保证系统正常工作。< / p >
< / li >
< li > < p > “为什么我看不到 Kinect 的数据?”< / p >
< p > Kinec集线器的数据线另一端必须插在工控机 < strong > USB3.0< / strong > 接口上, 否则将无法从工控机读取到Kinect的数据。< / p >
< / li >
2019-08-26 09:35:15 +08:00
< li > < p > “ Mini 计算机上插口都够,为什么还要额外使用 USB-Hub ,我可以不用 Usb-Hub 吗?”< / p >
< p > 不行, USB-Hub 上的设备如果直接插计算机,将会找不到设备,程序将无法正常使用。< / p >
< p > 为了方便用户找到对应的设备,以及对计算机的功率与性能的考虑,特地增加 USB-Hub 。< / p >
< / li >
2019-07-22 09:58:06 +08:00
< li > < p > “ USB-Hub 上面的接口不通用吗?”< / p >
< p > 不通用,组装时务必按照文字提示插入设备,错误的接线方式将无法正常建图、定位、避障,甚至危及人身安全。< / p >
< / li >
2019-08-26 09:35:15 +08:00
< li > < p > “ 我想换台计算机来作为上位机, OS 系统装好, USB-Hub 也插好了, 除了电脑本身其他什么都没变,为什么测试雷达、定位标签都找不到设备?”< / p >
< p > 根据设备(主要指激光雷达、定位标签与 AP1) 插的位置不同, OS 系统中制定了一套规则( rules) , 以便程序能够找到对应的设备。< / p >
< p > 如果设备有任何移动,包括但不仅限于以下:< / p >
< ul class = "simple" >
< li > < p > USB-Hub 在 Mini 计算机上插错位置< / p > < / li >
< li > < p > USB-Hub 上的设备相互插错位置< / p > < / li >
< li > < p > 设备插在任何非规定插口< / p > < / li >
< / ul >
< p > 都将导致找不到设备,功能无法使用。< / p >
< / li >
< li > < p > (接上问)“ 我就想换台计算机,然后把设备用起来,那我该怎么办?”< / p >
< p > < strong > 以下操作内容要求有 Linux 相关知识< / strong > < / p >
< p > 解决方法: 修改系统规则( rules) < / p >
< p > 操作步骤:< / p >
< ol class = "simple" >
< li > < p > 将 usb-hub 插到新电脑上< / p > < / li >
< li > < p > 把 usb-hub 上所有设备都拔掉< / p > < / li >
< li > < p > terminal 中执行
< code class = "docutils literal notranslate" > < span class = "pre" > $< / span > < span class = "pre" > vim< / span > < span class = "pre" > /etc/udev/rules/99-position.rules< / span > < / code >
注: box_1 为前雷达, box_2 为后雷达, box_3 为定位标签, autolabor_pro1 为 AP1 机器人< / p > < / li >
< li > < p > 将 hub上的设备依次插上, 每插一个在 terminal 中执行一次
< code class = "docutils literal notranslate" > < span class = "pre" > $< / span > < span class = "pre" > dmesg< / span > < / code > < / p > < / li >
< li > < p > 将 99-position.rules 中对应设备 rules 里面的那一行的 kernels 修改为 $ dmesg 查看到的值< / p > < / li >
< li > < p > 每个设备修改完毕后,保存 99-position.rules 退出< / p > < / li >
< li > < p > 保存完毕,重启电脑< / p > < / li >
< / ol >
< / li >
2019-07-22 09:58:06 +08:00
< / ol >
< / div >
< div class = "section" id = "id3" >
< h2 > 建图导航-建图篇< a class = "headerlink" href = "#id3" title = "永久链接至标题" > ¶< / a > < / h2 >
< ol >
< li > < p > 键盘控制AP1行走时, AP1动作异常, 动一下停一下< / p >
< p > 可调整显示器的位置, 保持接收器不被遮挡, 并调整自己的位置, 使接收器可以接收到发送的指令信号, 建议使用USB延长线或USB-HUB将接收器放置在架子的高处, 无任何遮挡, 便于信号传输。< / p >
< / li >
< li > < p > 键盘控制, AP1一动不动< / p >
< p > a) 确认已将AP1电源总开关打开, 急停开关没有被按下, AP1处于上位机控制模式< / p >
< p > b) 新开一个terminal, 执行以下命令, 打出关系图, 查看键盘节点< / p >
< p > < code class = "docutils literal notranslate" > < span class = "pre" > $< / span > < span class = "pre" > rosrun< / span > < span class = "pre" > rqt_graph< / span > < span class = "pre" > rqt_graph< / span > < / code > < / p >
< p > c) 执行以下命令, 上下左右控制键盘看是否会有数据打出, 如没有数据打出, 说明AP1没有接收到键盘发送的指令< / p >
< p > < code class = "docutils literal notranslate" > < span class = "pre" > $< / span > < span class = "pre" > rostopic< / span > < span class = "pre" > echo< / span > < span class = "pre" > /cmd_vel< / span > < / code > < / p >
< p > d)执行以下命令, 确认event-kbd的数量, 数量大于一个则有问题< / p >
< p > < code class = "docutils literal notranslate" > < span class = "pre" > ll< / span > < span class = "pre" > /dev/input/by-path/< / span > < / code > < / p >
< p > < img alt = "../../_images/keyboard.png" src = "../../_images/keyboard.png" / > < / p >
< p > e) 请排查是否有多个键盘设备,键盘驱动查找的是最后一个连接的键盘,需要将其他(显示为)键盘的设备找出来,拔掉(可能是鼠标、机械键盘、混装键鼠)< / p >
< / li >
< li > < p > AP1不受键盘控制、失控< / p >
< p > 在开始建图前, 需要禁用无线功能。如果没有禁用, AP1在连接了WIFI的状态下开始建图, 在地图构建过程中, 一旦AP1离开无线覆盖区域, 无线连接断开, ROS的网络通信中断就会导致AP1控制失控。< / p >
< / li >
< li > < p > 如何判断自己的建图质量< / p >
< p > 在构建完成的地图中,如很明显是障碍物(墙)的颜色是虚的,则不太好。< / p >
< / li >
< li > < p > 如何建出高质量的地图/建图效果不佳/地图构建要点< / p >
< p > 在构建地图的过程,以下几点会影响到建图的准确性:< / p >
< ul class = "simple" >
< li > < p > 轮胎气不足影响里程计数据< / p > < / li >
< li > < p > 运行速度不宜过快,由于激光扫描有一定的频率,车速低时雷达可以扫描到的点更多,构建的地图会更准确一些< / p > < / li >
< li > < p > 走一个来回,增加激光雷达扫描次数,累计更多的数据< / p > < / li >
< li > < p > 地图构建的质量也受环境限制,请尽量选择特征比较明显的环境,玻璃、镜子、楼道、空旷等场景会影响建图效果< / p > < / li >
< li > < p > 构建完成的地图,会发现有些点会飞出,飞出的点可能是由于物体的表面不平或者有空隙激光直接穿越了过去< / p > < / li >
< li > < p > 当场景很大特征不足的时候,需要规划建图路径时,应先走一个小回环,当回环成功后,可以再多走几圈,消除粒子在这个回环的多样性。接下来走下一个回环,直到把整个地图连通成一个大的回环< / p > < / li >
< / ul >
< / li >
< / ol >
< / div >
< div class = "section" id = "id4" >
< h2 > 建图导航-导航篇< a class = "headerlink" href = "#id4" title = "永久链接至标题" > ¶< / a > < / h2 >
< ol >
< li > < p > 初始化定位如何完成< / p >
< p > 控制机器人前后左右转弯即可< / p >
< / li >
< li > < p > 初始化定位一直没有成功,地图和真实环境不符是什么原因< / p >
< p > 如周围没有明显的特征信息,使得机器人能够找到自己的位置,开到有折角拐弯或明显标志物附近,能够加速机器人找到自己的位置。< / p >
< / li >
2019-08-26 09:35:15 +08:00
< li > < p > 导航过程中,机器人走的太慢,速度能再快点吗?< / p >
< p > 可以,但机器人行走速度过快,实时雷达数据与环境地图匹配不佳会导致无法正确避障而撞到障碍物。< / p >
< p > 并且机器人定位异常,会影响导航行走效果。< / p >
< / li >
< li > < p > (接上问)我一定要提高速度,在哪里改参数?< / p >
< p > 修改以下文件:< / p >
< p > catkin_ws\src\launch\autolabor_navigation_launch\two_laser_navigation_param\teb_local_planner_params.yaml< / p >
< div class = "highlight-default notranslate" > < div class = "highlight" > < pre > < span > < / span > max_vel_x: 0.2 //机器人的最大平移速度
max_vel_x_backwards: 0.2//当向后移动时,机器人的最大绝对平移速度
max_vel_theta: 0.2//机器人的最大旋转速度
< / pre > < / div >
< / div >
< p > 修改为< / p >
< div class = "highlight-default notranslate" > < div class = "highlight" > < pre > < span > < / span > < span class = "n" > max_vel_x< / span > < span class = "p" > :< / span > < span class = "mf" > 0.8< / span >
< span class = "n" > max_vel_x_backwards< / span > < span class = "p" > :< / span > < span class = "mf" > 0.6< / span >
< span class = "n" > max_vel_theta< / span > < span class = "p" > :< / span > < span class = "mf" > 0.6< / span >
< / pre > < / div >
< / div >
< / li >
2019-07-22 09:58:06 +08:00
< / ol >
< / div >
< / div >
< / div >
< / div >
< footer >
< div class = "rst-footer-buttons" role = "navigation" aria-label = "footer navigation" >
< a href = "../../version_two/location/marvelmind/doc.html" class = "btn btn-neutral float-right" title = "定位系统" accesskey = "n" rel = "next" > Next < span class = "fa fa-arrow-circle-right" > < / span > < / a >
< a href = "../../version_two/location/guide/doc.html" class = "btn btn-neutral float-left" title = "定位循迹" accesskey = "p" rel = "prev" > < span class = "fa fa-arrow-circle-left" > < / span > Previous< / a >
< / div >
< hr / >
< div role = "contentinfo" >
< p >
© Copyright 2019, Autolabor
< / p >
< / div >
Built with < a href = "http://sphinx-doc.org/" > Sphinx< / a > using a < a href = "https://github.com/rtfd/sphinx_rtd_theme" > theme< / a > provided by < a href = "https://readthedocs.org" > Read the Docs< / a > .
< / footer >
< / div >
< / div >
< / section >
< / div >
< script type = "text/javascript" >
jQuery(function () {
SphinxRtdTheme.Navigation.enable(true);
});
< / script >
< / body >
< / html >