Read-only mirror of https://github.com/ethz-asl/crowdbot_active_slam — ETHZ ASL. Issues & pull requests at the source.
  • C++ 94.9%
  • Shell 2.8%
  • CMake 2.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2019-09-11 13:35:51 +02:00
config remove sbpl and libpointmatcher code fragments 2019-03-22 10:26:17 +01:00
include restructure object detector and some cleanups according comments 2019-04-11 09:30:25 +02:00
launch fix bash file and delete obsolete launch files 2019-05-13 18:40:24 +02:00
nav improve base local planner for pepper 2019-03-04 13:03:05 +01:00
rviz improve implementation for turtlebot 2019-02-11 16:20:17 +01:00
src restructure object detector and some cleanups according comments 2019-04-11 09:30:25 +02:00
srv make test evaluation more automated 2019-02-04 14:44:17 +01:00
test_results/scripts add possibility to directly save a plot in folder 2019-02-11 15:41:43 +01:00
urdf add first version of a pedestrian simulator 2018-12-03 19:12:43 +01:00
worlds fix visual issues of lab.world 2018-12-04 15:33:45 +01:00
CMakeLists.txt make sure that srv are builded before used 2019-03-22 10:26:50 +01:00
dependencies.rosinstall add dependencies for wstool to automate git repository cloning 2019-04-11 10:58:49 +02:00
install.sh change to format 2 for package.xml and update install.sh 2019-04-09 15:28:55 +02:00
LICENSE Create LICENSE 2019-09-11 13:35:51 +02:00
nodelet_plugins.xml fix naming in nodelet_plugins.xml 2019-01-23 16:29:10 +01:00
package.xml change to format 2 for package.xml and update install.sh 2019-04-09 15:28:55 +02:00
README.md update README.md 2019-09-11 11:30:19 +02:00
run_pepper_SLAM.sh add new bash and launch files for pepper 2019-02-16 18:28:37 +01:00
run_pepper_SLAM_dyn.sh add bash files for pepper exploration 2019-03-04 13:01:54 +01:00
run_pepper_SLAM_exploration.sh add bash file for pepper exploration (untested on real pepper) 2019-02-20 15:42:15 +01:00
run_pepper_SLAM_exploration_dyn.sh add bash files for pepper exploration 2019-03-04 13:01:54 +01:00
run_pioneer_exploration.sh publish dynamic obstacles for teb planner and adapt/improve nav params 2019-02-01 17:01:11 +01:00
run_pioneer_exploration_dyn_sim.sh decrease number of pedestrians as scan matcher can fail with 50 2019-02-11 15:40:38 +01:00
run_pioneer_SLAM.sh fix bash file and delete obsolete launch files 2019-05-13 18:40:24 +02:00
run_turtlebot3_SLAM.sh add turtlebot launch and bash file 2019-02-12 09:52:30 +01:00

crowdbot_active_slam

This repository contains tools for active SLAM in crowded environments. It contains code that has been tested and used with a pioneer in simulation, a real pepper robot and a real turtlebot3-pi.

Installation

  1. Install most needed ROS packages by executing:
bash install.sh

This script will also remove a move_base installation, if there is one installed, as there has been found a bug, which is fixed in this navigation fork.

  1. Clone all packages listed in Needed Packages. You can do this using wstool.
cd src
wstool init
wstool merge crowdbot_active_slam/dependencies.rosinstall
wstool update
  1. Install GTSAM library following the steps here GTSAM 3.2.1. (Only version 3.2.1 has been tested)

  2. Make sure that you have an Eigen3 installation.

  3. For building all packages either remove certain packages or only build the bellow listed ones:

catkin build sick_scan gazebo_ros_2Dmap_plugin pioneer_description naoqi_driver eigen_catkin glog_catkin eigen_catkin plotty asl_pepper_basic_functions asl_pepper_joystick
  1. Finally build this package and the fixed move_base package. We recommend to build it in Release mode to assure online behaviour:
catkin build crowdbot_active_slam move_base_fork --cmake-args -DCMAKE_BUILD_TYPE=Release

Needed Packages

If you plan to use turtlebot3, follow the instructions on http://emanual.robotis.com/docs/en/platform/turtlebot3/overview/.

Further Usage Information

Bash Scripts for Launching Nodes

This package consists of multiple nodes, which interact with each other. To facilitate the launching of these nodes, bash scripts are used to start up different scenarios.

  • All run_pioneer_* scripts use the gazebo simulation

    • run_pioneer_SLAM.sh starts the SLAM algorithm
    • run_pioneer_exploration.sh starts the active SLAM framework for static environments
    • run_pioneer_exploration_dyn_sim.sh starts additionally the people(pedestrian) simulator and uses the detection and tracking of moving people
  • run_pepper_* scripts are intended to be used in reality with the pepper robot

    • run_pepper_SLAM.sh starts again the SLAM algorithm
    • run_pepper_SLAM_exploration.sh starts the active SLAM framework in static environments mode
    • run_pepper_SLAM_exploration_dyn.sh starts the active SLAM framework with the detection and tracking of moving people

If you further want to adapt or change parameters like exploration strategies, simulation worlds, scan matcher parameters, etc. refer to the corresponding launch files. In general the main SLAM file is called graph_optimisation and contains Front- and Back-End.

Evaluation

The test_results folder contains evaluation scripts for exploration runs. The necessary data is automatically saved during exploration and is saved in this folder.

Miscellaneous

This package contains a nodelet implementation, but is currently not running without crashing. In future one might solve the issue.

The gazebo_ros_2Dmap_plugin is a plugin, which can be used to extract the groundtruth map of asimulation world.

Stable Branches and Extensions

  • A stable version of this repository can be found on the master branch.

  • There exists a branch feature/realsense_integration where the software has been extended to be used with an Intel Realsense D435. You might need to install additional software such as the camera drivers to use this branch. This branch might be unstable and might need some adaptations. Although these facts, this branch has some essential improvements such as a better behavior of the local planner. It might be worth it to build on top of this branch if you plan to use this repository in future.

  • Branch feature/scientifica_map_generation has some adaptations to the code such that it could be used for the robots used at the Scientifica 2019 to generate a map only using 2D laser scans. This branch might still have some bugs and is not recommended to be used if not needed.

Known issues

  • GTSAM 3.2.1 boost issue. If you have an issue building or using GTSAM, you may need to adapt some files:

    • gtsam/inference/Ordering.cpp, add this line

      #include <boost/serialization/serialization.hpp>
      
    • gtsam/base/tests/testFastContainers.cpp, add this line

      #include <boost/serialization/serialization.hpp>
      
  • Installing cartographer ros forces installing protobuf >v3.4.1. This is not compatible with gazebo_ros and can cause problems when building this packages used here, e.g. gazebo_ros_2Dmap_plugin.

  • If you want to move peppers head with the joystick you will need to add the naoqi SDK to your python path.