A human detection sensor setup for Social Aware Navigation.
To use GPU with docker while on AMD64 systems, install nvidia-container-toolkit with given instructions.
git clone https://github.com/AIResearchLab/ros-human-sensing.git
cd src/ros-human-sensing/docker
docker compose -f compose.amd64.yml pull
docker compose -f compose.amd64.yml up
docker compose -f compose.amd64.yml down
docker volume rm docker_system
cd src/ros-human-sensing/docker
docker compose -f compose.jnano.yml pull
docker compose -f compose.jnano.yml up
docker compose -f compose.jnano.yml down
docker volume rm docker_system
- Create a workspace
mkdir -p workspace/src
cd workspace/src
- Clone packages
git clone https://github.com/KalanaRatnayake/yolo_ros.git
git clone https://github.com/KalanaRatnayake/detection_msgs.git
git clone https://github.com/KalanaRatnayake/boxmot_ros.git
git clone https://github.com/AIResearchLab/ros-human-sensing.git
- Install dependencies
pip3 install -r yolo_ros/requirements.txt
pip3 install -r boxmot_ros/requirements.txt
-
Setup AIResearchLab/OrbbecSDK_ROS2, AIResearchLab/astra_legacy_ros or any other camera system that support standard ROS conventions following given instructions.
-
Build the packages
colcon build
- Start the system
-
Start the camera in one terminal
-
Start Detection
ros2 launch ros-human-sensing detection.launch.py
- Start Detection and tracking
ros2 launch ros-human-sensing tracking.launch.py