Skip to content

Commit

Permalink
hexo blog
Browse files Browse the repository at this point in the history
  • Loading branch information
charon-cheung committed Jul 4, 2024
1 parent b2efa4c commit 23cd0bb
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
error: 'Copy error',
noSupport: 'The browser does not support'
}
} </script><meta name="generator" content="Hexo 5.4.0"></head><body><canvas class="fireworks"></canvas><i class="fa fa-arrow-right" id="toggle-sidebar" aria-hidden="true"></i><div id="sidebar"><div class="toggle-sidebar-info text-center"><span data-toggle="Toggle article">Toggle site</span><hr></div><div class="sidebar-toc"><div class="sidebar-toc__title">Catalog</div><div class="sidebar-toc__progress"><span class="progress-notice">You've read</span><span class="progress-num">0</span><span class="progress-percentage">%</span><div class="sidebar-toc__progress-bar"></div></div><div class="sidebar-toc__content"><ol class="toc"><li class="toc-item toc-level-3"><a class="toc-link" href="#%E5%AE%89%E8%A3%85ROS%E6%8A%A5%E9%94%99"><span class="toc-number">1.</span> <span class="toc-text">安装ROS报错</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#Failed-to-connect-to-raw-githubusercontent-com-port-443"><span class="toc-number">2.</span> <span class="toc-text">Failed to connect to raw.githubusercontent.com port 443</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E5%AE%89%E8%A3%85%E6%97%B6%E6%89%BE%E4%B8%8D%E5%88%B0%E8%BD%AF%E4%BB%B6%E5%8C%85"><span class="toc-number">3.</span> <span class="toc-text">安装时找不到软件包</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#GPG-error-signature-were-invalid"><span class="toc-number">4.</span> <span class="toc-text">GPG error, signature were invalid</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E7%BC%96%E8%AF%91%E7%BC%BA%E5%B0%91-libvtkproj4"><span class="toc-number">5.</span> <span class="toc-text">编译缺少 libvtkproj4</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#E-%E6%97%A0%E6%B3%95%E5%AE%9A%E4%BD%8D%E8%BD%AF%E4%BB%B6%E5%8C%85-ros-kinetic-map-server"><span class="toc-number">6.</span> <span class="toc-text">E: 无法定位软件包 ros-kinetic-map-server</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#without-authentic"><span class="toc-number">7.</span> <span class="toc-text">without authentic</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E5%AE%89%E8%A3%85ROS%E5%8C%85%E5%87%BA%E7%8E%B0404-Not-Found"><span class="toc-number">8.</span> <span class="toc-text">安装ROS包出现404 Not Found</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E6%89%BE%E4%B8%8D%E5%88%B0-deb"><span class="toc-number">9.</span> <span class="toc-text">找不到***.deb</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#ImportError-No-module-named-rospkg-pyyaml"><span class="toc-number"></span> <span class="toc-text">ImportError: No module named rospkg pyyaml</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#Could-NOT-find-SDL-missing-SDL-LIBRARY-SDL-INCLUDE-DIR"><span class="toc-number">1.</span> <span class="toc-text">Could NOT find SDL (missing: SDL_LIBRARY SDL_INCLUDE_DIR)</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E7%BC%BA%E5%B0%91%E6%9F%90%E4%B8%AA%E5%8C%85"><span class="toc-number">2.</span> <span class="toc-text">缺少某个包</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#liborocos-kdl-1-3-0"><span class="toc-number">3.</span> <span class="toc-text">liborocos-kdl_1.3.0</span></a></li></ol></div></div><div class="author-info hide"><div class="author-info__avatar text-center"><img src="https://s2.loli.net/2022/02/17/HQaCXUBn64zsMIL.png"></div><div class="author-info__name text-center">Charon Cheung</div><div class="author-info__description text-center"></div><hr><div class="author-info-articles"><a class="author-info-articles__archives article-meta" href="/archives"><span class="pull-left">Articles</span><span class="pull-right">652</span></a><a class="author-info-articles__tags article-meta" href="/tags"><span class="pull-left">Tags</span><span class="pull-right">6</span></a><a class="author-info-articles__categories article-meta" href="/categories"><span class="pull-left">Categories</span><span class="pull-right">50</span></a></div></div></div><div id="content-outer"><div id="top-container" style="background-image: url(https://s2.loli.net/2022/11/17/QOR8cePIS5NdDrK.jpg)"><div id="page-header"><span class="pull-left"> <a id="site-name" href="/">沉默杀手</a></span><i class="fa fa-bars toggle-menu pull-right" aria-hidden="true"></i><span class="pull-right menus"><a class="site-page" href="/">Home</a><a class="site-page" href="/archives">Archives</a><a class="site-page" href="/tags">Tags</a><a class="site-page" href="/categories">Categories</a></span></div><div id="post-info"><div id="post-title">ROS安装的常见问题</div><div id="post-meta"><time class="post-meta__date"><i class="fa fa-calendar" aria-hidden="true"></i> 2018-12-15</time><span class="post-meta__separator">|</span><i class="fa fa-inbox post-meta__icon" aria-hidden="true"></i><a class="post-meta__categories" href="/categories/ROS/">ROS</a><i class="fa fa-angle-right" aria-hidden="true"></i><i class="fa fa-inbox post-meta__icon" aria-hidden="true"></i><a class="post-meta__categories" href="/categories/ROS/ROS-Kinetic%E7%9F%A5%E8%AF%86/">ROS Kinetic知识</a><span class="post-meta__separator">|</span><i class="fa fa-comment-o post-meta__icon" aria-hidden="true"></i><a href="/2018/12/15/ROS/ROS%20Kinetic%E7%9F%A5%E8%AF%86/ROS%E5%AE%89%E8%A3%85%E7%9A%84%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98/#disqus_thread"><span class="disqus-comment-count" data-disqus-identifier="2018/12/15/ROS/ROS Kinetic知识/ROS安装的常见问题/"></span></a><div class="post-meta-wordcount"><span>Word count: </span><span class="word-count">1.1k</span><span class="post-meta__separator">|</span><span>Reading time: 4 min</span></div></div></div></div><div class="layout" id="content-inner"><article id="post"><div class="article-container" id="post-content"><p>新的电脑安装ubuntu16和18很容易出毛病,无线网卡不能用,驱动也装不成功。显卡驱动有问题,不能改变屏幕亮度和外接显示器等等问题。所以但是装新系统就不会有这些问题,因此ROS最好也用noetic,当然更新的是ROS2</p>
} </script><meta name="generator" content="Hexo 5.4.0"></head><body><canvas class="fireworks"></canvas><i class="fa fa-arrow-right" id="toggle-sidebar" aria-hidden="true"></i><div id="sidebar"><div class="toggle-sidebar-info text-center"><span data-toggle="Toggle article">Toggle site</span><hr></div><div class="sidebar-toc"><div class="sidebar-toc__title">Catalog</div><div class="sidebar-toc__progress"><span class="progress-notice">You've read</span><span class="progress-num">0</span><span class="progress-percentage">%</span><div class="sidebar-toc__progress-bar"></div></div><div class="sidebar-toc__content"><ol class="toc"><li class="toc-item toc-level-3"><a class="toc-link" href="#%E5%AE%89%E8%A3%85ROS%E6%8A%A5%E9%94%99"><span class="toc-number">1.</span> <span class="toc-text">安装ROS报错</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#Failed-to-connect-to-raw-githubusercontent-com-port-443"><span class="toc-number">2.</span> <span class="toc-text">Failed to connect to raw.githubusercontent.com port 443</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E5%AE%89%E8%A3%85%E6%97%B6%E6%89%BE%E4%B8%8D%E5%88%B0%E8%BD%AF%E4%BB%B6%E5%8C%85"><span class="toc-number">3.</span> <span class="toc-text">安装时找不到软件包</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#GPG-error-signature-were-invalid"><span class="toc-number">4.</span> <span class="toc-text">GPG error, signature were invalid</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E7%BC%96%E8%AF%91%E7%BC%BA%E5%B0%91-libvtkproj4"><span class="toc-number">5.</span> <span class="toc-text">编译缺少 libvtkproj4</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#E-%E6%97%A0%E6%B3%95%E5%AE%9A%E4%BD%8D%E8%BD%AF%E4%BB%B6%E5%8C%85-ros-kinetic-map-server"><span class="toc-number">6.</span> <span class="toc-text">E: 无法定位软件包 ros-kinetic-map-server</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#without-authentic"><span class="toc-number">7.</span> <span class="toc-text">without authentic</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E5%AE%89%E8%A3%85ROS%E5%8C%85%E5%87%BA%E7%8E%B0404-Not-Found"><span class="toc-number">8.</span> <span class="toc-text">安装ROS包出现404 Not Found</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E6%89%BE%E4%B8%8D%E5%88%B0-deb"><span class="toc-number">9.</span> <span class="toc-text">找不到***.deb</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#rqt-tf-tree-%E6%8A%A5%E8%AD%A6"><span class="toc-number">10.</span> <span class="toc-text">rqt_tf_tree 报警</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#ImportError-No-module-named-rospkg-pyyaml"><span class="toc-number"></span> <span class="toc-text">ImportError: No module named rospkg pyyaml</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#Could-NOT-find-SDL-missing-SDL-LIBRARY-SDL-INCLUDE-DIR"><span class="toc-number">1.</span> <span class="toc-text">Could NOT find SDL (missing: SDL_LIBRARY SDL_INCLUDE_DIR)</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E7%BC%BA%E5%B0%91%E6%9F%90%E4%B8%AA%E5%8C%85"><span class="toc-number">2.</span> <span class="toc-text">缺少某个包</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#liborocos-kdl-1-3-0"><span class="toc-number">3.</span> <span class="toc-text">liborocos-kdl_1.3.0</span></a></li></ol></div></div><div class="author-info hide"><div class="author-info__avatar text-center"><img src="https://s2.loli.net/2022/02/17/HQaCXUBn64zsMIL.png"></div><div class="author-info__name text-center">Charon Cheung</div><div class="author-info__description text-center"></div><hr><div class="author-info-articles"><a class="author-info-articles__archives article-meta" href="/archives"><span class="pull-left">Articles</span><span class="pull-right">652</span></a><a class="author-info-articles__tags article-meta" href="/tags"><span class="pull-left">Tags</span><span class="pull-right">6</span></a><a class="author-info-articles__categories article-meta" href="/categories"><span class="pull-left">Categories</span><span class="pull-right">50</span></a></div></div></div><div id="content-outer"><div id="top-container" style="background-image: url(https://s2.loli.net/2022/11/17/QOR8cePIS5NdDrK.jpg)"><div id="page-header"><span class="pull-left"> <a id="site-name" href="/">沉默杀手</a></span><i class="fa fa-bars toggle-menu pull-right" aria-hidden="true"></i><span class="pull-right menus"><a class="site-page" href="/">Home</a><a class="site-page" href="/archives">Archives</a><a class="site-page" href="/tags">Tags</a><a class="site-page" href="/categories">Categories</a></span></div><div id="post-info"><div id="post-title">ROS安装的常见问题</div><div id="post-meta"><time class="post-meta__date"><i class="fa fa-calendar" aria-hidden="true"></i> 2018-12-15</time><span class="post-meta__separator">|</span><i class="fa fa-inbox post-meta__icon" aria-hidden="true"></i><a class="post-meta__categories" href="/categories/ROS/">ROS</a><i class="fa fa-angle-right" aria-hidden="true"></i><i class="fa fa-inbox post-meta__icon" aria-hidden="true"></i><a class="post-meta__categories" href="/categories/ROS/ROS-Kinetic%E7%9F%A5%E8%AF%86/">ROS Kinetic知识</a><span class="post-meta__separator">|</span><i class="fa fa-comment-o post-meta__icon" aria-hidden="true"></i><a href="/2018/12/15/ROS/ROS%20Kinetic%E7%9F%A5%E8%AF%86/ROS%E5%AE%89%E8%A3%85%E7%9A%84%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98/#disqus_thread"><span class="disqus-comment-count" data-disqus-identifier="2018/12/15/ROS/ROS Kinetic知识/ROS安装的常见问题/"></span></a><div class="post-meta-wordcount"><span>Word count: </span><span class="word-count">1.2k</span><span class="post-meta__separator">|</span><span>Reading time: 5 min</span></div></div></div></div><div class="layout" id="content-inner"><article id="post"><div class="article-container" id="post-content"><p>新的电脑安装ubuntu16和18很容易出毛病,无线网卡不能用,驱动也装不成功。显卡驱动有问题,不能改变屏幕亮度和外接显示器等等问题。所以但是装新系统就不会有这些问题,因此ROS最好也用noetic,当然更新的是ROS2</p>
<h3 id="安装ROS报错"><a href="#安装ROS报错" class="headerlink" title="安装ROS报错"></a>安装ROS报错</h3><p>Ubuntu 16.04 安装ROS kinetic报错<code>Depends: ros-kinetic-desktop but it is not going to be installed</code></p>
<ol>
<li>删除ros-latest.list</li>
Expand Down Expand Up @@ -37,6 +37,8 @@ <h3 id="安装ROS包出现404-Not-Found"><a href="#安装ROS包出现404-Not-Fou
<p>现在可以正常安装了,如果以后安装ROS,需要用这个新的Key,目前网上很多旧资料还是以前那个Key</p>
<p>参考:<br><a target="_blank" rel="noopener" href="https://answers.ros.org/question/325039/apt-update-fails-cannot-install-pkgs-key-not-working/">apt update fails / cannot install pkgs</a><br><a target="_blank" rel="noopener" href="https://www.cxyzjd.com/article/heart_hang/95043542">ROS报错“An error occurred during the signature verification”的解决办法</a></p>
<h3 id="找不到-deb"><a href="#找不到-deb" class="headerlink" title="找不到***.deb"></a>找不到<code>***.deb</code></h3><p>有时候我们解决了上面的问题,还是会出现下载ros包出现找不到的错误,这是因为ROS的包大部分都是在更新的,比如robot_state_publisher在2020年1月就更新了,如果没有apt-get update,是下载不到的</p>
<h3 id="rqt-tf-tree-报警"><a href="#rqt-tf-tree-报警" class="headerlink" title="rqt_tf_tree 报警"></a>rqt_tf_tree 报警</h3><p>执行<code>rqt_tf_tree</code>出现报警:<br><figure class="highlight perl"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">/opt/ros/melodic/lib/python2.<span class="number">7</span>/dist-packages/rqt_tf_tree/dotcode_tf.py: <span class="number">96</span>: YAMLLoadWarning: calling yaml.load() without Loader=...is deprecated as the default Loader is unsafe. Please <span class="keyword">read</span> https:<span class="regexp">//msg</span>.pyyaml.org/load <span class="keyword">for</span> full details.</span><br></pre></td></tr></table></figure><br>不理会也无影响,如果要解决,在<code>dotcode_tf.py</code>96行改为 <code>yaml.load(input, Loader=yaml.FullLoader)</code></p>
<p>参考: <a target="_blank" rel="noopener" href="https://blog.csdn.net/DaisyCold/article/details/108428922">yaml.load 问题</a></p>
<h2 id="ImportError-No-module-named-rospkg-pyyaml"><a href="#ImportError-No-module-named-rospkg-pyyaml" class="headerlink" title="ImportError: No module named rospkg pyyaml"></a>ImportError: No module named rospkg pyyaml</h2><p><code>sudo pip3 install pyyaml</code> 或者 <code>sudo apt-get install python3-yaml</code></p>
<p>如果出现 <code>Requirement already satisfied:</code>,尝试下面命令<br><figure class="highlight sh"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line">sudo apt-get install python3-catkin-pkg</span><br><span class="line">sudo apt-get install python3-rospkg</span><br><span class="line">sudo apt-get install python3-rospkg-modules</span><br><span class="line">sudo apt-get install python3-catkin-pkg-modules</span><br></pre></td></tr></table></figure></p>
<p>如果还有问题,那就是python版本问题,而不是安装的问题了,使用python3一般能解决,不过要explicitly指定,所以执行<br><figure class="highlight sh"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">sudo apt install python-is-python3</span><br></pre></td></tr></table></figure></p>
Expand Down
Loading

0 comments on commit 23cd0bb

Please sign in to comment.