From 60ed7b54ff1814e5902d408316a8d17834e37bb1 Mon Sep 17 00:00:00 2001 From: helius Date: Mon, 21 Oct 2019 14:35:26 +0800 Subject: [PATCH] Modify the README for Gazebo-exercise by zenglei --- Gazebo_exercise/README.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/Gazebo_exercise/README.md b/Gazebo_exercise/README.md index 911bf71..64315c5 100644 --- a/Gazebo_exercise/README.md +++ b/Gazebo_exercise/README.md @@ -22,9 +22,16 @@ 5、sudo make -jX(X为编译时启用的线程数,其根据CPU核心数确定,不要超过CPU核心数) 6、sudo make install -注意:编译安装sdformat包后,需要将sdformat包下sdf文件夹下1.*(1.0、1.2、1.3、1.4、1.5、1.6)标签库拷贝到/usr/share/sdformat目录下。 +二、编译与安装lievent + 1、./autogen.sh + 2、./configure + 3、make -jX + 4、sudo make install +注意:若安装libevent过程中运行./autogen.sh时出现 + ./autogen.sh: 18: ./autogen.sh: aclocal: not found + 错误,则运行sudo apt-get install automake解决该错误 -二、编译与安装Gazebo +三、编译与安装Gazebo 1、cd gazebo 2、mkdir build 3、cd build @@ -34,7 +41,7 @@ 注意:利用cmake生成makefile期间,可能会出现依赖库缺失的情况,需要利用sudo apt install或源码编译安装方式进行依赖库的安装 -三、编译运行Hector_Quadrotor_Case四旋翼无人机仿真案例 +四、编译运行Hector_Quadrotor_Case四旋翼无人机仿真案例 1、cd Hector_Quadrotor_Case 2、catkin_make 3、source devel/setup.bash