摘要: 当使用linux系统,没有UI界面时,缺少一些UI库的时候, 使用matplotlib库时,可以设置 import matplotlib matplotlib.use('Agg') # 使用 Agg 后端 当第三方库使用到matplotlib库,不方便修改第三方库时, 可以安装虚拟服务 sudo a 阅读全文
posted @ 2024-08-27 16:59 小白duzw 阅读(593) 评论(0) 推荐(0) 编辑
摘要: 1.创建功能包,参考ros官方方式Writing a simple publisher and subscriber (C++) — ROS 2 Documentation: Humble documentation ros2 pkg create --build-type ament_cmake 阅读全文
posted @ 2024-07-15 15:53 小白duzw 阅读(331) 评论(0) 推荐(0) 编辑
摘要: 官方部署文档:Source installation - Autoware Documentation (autowarefoundation.github.io) 在执行./setup-dev-env.sh 安装ansible隔离环境是报错如下 Installing to existing ven 阅读全文
posted @ 2023-11-10 19:29 小白duzw 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 可先删除循环依赖的某一个包,然后再安装sudo dpkg --remove --force-remove-reinstreq xxx sudo dpkg --remove --force-remove-reinstreq python-gi 阅读全文
posted @ 2023-11-01 12:06 小白duzw 阅读(80) 评论(0) 推荐(0) 编辑
摘要: github https://github.com/strawlab/python-pcl 1.安装Cython 当前的Cython的版本如下 由于python-pcl代码仓已经是很老的代码了,没有人在维护,高版本的Cython 会导致编译失败 报错如下Cython.Compiler.Errors. 阅读全文
posted @ 2023-08-28 18:39 小白duzw 阅读(761) 评论(0) 推荐(0) 编辑
摘要: 1.均值移除(标准化) 由于一个样本的不同特征值差异较大,不利于使用现有机器学习算法进行样本处理。均值移除可以让样本矩阵中的每一列的平均值为0,标准差为1。 确保每一个特征列的数值都在类似的数据范围之间,防止某一个特征列数据天然的数值太大而一家独大影响结果 使用sklearn import nump 阅读全文
posted @ 2023-01-05 16:28 小白duzw 阅读(64) 评论(0) 推荐(0) 编辑
摘要: 参考https://monkeywie.cn/2021/09/26/wsl2-gui-idea-config/ 阅读全文
posted @ 2022-11-09 16:45 小白duzw 阅读(34) 评论(0) 推荐(0) 编辑
摘要: 在vscode的快捷键设置页,搜trigger parameter hints,添加快捷键 alt +q 阅读全文
posted @ 2022-08-24 11:19 小白duzw 阅读(218) 评论(0) 推荐(0) 编辑
摘要: 1.wsl 挂载win本地文件,方便访问 在wsl下sudo mkdir /mnt/z sudo mount -t drvfs C:/User/xxx/Desktop/挂载文件 /mnt/z 2.wsl挂载网络盘符 在wsl下sudo mkdir /mnt/nas sudo mount -t drv 阅读全文
posted @ 2022-08-17 10:24 小白duzw 阅读(2279) 评论(0) 推荐(0) 编辑
摘要: class Person { public: //this指针的本质 是指针常量 指针的指向是不可以修改的 // const Person * const this; //在成员函数后面加const 修饰的是this指向,让指针的指向的值也不可以修改 void showPerson() const 阅读全文
posted @ 2022-08-14 19:46 小白duzw 阅读(121) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示