CrowdSurfer: Sampling Optimization Augmented with Vector-Quantized Variational AutoEncoder for Dense Crowd Navigation
Contributors: Naman Kumar*1, Antareep Singha*1, Laksh Nanwani*1, Dhruv Potdar1, Tarun R.1, Fatemeh Rastgar2, Simon Idoko2, Arun Kumar Singh2, K. Madhava Krishna1
1Robotics Research Center, IIIT Hyderabad; 2University of Tartu, Estonia
*Equal Contribution
Navigation amongst densely packed crowds remains a challenge for mobile robots. The complexity increases further if the environment layout changes making the prior computed global plan infeasible. In this paper, we show that it is possible to dramatically enhance crowd navigation by just improving the local planner. Our approach combines generative modelling with inference time optimization to generate sophisticated long-horizon local plans at interactive rates. More specifically, we train a Vector Quantized Variational AutoEncoder to learn a prior over the expert trajectory distribution conditioned on the perception input. At run-time, this is used as an initialization for a sampling-based optimizer for further refinement. Our approach does not require any sophisticated prediction of dynamic obstacles and yet provides state-of-the- art performance. In particular, we compare against the recent DRL-VO approach and show a 40% improvement in success rate and a 6% improvement in travel time.
This repository contains the code for the paper "CrowdSurfer: Sampling Optimization Augmented with Vector-Quantized Variational AutoEncoder for Dense Crowd Navigation".
All configuration is done via this configuration file. To run once setup, use this script to run the code in a tmux session.
Setup your conda environment called "crowdsurfer" with the following packages:
- CUDA 12.1
- PyTorch
- JAX
- Hydra
- HuggingFace Accelerate
- Open3D
- Scikit Learn
Running the simulation in gazebo requires pedsim_ros (to simulate the humans). To install pedsim_ros and its other dependencies, proceed as follows: The default version is ROS Noetic.
cd ~
mkdir crowdsurfer_ws
cd crowdsurfer_ws
mkdir src
cd src
git clone https://github.com/TempleRAIL/robot_gazebo.git
git clone https://github.com/Smart-Wheelchair-RRC/pedsim_ros_with_gazebo.git
wget https://raw.githubusercontent.com/zzuxzt/turtlebot2_noetic_packages/master/turtlebot2_noetic_install.sh
sudo sh turtlebot2_noetic_install.sh
git clone https://github.com/Smart-Wheelchair-RRC/CrowdSurfer.git
cd ..
catkin build
Download checkpoints from this link
- Replace the checkpoint paths for VQVAE and Scoring Network in the configuration file
- From within crowdsurfer_ws/ in tmux, run:
bash src/CrowdSurfer/src/CrowdSurfer/run_CrowdSurfer.sh