Description: The harmony package developed for dynamic obstacle velocity estimation.
Container: Humble base container
- Run
git clone [email protected]:harmony-eu/moving_object_tracking.gitandcd moving_object_tracking - Run
rosdep update - Run
sudo apt install python3-vcstool - Run
vcs import --recursive --input harmony.repos - (Optional, if semantic_tracking is desired): The
yolo_ethrepo needs some further installation steps, see https://github.com/harmony-eu/yolo_eth/tree/humble-devel.
- Record an occupancy grid map of your environment with your favorite mapping tool (e.g. hector_mapping)
- Dilate/inflate the map around static obstacles (plus some margin) using a painting program, e. g.
Krita - Ensure the map and modified map are in the
mapsfolder, and follow the naming convention. - Check params in
localization.launch.py,tracking.launch.pyandsemantics.launch.py. - Run
localization.launch.pyto start the map server (assumes map-to-odom is provided by another node).
Arguments:location: (e.g. abb, eth ...), which is used to get the correct map from themapsfolder.
- Run
tracking.launch.pyfor object tracking (usetracking_nmcl.launch.pyif you need to use the scan_merged topic from the nmcl node) - (Optional) Run
semantics.launch.pyto launch YOLO node and semantic_tracking node, which project YOLO classes onto the tracked obstacles - Enjoy!
The ROS1 version of this package also had launch files for mapping and localization. Those were not ported (localization is ported but untested and commented-out).
If some TF camera links are missing, you can use the tf_utils.launch.py file to launch a static TF broadcaster.