通过鱼香ROS一键配置ROS
wget http://fishros.com/install -O fishros && . fishros
sudo apt install git
创建一个工作空间,并进入src文件夹
mkdir -p ~/aubo_ws/src
cd ~/aubo_ws/src
克隆官方仓库地址:https://github.com/AuboRobot/aubo_robot
git clone https://github.com/AuboRobot/aubo_robot.git
cd ~/aubo_ws/src
sudo rosdep init
rosdep update
看到all required rosdeps installed successfully
后可以利用rosdep
安装依赖。
rosdep install -y --from-paths . --ignore-src --rosdistro noetic -r
sudo gedit /etc/ld.so.conf
在文件的最后一行加上/home/ipc-robot/aubo_ws/src/aubo_robot/aubo_robot/aubo_driver/lib/lib64/aubocontroller
,其中ipc-robot替换为你的用户名。
sudo /sbin/ldconfig -v
cd ~/aubo_ws
catkin_make