摘要:
1. 安装轮子,麦轮总车顶俯视看,四个车轮上面的滚子组成一个 X 形状。下图的后面两个就是 X 形状安装。 2. 移动时轮子的方向: 参考: https://makelog.dfrobot.com.cn/article-1705.html 3. 受力分析: https://blog.csdn.net 阅读全文
摘要:
1. 安装轮子,麦轮总车顶俯视看,四个车轮上面的滚子组成一个 X 形状。下图的后面两个就是 X 形状安装。 2. 移动时轮子的方向: 参考: https://makelog.dfrobot.com.cn/article-1705.html 3. 受力分析: https://blog.csdn.net 阅读全文
摘要:
1. 获取容器的最大最小值,注意返回的不是数值,需要 *。 min_data = *min_element(myarr.begin(),myarr.end()); auto mydata = minmax_element(myarr.begin(),myarr.end()); cout<<"min: 阅读全文
摘要:
#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_{ 阅读全文
摘要:
工程的配置中, user 的选项卡,after build/rebuild 的两条命令可以设置为 fromelf --text -c -o "$L@L.asm" "#L" fromelf --bin -o "$L@L.bin" "#L" 阅读全文
摘要:
class Process : public QObject { Q_OBJECT public: Process() { connect(&m_process, SIGNAL(readyReadStandardOutput()), this, SLOT(onReadData())); m_proc 阅读全文
摘要:
git 生成 ssh key,执行下面代码即可: git config --global --list git config --global user.name "这里换上你的用户名" git config --global user.email "这里换上你的邮箱" ssh-keygen -t 阅读全文
摘要:
#1 py3 中 print 不换行,只需要增加参数 end = '' 就可以了。类似于: print(output, end = '') #2 如果在 py2 中想要使用 py3 的 print ,只需要在文件最上面增加 from future import print_function 即可。 阅读全文
摘要:
#1 小车端开机,然后连接无线网,通过 ifconfig 获得 ip 地址。 #2 虚拟机端 ssh 到小车,修改 .bashrc 中的 rikibase(车体是几驱的,轮子是什么样的), 然后 source .bashrc 让小车重新加载 bashrc. #3 虚拟机修改自身的 .bashrc 中 阅读全文
摘要:
只需要修改 CMakeLists.txt,增加下面的属性即可。 set(CMAKE_CXX_FLAGS "-Wno-error=deprecated-declarations -Wno-deprecated-declarations ") 阅读全文
摘要:
今天先参照 https://www.jianshu.com/p/ddf7c0153644 这个里面的说明写了相应的配置文件,结果一启动容器就报错了。 Creating docker-test_mysql_1 ... Creating docker-test_mysql_1 ... error ERR 阅读全文
|