摘要: 示例代码: template <typename T, typename U> class Iterator { public: typedef std::vector<T>::iterator iter_type; Iterator(U *data, bool reverse = false):d 阅读全文
posted @ 2023-03-13 15:16 CrazyJhq 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 默认选择清华镜像https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu/ 要注意网站说明: Ubuntu 镜像使用帮助 本镜像仅包含 32/64 位 x86 架构处理器的软件包,在 ARM(arm64, armhf)、PowerPC(ppc64el)、RIS 阅读全文
posted @ 2022-09-18 03:37 CrazyJhq 阅读(94) 评论(0) 推荐(0) 编辑
摘要: 原因在于np.int在numpy1.20已经被废弃掉了,具体可以参考:https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations 修改方法: 将 np.int 改为 np.int_ 或者 np.int32 或者 np.int64  阅读全文
posted @ 2021-09-29 17:48 CrazyJhq 阅读(18577) 评论(0) 推荐(3) 编辑
摘要: 输入gnome-terminal显示: Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling StartServiceByName for org.gnome.Termi 阅读全文
posted @ 2021-09-16 14:30 CrazyJhq 阅读(2827) 评论(0) 推荐(0) 编辑
摘要: 源代码: if [ -d "test"] then echo dir named test exsited! elif [ ! -d "test"];then mkdir test cd test fi 报错: [: missing ] 原因在于if判断在" ] "前面没有加空格,加上空格后就行了。 阅读全文
posted @ 2021-08-13 16:48 CrazyJhq 阅读(305) 评论(0) 推荐(0) 编辑
摘要: croot就是“Changes directory to the top of the tree, or a subdirectory thereof”的意思,就是切换目录到目录树的顶端,或其中的一个子目录。 另外其他的一些命令如下: 要先执行完./build/envsetup.sh或者source 阅读全文
posted @ 2021-08-12 14:19 CrazyJhq 阅读(465) 评论(0) 推荐(0) 编辑
摘要: 写for循环时,关于第三个语句什么时候执行,有点忘了,这里在cpp.sh测试了一下,如下: #include <iostream> int main() { for(int i =0 ; i< 5; ++i) { std::cout << i << " "; } std::cout << std:: 阅读全文
posted @ 2021-05-27 23:26 CrazyJhq 阅读(606) 评论(0) 推荐(0) 编辑
摘要: 首先,展示的具体效果如下: 具体设置步骤: 1,双击选中页脚处,然后选择插入——表格—2x3表格如图: 2,插入后,设置第一列和第三列宽相等,第二列宽较小即可。在这里我设置第一列宽7cm,第二列宽1cm,第三列宽7cm。 3,合并第二列的单元格,并设置第二列表格属性——单元格——垂直对齐方式——居中 阅读全文
posted @ 2021-05-25 22:50 CrazyJhq 阅读(2600) 评论(0) 推荐(0) 编辑
摘要: Local Mapping STOP *** Error in `/home/xxx/Desktop/ORB_SLAM3/Examples/ROS/ORB_SLAM3/Stereo': free(): invalid next size (normal): 0x00007f33a0cae9e0 ** 阅读全文
posted @ 2021-04-26 15:16 CrazyJhq 阅读(128) 评论(0) 推荐(0) 编辑
摘要: ORB_SLAM3运行./build_ros.sh后,出现: Building ROS nodes mkdir: 无法创建目录"build": 文件已存在 [rosbuild] Building package ORB_SLAM3 [rosbuild] Error from directory ch 阅读全文
posted @ 2021-04-25 16:01 CrazyJhq 阅读(1769) 评论(0) 推荐(0) 编辑