-
Notifications
You must be signed in to change notification settings - Fork 682
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
Improve behavior_velocity_planner's latency #2097
Comments
Which tools do you use for profiling? I have used gperftools in the past but is there any tool recommended for autoware? Out of curiosity, I went on and tried profiling
For example, my sample profile shows that most of the computing time is spent in the 4 functions:
Do you have any better way to track down the performance issues? |
We have used CARET (https://github.com/tier4/caret), which is an open source performance analysis tool developed by TIER IV. |
Checklist
Description
Report from @veqcc.
Currently the latency of
onTrigger
function in behavior_velocity_planner has a big influence in Autoware's entire latency. Below figures show (1) the latency of behavior_path_planner and (2) behavior_velocity_planner respectively, measured in planning_simulation tutorial.Especially the latency of behavior_velocity_planner is constantly not negligible (about 200ms ) given the behavior_path_planner's publication rate of 10Hz, which indicates its latency is twice the subscription rate.
@veqcc and @soblin are working to lower this computation time as much as possible. I'm not sure about the lower bound of this latency, but it should be at least below the behavior_path_planner's publication rate of 10Hz.
Possible approaches
CompoundPolygon3d
andtier4_autowawe_utils::Polygon2d
in itDefinition of done
The text was updated successfully, but these errors were encountered: