This repository implements a pedestrian simulator based on the social forces implementation of libpedsim. It features
- Pedestrian spawn/goal locations encoded in
xmlformat - Static obstacles that the pedestrians react to can be configured
- Support for uncertain pedestrian dynamics (Gaussian or Mixture of Gaussian)
- Support for ROS/ROS2
Disclaimer: This is an internal package used for research purposes. The implementation was not designed to share and has not been documented in detail. Please use with care.
Clone dependencies from catkin_ws/src
git clone https://github.com/oscardegroot/ros_tools.git
git clone https://github.com/oscardegroot/pedsim_original.git
git clone https://github.com/oscardegroot/asr_rapidxml.gitClone this repo
git clone https://github.com/oscardegroot/pedestrian_simulator.gitNote: To use ROS2, run
python3 switch_to_ros.py 2in the base folder ofpedestrian_simulatorandros_tools.
Install dependencies from catkin_ws
rosdep install --from-paths src --ignore-src -r -yBuild with
catkin build pedestrian_simulatorPedestrian scenarios are in pedestrian_simulator/scenarios/.
To launch, use
roslaunch pedestrian_simulator ros1_simulation.launch pedestrian_scenario:=random_social/8_corridor.xmlExample Simulation:
This project is licensed under the Apache 2.0 license - see the LICENSE file for details.
