Crowd Simulation with Menge in ROS Gazebo

Environment

  • Ubuntu 16.04
  • python2
  • ROS Kinect

How to install

  1. Download special gazebo and sdformat from source.

  2. Install gazebo dependency following the order .

  1. build Gazebo from source

    1
    2
    3
    4
    5
    mkdir build
    cd build
    cmake ..
    make -j
    make install
  2. build Menge from source

    1
    2
    3
    4
    5
    cd projects/g++
    mkdir build
    cmake -DCMAKE_BUILD_TYPE=Debug ..
    make -j
    make install
  3. catkin make gazebo_menge from source

    1
    2
    cd catkin_ws
    catkin_make
  4. build new version turtlebot package for Gazebo 8 from source

1
2
cd catkin_ws
catkin_make

How to run

  1. start roscore

    1
    roscore
  2. modify env_setup.sh to make menge and gazebo consistance. After that

    1
    bash env_setup.sh
  3. start gazebo_menge, which define the menge setup

    1
    roslaunch menge_gazebo_worlds turtlebot.launch
  4. create a turtlebot and visualize Gazebo

    1
    roslaunch menge_gazebo_worlds start_bot.launch