# install **Repository Path**: SHIB1002/install ## Basic Information - **Project Name**: install - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 4 - **Created**: 2025-03-13 - **Last Updated**: 2025-03-13 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 一键安装(基于鱼香ros一键安装修改) ## 注意是针对cartograph的安装优化了。 ## 1.没有git的先安装git ``` sudo apt install git ``` ## 2.使用方法 ```shell git clone https://gitee.com/zhangyigeng/install.git && sudo python3 install/install.py # 当弹出现在框时,选择9!!! ``` ## 自动脚本失败的话 在cartographer_ws目录下进行编译一下,未知原因,环境配置好了,就是没有进行最后的编译 ``` catkin_make_isolated --install --use-ninja ``` ## 3.测试 ### 下载数据包,放到下载的目录下 (其实下载哪里都可以,注意和后面运行的时候,路径要意义) ``` https://gitee.com/zhangyigeng/install/releases/download/bat/b2-2016-04-05-14-44-52.bag ``` ### 运行 在cartographer_ws下运行,运行前需要source一下。 `source install_isolated/setup.bash` ``` roslaunch cartographer_ros offline_backpack_2d.launch bag_filenames:=${HOME}/Downloads/b2-2016-04-05-14-44-52.bag ``` ![输入图片说明](docs/image.png) ## 4.编译报错解决办法 ### (1)报 CMake Error: The following variables are used in this project, but they are set to NOTFOUND 解决办法: > 会安装一些需要的依赖,就可以编译通过了。 ```shell sudo apt install libgmock-dev ```