-
Hello, First of all thanks for the ROS2 version of Autoware, pleased to see Autoware newer versions. There were no errors at any stage, but while running rosbag simulation observed topic output frequency drops. RVIZ : Visualization also shows delay in LiDAR data Rate : ros2 topic hz /sensing/lidar/top/velodyne_packets returns avg 8 hz & os2 topic hz /sensing/lidar/top/pointcloud_raw_ex returns avg 5 hz While running only bag file: ros2 topic hz /sensing/lidar/top/velodyne_packets returns avg 9.5 hz (seems to be no issues), but running with autoware drops output rate. Is this problem associated with ROS2 DDS or Autoware algorithms processing burden? Greatly appreciate any advice to tune this rate of frequency. Working Platform: Regards, |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 11 replies
-
you can open system monitor of Ubuntu to see if the network load reaches the upper limit |
Beta Was this translation helpful? Give feedback.
-
FYI: In the past, I had a case where I'm not sure if it is fixed in newest galactic, but you can use the following topic frequency check tool that use cpp to get the actual topic frequency.
|
Beta Was this translation helpful? Give feedback.
-
@storrrrrrrrm & @Sharrrrk I have tried with as you suggested, exporting CYCLONEDDS_URI to cyclonedds.xml file and then Also instruction given by TakaHoribe:here. And observed that, And CPU stress looks as below: Where velodyne container node which is responsible for publishing Are there any possible ways to overcome this issue? Regarding Example, In the case of And after referring to this link, still, it is unknown that, for what reason does topic rate getting slows down for Regards, |
Beta Was this translation helpful? Give feedback.
-
@ajay1606 Did you solve this problem please? |
Beta Was this translation helpful? Give feedback.
-
@ajay1606 Did you find any solution for this? |
Beta Was this translation helpful? Give feedback.
-
@hect95 Here is the very useful discussion related to slow rate. Indeed, it worked well for me. Please check it once. Make sure to delete previous build (install, log, build) directory before build workspace using following command. |
Beta Was this translation helpful? Give feedback.
@hect95 Here is the very useful discussion related to slow rate. Indeed, it worked well for me. Please check it once.
autowarefoundation/autoware.universe#2597 (comment)
Make sure to delete previous build (install, log, build) directory before build workspace using following command.
colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_EXPORT_COMPILE_COMMANDS=1 --continue-on-error