# pedestrian_simulator **Repository Path**: zhyb86/pedestrian_simulator ## Basic Information - **Project Name**: pedestrian_simulator - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-11-12 - **Last Updated**: 2025-11-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README [![ROS1 - Build Pedestrian Simulator](https://github.com/oscardegroot/pedestrian_simulator/actions/workflows/main.yml/badge.svg)](https://github.com/oscardegroot/pedestrian_simulator/actions/workflows/main.yml) # Pedestrian Simulator This repository implements a pedestrian simulator based on the social forces implementation of [`libpedsim`](https://github.com/chgloor/pedsim). It features - Pedestrian spawn/goal locations encoded in `xml` format - 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. ## Installation Clone dependencies from `catkin_ws/src` ```bash 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.git ``` Clone this repo ```bash git clone https://github.com/oscardegroot/pedestrian_simulator.git ``` > **Note:** To use ROS2, run `python3 switch_to_ros.py 2` in the base folder of `pedestrian_simulator` and `ros_tools`. Install dependencies from `catkin_ws` ```bash rosdep install --from-paths src --ignore-src -r -y ``` Build with ```bash catkin build pedestrian_simulator ``` ## Usage Pedestrian scenarios are in `pedestrian_simulator/scenarios/`. To launch, use ```bash roslaunch pedestrian_simulator ros1_simulation.launch pedestrian_scenario:=random_social/8_corridor.xml ``` **Example Simulation:** --- ## License This project is licensed under the Apache 2.0 license - see the LICENSE file for details.