-
Notifications
You must be signed in to change notification settings - Fork 660
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Statistics of latest Autoware's Whole Perception Pipeline Latency (Lidar only mode) #8752
Comments
Pipeline timings (Recommended)Easily learn about pipeline latency up-to a node you like by subscribing to CAREThttps://github.com/orgs/autowarefoundation/discussions/2822 Takes more time to prepare, requires post processing to analyze timings. End to end latency for whole systemFor checking the latency of whole system. An object spawns at a predetermined time and the time when the velocity changes is measured. @cyn-liu I updated this post. |
We use the Pipeline timings statistical method recommended by xmfc above to perform latency time statistics on Autoware's perception pipeline(only lidar mode). Autoware perception module publish the following
|
We found that the
From the above figure, it can be seen that tracking_analyse.mp4 |
After analysis, the reason for the long time consumption of node
double input_latency_ms = (now - last_input_stamp_).seconds() * 1e3;
After analysis, it was found that the data preprocessing function is not time-consuming, so the reason why
double processing_latency_ms = ((now - stamp_process_start_).seconds()) * 1e3;
After analysis, it was found that the time consumption of each function in the tracking algorithm is very small. The main source of time consumption for |
From the above statistical results, it was found that node When replacing a bag without frame loss for testing, it was found that the fluctuation of |
@cyn-liu Thank you for the in-depth analysis! ✨ I cannot speak to the latency of the later stages in the pipeline, but we can soon get rid of CropBoxFilter completely as this is being implemented more efficiently in the LiDAR driver (Nebula): CropBoxFilter will remain as a legacy option, as not all LiDAR vendors are supported by the new feature yet. |
Checklist
Description
Counting the running time of the perception module(lidar-only mode) during real vehicle operation.
Environment:
Device: DELL precison3581
OS: Ubuntu22.04
GPU: NVIDIA RTX A1000 6GB Laptop
CPU: intel CORE i7
Purpose
In order to get a detailed of each node and the overall time consumption of the perception pipeline, and to facilitate developers in improving the performance of the perception module.
Possible approaches
We will investigate a reasonable method to calculate the running time of the perception pipeline.
@mitsudome-r @xmfcx
Do you have any suggestions for statistical tools and methods?
Definition of done
TODO
The text was updated successfully, but these errors were encountered: