Ubuntu18.0 Livox mid40配置过程-catkin安装
首先,配置livox-mid40的基本流程:
1、配置livox-SDK
git clone https://github.com/Livox-SDK/Livox-SDK.git
cd Livox-SDK
cd build && cmake ..
make
sudo make install
2、从livox的 GitHub 获取livox-ROS 驱动程序
git clone https://github.com/Livox-SDK/livox_ros_driver.git ws_livox/src
3、构建览沃 ROS 驱动程序:
cd ws_livox
catkin_make
source ./devel/setup.sh
1.2步骤还挺顺利,到第三步catkin_make就不行了,因为系统里还没配置catkin_make。。。。。
先装好ROS,按照下面这个博主的就行
https://blog.youkuaiyun.com/maijiayong/article/details/109910366
装完ROS,就是catkin_make 了
1.sudo apt-get install git
解决方案:sudo apt --fix-broken install python-catkin-pkg-modules
2.git clone https://github.com/ros/catkin
3.sudo apt-get install cmake python-catkin-pkg python-empy python-nose python-setuptools libgtest-dev build-essential
4.cd catkin
5.mkdir build
6.cd build
7.cmake -DCMAKE_BUILD_TYPE=Release ../
这一步的问题:具体解决思路
8.make
9.sudo make install
10.回到catkin_make文件夹外面,cd ../..
11.catkin_make
12.找一下你的devel文件夹在哪,进去source ./setup.sh
或者source ./devel/setup.sh