Link autoware_lidar_centerpoint to autoware_multi_object_tracker for vehicle tracking #5653
Replies: 1 comment 4 replies
-
Hello @vollkornholztuer Thank you for using Autoware and detailed description of your issue, I really appreciate it! For your custom scenario, you can't get expected result because of ROS time. Since you use rosbag, time differs from runtime time and you need to explicitly indicate it for all the nodes. You can do it by adding: <param name="use_sim_time" value="true"/> to both launch files within node definition. FYI, for Autoware rosbag replay use case and its launch files, we use |
Beta Was this translation helpful? Give feedback.
-
Note
Before starting, I'd like to inform you, that I am a beginner in terms of ROS2 and the usage of Autoware. I might have skipped essential things, because i simply didn't know better. I also would like you to know that i searched to the best of my abilities on the internet.
EDIT: If more context is needed, please tell me and i will try my best to provide information.
I'm currently experiencing the following issue:
I want to track vehicles in a series of pointclouds with the help of the autoware_lidar_centerpoint and autoware_multi_object_tracker. I'm currently at the state, where the pointclouds are fed into autoware_lidar_centerpoint and the results are published after each frame/pointcloud at around 10 Hz.
I remapped the db3 file and output of autoware_lidar_centerpoint accordingly, in order to serve it as an input for autoware_multi_object_tracker like this:
Remap of bag-file for autoware_lidar_centerpoint:
ros2 bag play -l 171720_corrected.db3 --remap /pointcloud2:=/sensing/lidar/pointcloud
Remap of autoware_lidar_centerpoint-output for autoware_mutli_object_tracker:
ros2 launch autoware_lidar_centerpoint lidar_centerpoint.launch.xml output/objects:=/perception/object_recognition/detection/objects
After that, i just launch autoware_multi_object_tracker without any changes:
ros2 launch autoware_multi_object_tracker multi_object_tracker.launch.xml
After doing all of that, this is how my node-graph looks like in rqt:
Echoing the
/objects
topic yields nothing, the terminal stays empty. The output topic for autoware_lidar_centerpoint, which was remapped, yields results as expected. It looks something like this:autoware_lidar_centerpoint results
Ideally, i would like to have such a result at the end: https://www.youtube.com/watch?v=5sxa38YBVDQ
Besides that, I'd like to save the results of the tracked objects, but that's an unrelated issue.
I hope you can help me. Thank you very much for reading.
Beta Was this translation helpful? Give feedback.
All reactions