-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
287 lines (257 loc) · 45.4 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
<!DOCTYPE html><html lang="zh-CN" data-theme="light"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>LiYi's Workshop</title><meta name="author" content="Li Yi"><meta name="copyright" content="Li Yi"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#ffffff"><meta property="og:type" content="website">
<meta property="og:title" content="LiYi's Workshop">
<meta property="og:url" content="http://example.com/index.html">
<meta property="og:site_name" content="LiYi's Workshop">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://z3.ax1x.com/2021/06/26/RGz5tg.jpg">
<meta property="article:author" content="Li Yi">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://z3.ax1x.com/2021/06/26/RGz5tg.jpg"><link rel="shortcut icon" href="/img/favicon.png"><link rel="canonical" href="http://example.com/"><link rel="preconnect" href="//cdn.jsdelivr.net"/><link rel="preconnect" href="//busuanzi.ibruce.info"/><link rel="stylesheet" href="/css/index.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free/css/all.min.css" media="print" onload="this.media='all'"><script>const GLOBAL_CONFIG = {
root: '/',
algolia: undefined,
localSearch: {"path":"search.xml","languages":{"hits_empty":"找不到您查询的内容:${query}"}},
translate: undefined,
noticeOutdate: undefined,
highlight: {"plugin":"highlighjs","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":false},
copy: {
success: '复制成功',
error: '复制错误',
noSupport: '浏览器不支持'
},
relativeDate: {
homepage: false,
post: false
},
runtime: '天',
date_suffix: {
just: '刚刚',
min: '分钟前',
hour: '小时前',
day: '天前',
month: '个月前'
},
copyright: undefined,
lightbox: 'mediumZoom',
Snackbar: undefined,
source: {
jQuery: 'https://cdn.jsdelivr.net/npm/jquery@latest/dist/jquery.min.js',
justifiedGallery: {
js: 'https://cdn.jsdelivr.net/npm/justifiedGallery/dist/js/jquery.justifiedGallery.min.js',
css: 'https://cdn.jsdelivr.net/npm/justifiedGallery/dist/css/justifiedGallery.min.css'
},
fancybox: {
js: 'https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@latest/dist/jquery.fancybox.min.js',
css: 'https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@latest/dist/jquery.fancybox.min.css'
}
},
isPhotoFigcaption: false,
islazyload: false,
isanchor: false
}</script><script id="config-diff">var GLOBAL_CONFIG_SITE = {
title: 'LiYi\'s Workshop',
isPost: false,
isHome: true,
isHighlightShrink: false,
isToc: false,
postUpdate: '2021-11-09 23:57:51'
}</script><noscript><style type="text/css">
#nav {
opacity: 1
}
.justified-gallery img {
opacity: 1
}
#recent-posts time,
#post-meta time {
display: inline !important
}
</style></noscript><script>(win=>{
win.saveToLocal = {
set: function setWithExpiry(key, value, ttl) {
if (ttl === 0) return
const now = new Date()
const expiryDay = ttl * 86400000
const item = {
value: value,
expiry: now.getTime() + expiryDay,
}
localStorage.setItem(key, JSON.stringify(item))
},
get: function getWithExpiry(key) {
const itemStr = localStorage.getItem(key)
if (!itemStr) {
return undefined
}
const item = JSON.parse(itemStr)
const now = new Date()
if (now.getTime() > item.expiry) {
localStorage.removeItem(key)
return undefined
}
return item.value
}
}
win.getScript = url => new Promise((resolve, reject) => {
const script = document.createElement('script')
script.src = url
script.async = true
script.onerror = reject
script.onload = script.onreadystatechange = function() {
const loadState = this.readyState
if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
script.onload = script.onreadystatechange = null
resolve()
}
document.head.appendChild(script)
})
win.activateDarkMode = function () {
document.documentElement.setAttribute('data-theme', 'dark')
if (document.querySelector('meta[name="theme-color"]') !== null) {
document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0d0d0d')
}
}
win.activateLightMode = function () {
document.documentElement.setAttribute('data-theme', 'light')
if (document.querySelector('meta[name="theme-color"]') !== null) {
document.querySelector('meta[name="theme-color"]').setAttribute('content', '#ffffff')
}
}
const t = saveToLocal.get('theme')
if (t === 'dark') activateDarkMode()
else if (t === 'light') activateLightMode()
const asideStatus = saveToLocal.get('aside-status')
if (asideStatus !== undefined) {
if (asideStatus === 'hide') {
document.documentElement.classList.add('hide-aside')
} else {
document.documentElement.classList.remove('hide-aside')
}
}
})(window)</script><!-- hexo injector head_end start --><link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/Zfour/[email protected]/clock.css"><!-- hexo injector head_end end --><meta name="generator" content="Hexo 5.4.0"></head><body><div id="sidebar"><div id="menu-mask"></div><div id="sidebar-menus"><div class="author-avatar"><img class="avatar-img" src="https://z3.ax1x.com/2021/06/26/RGz5tg.jpg" onerror="onerror=null;src='/img/friend_404.gif'" alt="avatar"/></div><div class="site-data"><div class="data-item is-center"><div class="data-item-link"><a href="/archives/"><div class="headline">文章</div><div class="length-num">13</div></a></div></div><div class="data-item is-center"><div class="data-item-link"><a href="/tags/"><div class="headline">标签</div><div class="length-num">15</div></a></div></div><div class="data-item is-center"><div class="data-item-link"><a href="/categories/"><div class="headline">分类</div><div class="length-num">6</div></a></div></div></div><hr/><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> Home</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw fas fa-tags"></i><span> Tags</span></a></div><div class="menus_item"><a class="site-page" href="/categories/"><i class="fa-fw fas fa-folder-open"></i><span> Categories</span></a></div><div class="menus_item"><a class="site-page" href="javascript:void(0);"><i class="fa-fw fas fa-list"></i><span> List</span><i class="fas fa-chevron-down expand"></i></a><ul class="menus_item_child"><li><a class="site-page child" href="/music/"><i class="fa-fw fas fa-music"></i><span> Music</span></a></li></ul></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fas fa-link"></i><span> Link</span></a></div><div class="menus_item"><a class="site-page" href="/about/"><i class="fa-fw fas fa-heart"></i><span> About</span></a></div></div></div></div><div class="page" id="body-wrap"><header class="full_page" id="page-header" style="background-image: url('https://z3.ax1x.com/2021/05/28/2ice1I.jpg')"><nav id="nav"><span id="blog_name"><a id="site-name" href="/">LiYi's Workshop</a></span><div id="menus"><div id="search-button"><a class="site-page social-icon search"><i class="fas fa-search fa-fw"></i><span> 搜索</span></a></div><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> Home</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw fas fa-tags"></i><span> Tags</span></a></div><div class="menus_item"><a class="site-page" href="/categories/"><i class="fa-fw fas fa-folder-open"></i><span> Categories</span></a></div><div class="menus_item"><a class="site-page" href="javascript:void(0);"><i class="fa-fw fas fa-list"></i><span> List</span><i class="fas fa-chevron-down expand"></i></a><ul class="menus_item_child"><li><a class="site-page child" href="/music/"><i class="fa-fw fas fa-music"></i><span> Music</span></a></li></ul></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fas fa-link"></i><span> Link</span></a></div><div class="menus_item"><a class="site-page" href="/about/"><i class="fa-fw fas fa-heart"></i><span> About</span></a></div></div><div id="toggle-menu"><a class="site-page"><i class="fas fa-bars fa-fw"></i></a></div></div></nav><div id="site-info"><h1 id="site-title">LiYi's Workshop</h1><div id="site-subtitle"><span id="subtitle"></span></div><div id="site_social_icons"><a class="social-icon" href="https://github.com/yolo01826" target="_blank" title="Github"><i class="fab fa-github"></i></a><a class="social-icon" href="mailto:[email protected]" target="_blank" title="Email"><i class="fas fa-envelope"></i></a><a class="social-icon" href="http://wpa.qq.com/msgrd?v=3&uin=2360688117&site=qq&menu=yes" target="_blank" title="QQ"><i class="fab fa-qq"></i></a></div></div><div id="scroll-down"><i class="fas fa-angle-down scroll-down-effects"></i></div></header><main class="layout" id="content-inner"><div class="recent-posts" id="recent-posts"><div class="recent-post-item"><div class="post_cover left_radius"><a href="/2021/11/07/%E8%80%83%E7%A0%94%E6%95%B0%E5%AD%A6/" title="考研数学题集"> <img class="post_bg" src="https://z3.ax1x.com/2021/11/07/IlabLt.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="考研数学题集"></a></div><div class="recent-post-info"><a class="article-title" href="/2021/11/07/%E8%80%83%E7%A0%94%E6%95%B0%E5%AD%A6/" title="考研数学题集">考研数学题集</a><div class="article-meta-wrap"><span class="article-meta"><i class="fas fa-thumbtack sticky"></i><span class="sticky">置顶</span><span class="article-meta__separator">|</span></span><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2021-11-06T16:00:00.000Z" title="发表于 2021-11-07 00:00:00">2021-11-07</time></span><span class="article-meta"><span class="article-meta__separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E6%95%B0%E5%AD%A6/">数学</a></span></div><div class="content">数学模拟卷张宇8套卷二2 12 20 21(3)
不可导点集中在$x=1,x=2,x=3$需要用$x^2+ax+b$把它们消掉
令$x=t+ {\frac{\pi}{2}}$
根据$|f’(x)|\leq{M}$推测需要用到泰勒展开,直接展开$f(x)$不太够,所以对$\int_a^xf(t)dt$和$\int_x^bf(t)dt$泰勒展开
$r(A^TA)=r(A)且Ax=0的解也是A^TAx=0的解,所以A^TAx=0与Ax=0同解$
卷三 2 18
间断点处分母为0
尝试用对曲面的面积积分解题,但积不出来,所以实际考察的是多元函数极值,截面是一个椭圆,点到原点距离的最大值和最小值分别是长半轴长和短半轴长
卷四4 7 18 19 20
$三重积分的先二后一法,重点消化$
卷五1
卷六18 22
卷七 ...</div></div></div><div class="recent-post-item"><div class="post_cover right_radius"><a href="/2021/10/06/2021-10-6-%E7%94%B5%E8%B7%AF934%E7%96%91%E9%9A%BE%E7%82%B9/" title="电路934疑难点"> <img class="post_bg" src="https://z3.ax1x.com/2021/10/06/4x5m7Q.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="电路934疑难点"></a></div><div class="recent-post-info"><a class="article-title" href="/2021/10/06/2021-10-6-%E7%94%B5%E8%B7%AF934%E7%96%91%E9%9A%BE%E7%82%B9/" title="电路934疑难点">电路934疑难点</a><div class="article-meta-wrap"><span class="article-meta"><i class="fas fa-thumbtack sticky"></i><span class="sticky">置顶</span><span class="article-meta__separator">|</span></span><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2021-10-05T16:00:00.000Z" title="发表于 2021-10-06 00:00:00">2021-10-06</time></span><span class="article-meta"><span class="article-meta__separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E7%94%B5%E8%B7%AF/">电路</a></span></div><div class="content">1.Y与Δ的相互转换
2.实际电源两种模型的相互转换 等效变换仅保证端子外部电路的电压,电流和功率相同,对内部并无等效可言
3.KCL和KVL 的独立方程数对于具有$b$条支路和$n$个结点的电路,根据KCL可以列出$(n-1)$个独立方程,根据KVL可以列出$(b-n+1)$个独立方程
4.结点电压法的特殊情况1.无伴独立电压源:
以电压源的一端连接点作为参考点,则关于另一端的节点电压已知
2.受控电流源:
作用可以看成是独立电流源但是需将控制量用节点电压表示
3.有伴受控电压源:
直接转换为等效受控电流源
4.无伴受控电压源:
以电压源的一端连接点作为参考点,则关于另一端的节点电压已知,控制量需用节点电压表示
5.叠加定理独立源置零时受控源仍应保留在各分电路中
6.戴维南定理和诺顿定理的两种使用方法使用对象是==一个含独立电源、线性电阻和受控源的一端口==
1.根据开路电压$u_{oc}$、短路电流的$i_{sc}$以及等 ...</div></div></div><div class="recent-post-item"><div class="post_cover left_radius"><a href="/2021/06/26/Gazebo%E4%B8%8B%E7%9A%84%E5%8F%8C%E8%87%82%E5%8D%8F%E4%BD%9C%E6%9C%BA%E5%99%A8%E4%BA%BA%E7%9A%84%E5%B7%A5%E4%BB%B6%E8%A3%85%E9%85%8D%EF%BC%88%E5%9B%9B%EF%BC%89%E5%9F%BA%E4%BA%8E%E7%82%B9%E4%BA%91%E5%92%8Cyolo/" title="Gazebo下的双臂协作机器人的工件装配(三)基于点云和yolo"> <img class="post_bg" src="https://z3.ax1x.com/2021/06/26/RGwxJ0.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Gazebo下的双臂协作机器人的工件装配(三)基于点云和yolo"></a></div><div class="recent-post-info"><a class="article-title" href="/2021/06/26/Gazebo%E4%B8%8B%E7%9A%84%E5%8F%8C%E8%87%82%E5%8D%8F%E4%BD%9C%E6%9C%BA%E5%99%A8%E4%BA%BA%E7%9A%84%E5%B7%A5%E4%BB%B6%E8%A3%85%E9%85%8D%EF%BC%88%E5%9B%9B%EF%BC%89%E5%9F%BA%E4%BA%8E%E7%82%B9%E4%BA%91%E5%92%8Cyolo/" title="Gazebo下的双臂协作机器人的工件装配(三)基于点云和yolo">Gazebo下的双臂协作机器人的工件装配(三)基于点云和yolo</a><div class="article-meta-wrap"><span class="article-meta"><i class="fas fa-thumbtack sticky"></i><span class="sticky">置顶</span><span class="article-meta__separator">|</span></span><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2021-06-25T16:00:00.000Z" title="发表于 2021-06-26 00:00:00">2021-06-26</time></span><span class="article-meta"><span class="article-meta__separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E5%B7%A5%E4%B8%9A%E6%9C%BA%E5%99%A8%E4%BA%BA/">工业机器人</a></span></div><div class="content">安装PCLPCL(Point Cloud Library)是在吸收了前人点云相关研究基础上建立起来的大型跨平台开源C++编程库,它实现了大量点云相关的通用算法和高效数据结构,涉及到点云获取、滤波、分割、配准、检索、特征提取、识别、追踪、曲面重建、可视化等。
具体安装过程不在赘述,大致安装过程如下:
1.安装各种依赖库
2.Qt4切换到Qt5
123qmake -vcd /usr/lib/x86_64-linux-gnu/qt-default/qtchoosersudo gedit default.conf
将里面的Qt4目录改为QT5的安装目录
3.通过编译源码安装VTK7.1.1,需要cmake gui
4.推荐直接通过命令行安装,通过源码安装依赖太多编译不容易通过
(通过命令行安装的PCL版本是1.7.2)
安装好后可以找个例程测试一下pcl visualizer能否正常显示
相关例程及cmakelist百度云:https://pan.baidu.com/s/1hZU0FzA3iyXTCS-AHXWS1Q
搭建环境该world在原来食品分类的基础上修改得到
工件STL模型百度云: ...</div></div></div><div class="recent-post-item"><div class="post_cover right_radius"><a href="/2021/06/14/%E5%8F%8C%E8%87%82%E5%8D%8F%E4%BD%9C%E6%9C%BA%E5%99%A8%E4%BA%BA%E7%9A%84%E9%A3%9F%E5%93%81%E5%88%86%E7%B1%BB%E6%8A%93%E5%8F%96%E4%BB%BF%E7%9C%9F%EF%BC%88%E4%B8%89%EF%BC%89%E4%BA%8C%E7%BB%B4%E6%8A%93%E5%A7%BF%E6%A3%80%E6%B5%8B/" title="双臂协作机器人的食品分类抓取仿真(三)二维抓姿检测"> <img class="post_bg" src="https://z3.ax1x.com/2021/06/14/2TNVzV.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="双臂协作机器人的食品分类抓取仿真(三)二维抓姿检测"></a></div><div class="recent-post-info"><a class="article-title" href="/2021/06/14/%E5%8F%8C%E8%87%82%E5%8D%8F%E4%BD%9C%E6%9C%BA%E5%99%A8%E4%BA%BA%E7%9A%84%E9%A3%9F%E5%93%81%E5%88%86%E7%B1%BB%E6%8A%93%E5%8F%96%E4%BB%BF%E7%9C%9F%EF%BC%88%E4%B8%89%EF%BC%89%E4%BA%8C%E7%BB%B4%E6%8A%93%E5%A7%BF%E6%A3%80%E6%B5%8B/" title="双臂协作机器人的食品分类抓取仿真(三)二维抓姿检测">双臂协作机器人的食品分类抓取仿真(三)二维抓姿检测</a><div class="article-meta-wrap"><span class="article-meta"><i class="fas fa-thumbtack sticky"></i><span class="sticky">置顶</span><span class="article-meta__separator">|</span></span><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2021-06-13T16:00:00.000Z" title="发表于 2021-06-14 00:00:00">2021-06-14</time></span><span class="article-meta"><span class="article-meta__separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E5%B7%A5%E4%B8%9A%E6%9C%BA%E5%99%A8%E4%BA%BA/">工业机器人</a></span></div><div class="content">效果演示
将yumi的功能模块和darknet_ros的检测模块整合到了一个工作空间,在原有食品检测分类的基础上实现了bounding boxes的获取以及抓姿的检测和发布历史遗留问题darknet_ros_msgs包中自定义了三种消息类型,如果和yumi的相关功能包处在不同的工作空间下yumi将无法法订阅这些自定义消息,因此必须想办法将工作空间重新整合在一起
1.为确保配置不受编译后的文件影响,在~/catkin_ws/src下新建darknet_ros文件夹先不要编译,重新将daknet_ros下的相关文件按上一篇博客配置好,原来的yolov3-tiny_5000.weights,ros.yaml,yolov3-tiny.yaml,yolov3-tiny.cfg,darknet_ros.launch,这些文件都要搬到当前的darknet_ros里面来
2.准备好这些后就可以开始编译了
12cd ~/catkin_wscatkin_make -DCATKIN_WHITELIST_PACKAGES=“darknet;darknet_ros;darknet_ros_msgs” -DC ...</div></div></div><div class="recent-post-item"><div class="post_cover left_radius"><a href="/2021/06/11/%E5%8F%8C%E8%87%82%E5%8D%8F%E4%BD%9C%E6%9C%BA%E5%99%A8%E4%BA%BA%E7%9A%84%E9%A3%9F%E5%93%81%E5%88%86%E7%B1%BB%E6%8A%93%E5%8F%96%E4%BB%BF%E7%9C%9F%EF%BC%88%E4%BA%8C%EF%BC%89yolov3-tiny%E9%A3%9F%E5%93%81%E6%A3%80%E6%B5%8B%E4%B8%8E%E5%88%86%E7%B1%BB/" title="双臂协作机器人的食品分类抓取仿真(二)yolov3-tiny食品检测与分类"> <img class="post_bg" src="https://z3.ax1x.com/2021/06/08/2rYlnJ.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="双臂协作机器人的食品分类抓取仿真(二)yolov3-tiny食品检测与分类"></a></div><div class="recent-post-info"><a class="article-title" href="/2021/06/11/%E5%8F%8C%E8%87%82%E5%8D%8F%E4%BD%9C%E6%9C%BA%E5%99%A8%E4%BA%BA%E7%9A%84%E9%A3%9F%E5%93%81%E5%88%86%E7%B1%BB%E6%8A%93%E5%8F%96%E4%BB%BF%E7%9C%9F%EF%BC%88%E4%BA%8C%EF%BC%89yolov3-tiny%E9%A3%9F%E5%93%81%E6%A3%80%E6%B5%8B%E4%B8%8E%E5%88%86%E7%B1%BB/" title="双臂协作机器人的食品分类抓取仿真(二)yolov3-tiny食品检测与分类">双臂协作机器人的食品分类抓取仿真(二)yolov3-tiny食品检测与分类</a><div class="article-meta-wrap"><span class="article-meta"><i class="fas fa-thumbtack sticky"></i><span class="sticky">置顶</span><span class="article-meta__separator">|</span></span><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2021-06-10T16:00:00.000Z" title="发表于 2021-06-11 00:00:00">2021-06-11</time></span><span class="article-meta"><span class="article-meta__separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E5%B7%A5%E4%B8%9A%E6%9C%BA%E5%99%A8%E4%BA%BA/">工业机器人</a></span></div><div class="content">Darknet ROS下的食品分类初期成果:
配置Darknet_ROS1.创建工作空间并下载darknet_ros根据Darknet ROS项目文档的介绍:
This is a ROS package developed for object detection in camera images. You only look once (YOLO) is a state-of-the-art, real-time object detection system. In the following ROS package you are able to use YOLO (V3) on GPU and CPU. The pre-trained model of the convolutional neural network is able to detect pre-trained classes including the data set from VOC and COCO, or you can also create a network with your own d ...</div></div></div><div class="recent-post-item"><div class="post_cover right_radius"><a href="/2021/06/05/ROS%20Kinetic%20&%20Gazebo7%E4%B8%8B%E7%9A%84ABB-Yumi%E5%8F%8C%E8%87%82%E5%8D%8F%E4%BD%9C%E6%9C%BA%E5%99%A8%E4%BA%BA%E7%9A%84%E9%A3%9F%E5%93%81%E5%88%86%E7%B1%BB%E6%8A%93%E5%8F%96%E4%BB%BF%E7%9C%9F%EF%BC%88%E4%B8%80%EF%BC%89%E8%81%94%E5%90%88%E4%BB%BF%E7%9C%9F%E4%B8%8E%E7%8E%AF%E5%A2%83%E6%90%AD%E5%BB%BA/" title="ROS Kinetic & Gazebo7下的ABB-Yumi双臂协作机器人的食品分类抓取仿真(一)联合仿真与环境搭建"> <img class="post_bg" src="https://z3.ax1x.com/2021/06/14/2TtU5n.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="ROS Kinetic & Gazebo7下的ABB-Yumi双臂协作机器人的食品分类抓取仿真(一)联合仿真与环境搭建"></a></div><div class="recent-post-info"><a class="article-title" href="/2021/06/05/ROS%20Kinetic%20&%20Gazebo7%E4%B8%8B%E7%9A%84ABB-Yumi%E5%8F%8C%E8%87%82%E5%8D%8F%E4%BD%9C%E6%9C%BA%E5%99%A8%E4%BA%BA%E7%9A%84%E9%A3%9F%E5%93%81%E5%88%86%E7%B1%BB%E6%8A%93%E5%8F%96%E4%BB%BF%E7%9C%9F%EF%BC%88%E4%B8%80%EF%BC%89%E8%81%94%E5%90%88%E4%BB%BF%E7%9C%9F%E4%B8%8E%E7%8E%AF%E5%A2%83%E6%90%AD%E5%BB%BA/" title="ROS Kinetic & Gazebo7下的ABB-Yumi双臂协作机器人的食品分类抓取仿真(一)联合仿真与环境搭建">ROS Kinetic & Gazebo7下的ABB-Yumi双臂协作机器人的食品分类抓取仿真(一)联合仿真与环境搭建</a><div class="article-meta-wrap"><span class="article-meta"><i class="fas fa-thumbtack sticky"></i><span class="sticky">置顶</span><span class="article-meta__separator">|</span></span><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2021-06-04T16:00:00.000Z" title="发表于 2021-06-05 00:00:00">2021-06-05</time></span><span class="article-meta"><span class="article-meta__separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E5%B7%A5%E4%B8%9A%E6%9C%BA%E5%99%A8%E4%BA%BA/">工业机器人</a></span></div><div class="content">项目简介
本项目原计划研究基于双臂机器人的物体插孔装配操作,这个问题是双臂机器人协作规划与双臂协调运动控制的关键问题。研究基于项目现有的物理仿真环境,在双臂机器人抓取到物体之后,规划双臂的运动轨迹,实现两个可相互装配物体的插孔操作。
但是经过仿真测试发现Gazebo对物理效果的仿真有缺陷,两个工件是否能成功装配很大程度上收工件尺寸,质量,惯量,材质,碰撞等参数以及逆运动学求解精度的影响,因此任务调整为结合Yolov3目标检测算法完成双臂的协作控制以及水果以及各种饮料的分类抓取
环境Linux: ubuntu 16.04+Ros Kinetic+Gazebo7+Rviz+MoveitSetupAssistants+Blender2.9.3+Yolov3
Gazebo和Moveit的联合仿真 ABB-Yumi是一款比较新型的双臂协助机器人,开源资源相当有限且很不完善,因此从零搭建仿真环境十分困难,同时联合仿真的相关资料基本上都是基于自己搭建的模型以及UR系列的单臂机器 ...</div></div></div><div class="recent-post-item"><div class="post_cover left_radius"><a href="/2021/06/11/Ubuntu-16.04%E5%AE%89%E8%A3%85ROS-Kinetic/" title="Ubuntu 16.04安装ROS Kinetic"> <img class="post_bg" src="https://z3.ax1x.com/2021/06/11/2WCbWj.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Ubuntu 16.04安装ROS Kinetic"></a></div><div class="recent-post-info"><a class="article-title" href="/2021/06/11/Ubuntu-16.04%E5%AE%89%E8%A3%85ROS-Kinetic/" title="Ubuntu 16.04安装ROS Kinetic">Ubuntu 16.04安装ROS Kinetic</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2021-06-10T16:00:00.000Z" title="发表于 2021-06-11 00:00:00">2021-06-11</time></span><span class="article-meta"><span class="article-meta__separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E7%8E%AF%E5%A2%83/">环境</a></span></div><div class="content">起因 remove qt5时误删ROS,心态很崩,忍痛卸载重装ROS
12sudo apt-get purge ros-*sudo rm -rf /etc/ros
这时已成功卸载ROS
安装ROS Kinetic1.设置sources.list
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
2.设置key(公钥已更新)
sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
3.更新package
sudo apt-get update
4.安装ROS kinetic完整版
sudo apt-get install ros-kinetic-desktop-ful ...</div></div></div><div class="recent-post-item"><div class="post_cover right_radius"><a href="/2021/06/11/Ubuntu16.04%E5%AE%89%E8%A3%85cuda9.2,cudnn-7.6.3/" title="Ubuntu16.04安装cuda9.2,cudnn 7.6.3"> <img class="post_bg" src="https://z3.ax1x.com/2021/06/11/2WCoTS.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Ubuntu16.04安装cuda9.2,cudnn 7.6.3"></a></div><div class="recent-post-info"><a class="article-title" href="/2021/06/11/Ubuntu16.04%E5%AE%89%E8%A3%85cuda9.2,cudnn-7.6.3/" title="Ubuntu16.04安装cuda9.2,cudnn 7.6.3">Ubuntu16.04安装cuda9.2,cudnn 7.6.3</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2021-06-10T16:00:00.000Z" title="发表于 2021-06-11 00:00:00">2021-06-11</time></span><span class="article-meta"><span class="article-meta__separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E7%8E%AF%E5%A2%83/">环境</a></span></div><div class="content">安装Cuda 9.2由于驱动版本430,根据cuda官网要求可知下载9.2比较合适
https://developer.nvidia.com/cuda-toolkit-archive
下载cuda_9.2.148_396.37_linux.run
放到Home目录下
sudo bash cuda_9.2.148_396.37_linux.run
sudo source ~/.bashrc
添加到环境变量
export PATH=/usr/local/cuda-9.2/bin/:$PATH;export LD_LIBRARY_PATH=/usr/local/cuda-9.2/lib64/:$LD_LIBRARY_PATH;
除了不安装驱动,其它均选择y
之后通过 nvcc -V查看cuda是否成功安装
这里cuda 9.2已经成功安装!!!!!!
安装Cudnn7.6.3与Cuda9.2匹配的Cudnn库有7.6.3,所以这里到https://developer.nvidia.com/rdp/cudnn-archive
下载cudnn-9.2-linux-x64-v7.6.3.30. ...</div></div></div><div class="recent-post-item"><div class="post_cover left_radius"><a href="/2021/06/11/%E5%90%84%E7%A7%8D%E5%B7%A5%E5%85%B7%E7%9A%84%E5%BF%AB%E6%8D%B7%E9%94%AE%EF%BC%88%E6%8C%81%E7%BB%AD%E6%9B%B4%E6%96%B0%EF%BC%89/" title="各种工具的快捷键(持续更新)"> <img class="post_bg" src="https://z3.ax1x.com/2021/06/11/2WC7Fg.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="各种工具的快捷键(持续更新)"></a></div><div class="recent-post-info"><a class="article-title" href="/2021/06/11/%E5%90%84%E7%A7%8D%E5%B7%A5%E5%85%B7%E7%9A%84%E5%BF%AB%E6%8D%B7%E9%94%AE%EF%BC%88%E6%8C%81%E7%BB%AD%E6%9B%B4%E6%96%B0%EF%BC%89/" title="各种工具的快捷键(持续更新)">各种工具的快捷键(持续更新)</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2021-06-10T16:00:00.000Z" title="发表于 2021-06-11 00:00:00">2021-06-11</time></span><span class="article-meta"><span class="article-meta__separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E7%8E%AF%E5%A2%83/">环境</a></span></div><div class="content">Pycharm打开工程后Add Configuuration为灰色,Ctrl+Shift+F10
自动调整格式:Ctrl+Alt+L
labelImageCtrl + s 保存Ctrl + d Copy the current label and rect boxSpace 标记当前图片已标记 |w 创建一个矩形d 下一张图片a 上一张图片
SublimeText3注释:Ctrl+/
取消注释: Ctrl+Shift+L
缩进:Ctrl+]
前进:Ctrl+[
</div></div></div><div class="recent-post-item"><div class="post_cover right_radius"><a href="/2021/06/05/YOLOv5%E5%AE%9E%E7%8E%B0%E4%B8%AD%E5%8C%BB%E8%8D%AF%E8%BD%AF%E5%8C%85%E8%A3%85%E6%A3%80%E6%B5%8B/" title="YOLOv5实现中医药软包装检测"> <img class="post_bg" src="https://z3.ax1x.com/2021/06/05/2tRNEd.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="YOLOv5实现中医药软包装检测"></a></div><div class="recent-post-info"><a class="article-title" href="/2021/06/05/YOLOv5%E5%AE%9E%E7%8E%B0%E4%B8%AD%E5%8C%BB%E8%8D%AF%E8%BD%AF%E5%8C%85%E8%A3%85%E6%A3%80%E6%B5%8B/" title="YOLOv5实现中医药软包装检测">YOLOv5实现中医药软包装检测</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2021-06-04T16:00:00.000Z" title="发表于 2021-06-05 00:00:00">2021-06-05</time></span><span class="article-meta"><span class="article-meta__separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E6%9C%BA%E5%99%A8%E5%AD%A6%E4%B9%A0/">机器学习</a></span></div><div class="content">运行环境windows10+Anaconda3+pytorch1.8+python3.8+pycharm
安装Anaconda1.访问Anaconda官网下载Anaconda3并按照安装程序引导完成安装
2.找到.condarc文件
将channels下的default项去掉
3.启动Anaconda Prompt
添加镜像源
1234567891011conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/conda config --add channels https://mirrors.ustc.edu.cn/an ...</div></div></div><nav id="pagination"><div class="pagination"><span class="page-number current">1</span><a class="page-number" href="/page/2/#content-inner">2</a><a class="extend next" rel="next" href="/page/2/#content-inner"><i class="fas fa-chevron-right fa-fw"></i></a></div></nav></div><div class="aside-content" id="aside-content"><div class="card-widget card-info"><div class="card-info-avatar is-center"><img class="avatar-img" src="https://z3.ax1x.com/2021/06/26/RGz5tg.jpg" onerror="this.onerror=null;this.src='/img/friend_404.gif'" alt="avatar"/><div class="author-info__name">Li Yi</div><div class="author-info__description"></div></div><div class="card-info-data"><div class="card-info-data-item is-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">13</div></a></div><div class="card-info-data-item is-center"><a href="/tags/"><div class="headline">标签</div><div class="length-num">15</div></a></div><div class="card-info-data-item is-center"><a href="/categories/"><div class="headline">分类</div><div class="length-num">6</div></a></div></div><a class="button--animated" id="card-info-btn" target="_blank" rel="noopener" href="https://github.com/yolo01826"><i class="fab fa-github"></i><span>Follow Me</span></a><div class="card-info-social-icons is-center"><a class="social-icon" href="https://github.com/yolo01826" target="_blank" title="Github"><i class="fab fa-github"></i></a><a class="social-icon" href="mailto:[email protected]" target="_blank" title="Email"><i class="fas fa-envelope"></i></a><a class="social-icon" href="http://wpa.qq.com/msgrd?v=3&uin=2360688117&site=qq&menu=yes" target="_blank" title="QQ"><i class="fab fa-qq"></i></a></div></div><div class="card-widget card-announcement"><div class="item-headline"><i class="fas fa-bullhorn card-announcement-animation"></i><span>公告</span></div><div class="announcement_content">Robotics & Computer Vision</div></div><div class="sticky_layout"><div class="card-widget card-recent-post"><div class="item-headline"><i class="fas fa-history"></i><span>最新文章</span></div><div class="aside-list"><div class="aside-list-item"><a class="thumbnail" href="/2021/11/07/%E8%80%83%E7%A0%94%E6%95%B0%E5%AD%A6/" title="考研数学题集"><img src="https://z3.ax1x.com/2021/11/07/IlabLt.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="考研数学题集"/></a><div class="content"><a class="title" href="/2021/11/07/%E8%80%83%E7%A0%94%E6%95%B0%E5%AD%A6/" title="考研数学题集">考研数学题集</a><time datetime="2021-11-06T16:00:00.000Z" title="发表于 2021-11-07 00:00:00">2021-11-07</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2021/10/06/2021-10-6-%E7%94%B5%E8%B7%AF934%E7%96%91%E9%9A%BE%E7%82%B9/" title="电路934疑难点"><img src="https://z3.ax1x.com/2021/10/06/4x5m7Q.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="电路934疑难点"/></a><div class="content"><a class="title" href="/2021/10/06/2021-10-6-%E7%94%B5%E8%B7%AF934%E7%96%91%E9%9A%BE%E7%82%B9/" title="电路934疑难点">电路934疑难点</a><time datetime="2021-10-05T16:00:00.000Z" title="发表于 2021-10-06 00:00:00">2021-10-06</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2021/06/26/Gazebo%E4%B8%8B%E7%9A%84%E5%8F%8C%E8%87%82%E5%8D%8F%E4%BD%9C%E6%9C%BA%E5%99%A8%E4%BA%BA%E7%9A%84%E5%B7%A5%E4%BB%B6%E8%A3%85%E9%85%8D%EF%BC%88%E5%9B%9B%EF%BC%89%E5%9F%BA%E4%BA%8E%E7%82%B9%E4%BA%91%E5%92%8Cyolo/" title="Gazebo下的双臂协作机器人的工件装配(三)基于点云和yolo"><img src="https://z3.ax1x.com/2021/06/26/RGwxJ0.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Gazebo下的双臂协作机器人的工件装配(三)基于点云和yolo"/></a><div class="content"><a class="title" href="/2021/06/26/Gazebo%E4%B8%8B%E7%9A%84%E5%8F%8C%E8%87%82%E5%8D%8F%E4%BD%9C%E6%9C%BA%E5%99%A8%E4%BA%BA%E7%9A%84%E5%B7%A5%E4%BB%B6%E8%A3%85%E9%85%8D%EF%BC%88%E5%9B%9B%EF%BC%89%E5%9F%BA%E4%BA%8E%E7%82%B9%E4%BA%91%E5%92%8Cyolo/" title="Gazebo下的双臂协作机器人的工件装配(三)基于点云和yolo">Gazebo下的双臂协作机器人的工件装配(三)基于点云和yolo</a><time datetime="2021-06-25T16:00:00.000Z" title="发表于 2021-06-26 00:00:00">2021-06-26</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2021/06/14/%E5%8F%8C%E8%87%82%E5%8D%8F%E4%BD%9C%E6%9C%BA%E5%99%A8%E4%BA%BA%E7%9A%84%E9%A3%9F%E5%93%81%E5%88%86%E7%B1%BB%E6%8A%93%E5%8F%96%E4%BB%BF%E7%9C%9F%EF%BC%88%E4%B8%89%EF%BC%89%E4%BA%8C%E7%BB%B4%E6%8A%93%E5%A7%BF%E6%A3%80%E6%B5%8B/" title="双臂协作机器人的食品分类抓取仿真(三)二维抓姿检测"><img src="https://z3.ax1x.com/2021/06/14/2TNVzV.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="双臂协作机器人的食品分类抓取仿真(三)二维抓姿检测"/></a><div class="content"><a class="title" href="/2021/06/14/%E5%8F%8C%E8%87%82%E5%8D%8F%E4%BD%9C%E6%9C%BA%E5%99%A8%E4%BA%BA%E7%9A%84%E9%A3%9F%E5%93%81%E5%88%86%E7%B1%BB%E6%8A%93%E5%8F%96%E4%BB%BF%E7%9C%9F%EF%BC%88%E4%B8%89%EF%BC%89%E4%BA%8C%E7%BB%B4%E6%8A%93%E5%A7%BF%E6%A3%80%E6%B5%8B/" title="双臂协作机器人的食品分类抓取仿真(三)二维抓姿检测">双臂协作机器人的食品分类抓取仿真(三)二维抓姿检测</a><time datetime="2021-06-13T16:00:00.000Z" title="发表于 2021-06-14 00:00:00">2021-06-14</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2021/06/11/Ubuntu-16.04%E5%AE%89%E8%A3%85ROS-Kinetic/" title="Ubuntu 16.04安装ROS Kinetic"><img src="https://z3.ax1x.com/2021/06/11/2WCbWj.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Ubuntu 16.04安装ROS Kinetic"/></a><div class="content"><a class="title" href="/2021/06/11/Ubuntu-16.04%E5%AE%89%E8%A3%85ROS-Kinetic/" title="Ubuntu 16.04安装ROS Kinetic">Ubuntu 16.04安装ROS Kinetic</a><time datetime="2021-06-10T16:00:00.000Z" title="发表于 2021-06-11 00:00:00">2021-06-11</time></div></div></div></div><div class="card-widget card-categories"><div class="item-headline">
<i class="fas fa-folder-open"></i>
<span>分类</span>
</div>
<ul class="card-category-list" id="aside-cat-list">
<li class="card-category-list-item "><a class="card-category-list-link" href="/categories/BUG/"><span class="card-category-list-name">BUG</span><span class="card-category-list-count">1</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/%E5%B7%A5%E4%B8%9A%E6%9C%BA%E5%99%A8%E4%BA%BA/"><span class="card-category-list-name">工业机器人</span><span class="card-category-list-count">4</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/%E6%95%B0%E5%AD%A6/"><span class="card-category-list-name">数学</span><span class="card-category-list-count">1</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/%E6%9C%BA%E5%99%A8%E5%AD%A6%E4%B9%A0/"><span class="card-category-list-name">机器学习</span><span class="card-category-list-count">2</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/%E7%8E%AF%E5%A2%83/"><span class="card-category-list-name">环境</span><span class="card-category-list-count">3</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/%E7%94%B5%E8%B7%AF/"><span class="card-category-list-name">电路</span><span class="card-category-list-count">1</span></a></li>
</ul></div><div class="card-widget card-tags"><div class="item-headline"><i class="fas fa-tags"></i><span>标签</span></div><div class="card-tag-cloud"><a href="/tags/Cuda/" style="font-size: 1.1em; color: #999">Cuda</a> <a href="/tags/Gazebo/" style="font-size: 1.5em; color: #99a9bf">Gazebo</a> <a href="/tags/HOG/" style="font-size: 1.1em; color: #999">HOG</a> <a href="/tags/Moveit/" style="font-size: 1.5em; color: #99a9bf">Moveit</a> <a href="/tags/PCL/" style="font-size: 1.1em; color: #999">PCL</a> <a href="/tags/Pycharm/" style="font-size: 1.1em; color: #999">Pycharm</a> <a href="/tags/ROS/" style="font-size: 1.5em; color: #99a9bf">ROS</a> <a href="/tags/ROS-Kinetic/" style="font-size: 1.1em; color: #999">ROS Kinetic</a> <a href="/tags/SVM/" style="font-size: 1.1em; color: #999">SVM</a> <a href="/tags/YOLOv5/" style="font-size: 1.1em; color: #999">YOLOv5</a> <a href="/tags/Yolov3/" style="font-size: 1.5em; color: #99a9bf">Yolov3</a> <a href="/tags/opencv-python/" style="font-size: 1.1em; color: #999">opencv-python</a> <a href="/tags/pytorch/" style="font-size: 1.1em; color: #999">pytorch</a> <a href="/tags/%E7%89%B9%E5%BE%81%E6%8F%90%E5%8F%96/" style="font-size: 1.1em; color: #999">特征提取</a> <a href="/tags/%E7%9B%AE%E6%A0%87%E6%A3%80%E6%B5%8B/" style="font-size: 1.3em; color: #99a1ac">目标检测</a></div></div><div class="card-widget card-archives"><div class="item-headline"><i class="fas fa-archive"></i><span>归档</span></div><ul class="card-archive-list"><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2021/11/"><span class="card-archive-list-date">十一月 2021</span><span class="card-archive-list-count">1</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2021/10/"><span class="card-archive-list-date">十月 2021</span><span class="card-archive-list-count">1</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2021/06/"><span class="card-archive-list-date">六月 2021</span><span class="card-archive-list-count">10</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2021/05/"><span class="card-archive-list-date">五月 2021</span><span class="card-archive-list-count">1</span></a></li></ul></div><div class="card-widget card-webinfo"><div class="item-headline"><i class="fas fa-chart-line"></i><span>网站资讯</span></div><div class="webinfo"><div class="webinfo-item"><div class="item-name">文章数目 :</div><div class="item-count">13</div></div><div class="webinfo-item"><div class="item-name">已运行时间 :</div><div class="item-count" id="runtimeshow" data-publishDate="2021-05-27T16:00:00.000Z"></div></div><div class="webinfo-item"><div class="item-name">本站访客数 :</div><div class="item-count" id="busuanzi_value_site_uv"></div></div><div class="webinfo-item"><div class="item-name">本站总访问量 :</div><div class="item-count" id="busuanzi_value_site_pv"></div></div><div class="webinfo-item"><div class="item-name">最后更新时间 :</div><div class="item-count" id="last-push-date" data-lastPushDate="2021-11-09T15:57:51.482Z"></div></div></div></div></div></div></main><footer id="footer" style="background-image: url('https://z3.ax1x.com/2021/05/28/2ice1I.jpg')"><div id="footer-wrap"><div class="copyright">©2021 By Li Yi</div><div class="framework-info"><span>框架 </span><a target="_blank" rel="noopener" href="https://hexo.io">Hexo</a><span class="footer-separator">|</span><span>主题 </span><a target="_blank" rel="noopener" href="https://github.com/jerryc127/hexo-theme-butterfly">Butterfly</a></div></div></footer></div><div id="rightside"><div id="rightside-config-hide"><button id="darkmode" type="button" title="浅色和深色模式转换"><i class="fas fa-adjust"></i></button><button id="hide-aside-btn" type="button" title="单栏和双栏切换"><i class="fas fa-arrows-alt-h"></i></button></div><div id="rightside-config-show"><button id="rightside_config" type="button" title="设置"><i class="fas fa-cog fa-spin"></i></button><button id="go-up" type="button" title="回到顶部"><i class="fas fa-arrow-up"></i></button></div></div><div id="local-search"><div class="search-dialog"><div class="search-dialog__title" id="local-search-title">本地搜索</div><div id="local-input-panel"><div id="local-search-input"><div class="local-search-box"><input class="local-search-box--input" placeholder="搜索文章" type="text"/></div></div></div><hr/><div id="local-search-results"></div><span class="search-close-button"><i class="fas fa-times"></i></span></div><div id="search-mask"></div></div><div><script src="/js/utils.js"></script><script src="/js/main.js"></script><script src="https://cdn.jsdelivr.net/npm/medium-zoom/dist/medium-zoom.min.js"></script><script src="/js/search/local-search.js"></script><div class="js-pjax"><script>function subtitleType () {
fetch('https://v1.hitokoto.cn')
.then(response => response.json())
.then(data => {
if (true) {
var from = '出自 ' + data.from
var sub = "".length == 0 ? new Array() : "".split(',')
var both = sub.unshift(data.hitokoto, from)
var typed = new Typed('#subtitle', {
strings: sub,
startDelay: 300,
typeSpeed: 150,
loop: true,
backSpeed: 50,
})
} else {
document.getElementById('subtitle').innerHTML = data.hitokoto
}
})
}
if (true) {
if (typeof Typed === 'function') {
subtitleType()
} else {
getScript('https://cdn.jsdelivr.net/npm/typed.js/lib/typed.min.js').then(subtitleType)
}
} else {
subtitleType()
}
</script></div><script async data-pjax src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script></div><!-- hexo injector body_end start --><script data-pjax>function electric_clock_injector_config(){
var parent_div_git = document.getElementsByClassName('sticky_layout')[0];
var item_html = '<div class="card-widget card-clock"><div class="card-glass"><div class="card-background"><div class="card-content"><div id="hexo_electric_clock"><img id="card-clock-loading" src="https://cdn.jsdelivr.net/gh/Zfour/Butterfly-clock/clock/images/weather/loading.gif" style="height: 120px; width: 100%;" data-ll-status="loading" class="entered loading"></div></div></div></div></div>';
console.log('已挂载electric_clock')
// parent_div_git.innerHTML=item_html+parent_div_git.innerHTML // 无报错,但不影响使用(支持pjax跳转)
parent_div_git.insertAdjacentHTML("afterbegin",item_html) // 有报错,但不影响使用(支持pjax跳转)
}if( document.getElementsByClassName('sticky_layout')[0] && (location.pathname ==='all'|| 'all' ==='all')){
electric_clock_injector_config()
} </script><script src="https://pv.sohu.com/cityjson?ie=utf-8"></script><script data-pjax src="https://cdn.jsdelivr.net/gh/Zfour/[email protected]/clock.js"></script><!-- hexo injector body_end end --></body></html>