ramlife

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 26 下一页

2020年10月23日

摘要: 1. 安装轮子,麦轮总车顶俯视看,四个车轮上面的滚子组成一个 X 形状。下图的后面两个就是 X 形状安装。 2. 移动时轮子的方向: 参考: https://makelog.dfrobot.com.cn/article-1705.html 3. 受力分析: https://blog.csdn.net 阅读全文
posted @ 2020-10-23 11:34 ramlife 阅读(1156) 评论(0) 推荐(0) 编辑

2020年10月22日

摘要: 1. 获取容器的最大最小值,注意返回的不是数值,需要 *。 min_data = *min_element(myarr.begin(),myarr.end()); auto mydata = minmax_element(myarr.begin(),myarr.end()); cout<<"min: 阅读全文
posted @ 2020-10-22 20:28 ramlife 阅读(139) 评论(0) 推荐(0) 编辑

2020年10月21日

摘要: #1. 离散位置式 PID 公式: u(k) = k_{p}(error(k) + \frac{T}{T_{i}}\sum_{j = 0}^{k}error(j) + \frac{^{T_{d}}}{T}(error(k) - error(k - 1))) = k_{p}error(k) + k_{ 阅读全文
posted @ 2020-10-21 11:04 ramlife 阅读(200) 评论(0) 推荐(0) 编辑

2020年10月16日

摘要: 工程的配置中, user 的选项卡,after build/rebuild 的两条命令可以设置为 fromelf --text -c -o "$L@L.asm" "#L" fromelf --bin -o "$L@L.bin" "#L" 阅读全文
posted @ 2020-10-16 14:52 ramlife 阅读(257) 评论(0) 推荐(0) 编辑

摘要: class Process : public QObject { Q_OBJECT public: Process() { connect(&m_process, SIGNAL(readyReadStandardOutput()), this, SLOT(onReadData())); m_proc 阅读全文
posted @ 2020-10-16 10:53 ramlife 阅读(2520) 评论(0) 推荐(0) 编辑

2020年10月12日

摘要: git 生成 ssh key,执行下面代码即可: git config --global --list git config --global user.name "这里换上你的用户名" git config --global user.email "这里换上你的邮箱" ssh-keygen -t 阅读全文
posted @ 2020-10-12 14:44 ramlife 阅读(147) 评论(0) 推荐(0) 编辑

2020年10月10日

摘要: #1 py3 中 print 不换行,只需要增加参数 end = '' 就可以了。类似于: print(output, end = '') #2 如果在 py2 中想要使用 py3 的 print ,只需要在文件最上面增加 from future import print_function 即可。 阅读全文
posted @ 2020-10-10 14:46 ramlife 阅读(164) 评论(0) 推荐(0) 编辑

2020年10月9日

摘要: #1 小车端开机,然后连接无线网,通过 ifconfig 获得 ip 地址。 #2 虚拟机端 ssh 到小车,修改 .bashrc 中的 rikibase(车体是几驱的,轮子是什么样的), 然后 source .bashrc 让小车重新加载 bashrc. #3 虚拟机修改自身的 .bashrc 中 阅读全文
posted @ 2020-10-09 17:18 ramlife 阅读(198) 评论(0) 推荐(0) 编辑

2020年9月27日

摘要: 只需要修改 CMakeLists.txt,增加下面的属性即可。 set(CMAKE_CXX_FLAGS "-Wno-error=deprecated-declarations -Wno-deprecated-declarations ") 阅读全文
posted @ 2020-09-27 17:55 ramlife 阅读(3397) 评论(0) 推荐(0) 编辑

2020年9月24日

摘要: 今天先参照 https://www.jianshu.com/p/ddf7c0153644 这个里面的说明写了相应的配置文件,结果一启动容器就报错了。 Creating docker-test_mysql_1 ... Creating docker-test_mysql_1 ... error ERR 阅读全文
posted @ 2020-09-24 14:15 ramlife 阅读(163) 评论(0) 推荐(0) 编辑

上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 26 下一页