Skip to content
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

feat(path_smoother): add a plotter of calculation time #6012

Merged

Conversation

takayuki5168
Copy link
Contributor

@takayuki5168 takayuki5168 commented Jan 4, 2024

Description

Added a plotter of the calculation time of the path_smoother package.
image

Tests performed

psim

Effects on system behavior

nothing

Pre-review checklist for the PR author

The PR author must check the checkboxes below when creating the PR.

In-review checklist for the PR reviewers

The PR reviewers must check the checkboxes below before approval.

Post-review checklist for the PR author

The PR author must check the checkboxes below before merging.

  • There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

@github-actions github-actions bot added the component:planning Route planning, decision-making, and navigation. (auto-assigned) label Jan 4, 2024
Signed-off-by: Takayuki Murooka <[email protected]>
Signed-off-by: Takayuki Murooka <[email protected]>
@takayuki5168 takayuki5168 marked this pull request as ready for review January 4, 2024 13:21
@takayuki5168 takayuki5168 added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Jan 4, 2024
Signed-off-by: Takayuki Murooka <[email protected]>
Copy link

codecov bot commented Jan 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (ed8ffea) 15.22% compared to head (1f5c10a) 15.22%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6012   +/-   ##
=======================================
  Coverage   15.22%   15.22%           
=======================================
  Files        1751     1751           
  Lines      120849   120849           
  Branches    36721    36721           
=======================================
  Hits        18398    18398           
  Misses      81810    81810           
  Partials    20641    20641           
Flag Coverage Δ *Carryforward flag
differential 35.34% <ø> (?)
total 15.22% <ø> (ø) Carriedforward from ed8ffea

*This pull request uses carry forward flags. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@maxime-clem maxime-clem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good and the script works well.

Comment on lines +73 to +74
if len(self.y_vec[f_idx]) > self.depth:
self.y_vec[f_idx].popleft()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(minor) I think this can be implicitly achieved by initializing the deque with maxlen=self.depth (see https://docs.python.org/3/library/collections.html#collections.deque).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you. I will fix it with another PR.

@takayuki5168 takayuki5168 merged commit 3aca08b into autowarefoundation:main Jan 5, 2024
28 checks passed
@takayuki5168 takayuki5168 deleted the feat/path-smoother-plotter branch January 5, 2024 07:35
karishma1911 pushed a commit to Interplai/autoware.universe that referenced this pull request May 26, 2024
…ation#6012)

* feat(path_smoother): add a plotter of calculation time

Signed-off-by: Takayuki Murooka <[email protected]>

* add x/y label

Signed-off-by: Takayuki Murooka <[email protected]>

* fix

Signed-off-by: Takayuki Murooka <[email protected]>

* update cmake to install script

Signed-off-by: Takayuki Murooka <[email protected]>

---------

Signed-off-by: Takayuki Murooka <[email protected]>
karishma1911 pushed a commit to Interplai/autoware.universe that referenced this pull request May 28, 2024
…ation#6012)

* feat(path_smoother): add a plotter of calculation time

Signed-off-by: Takayuki Murooka <[email protected]>

* add x/y label

Signed-off-by: Takayuki Murooka <[email protected]>

* fix

Signed-off-by: Takayuki Murooka <[email protected]>

* update cmake to install script

Signed-off-by: Takayuki Murooka <[email protected]>

---------

Signed-off-by: Takayuki Murooka <[email protected]>
karishma1911 pushed a commit to Interplai/autoware.universe that referenced this pull request May 28, 2024
…ation#6012)

* feat(path_smoother): add a plotter of calculation time

Signed-off-by: Takayuki Murooka <[email protected]>

* add x/y label

Signed-off-by: Takayuki Murooka <[email protected]>

* fix

Signed-off-by: Takayuki Murooka <[email protected]>

* update cmake to install script

Signed-off-by: Takayuki Murooka <[email protected]>

---------

Signed-off-by: Takayuki Murooka <[email protected]>
karishma1911 pushed a commit to Interplai/autoware.universe that referenced this pull request Jun 3, 2024
…ation#6012)

* feat(path_smoother): add a plotter of calculation time

Signed-off-by: Takayuki Murooka <[email protected]>

* add x/y label

Signed-off-by: Takayuki Murooka <[email protected]>

* fix

Signed-off-by: Takayuki Murooka <[email protected]>

* update cmake to install script

Signed-off-by: Takayuki Murooka <[email protected]>

---------

Signed-off-by: Takayuki Murooka <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:planning Route planning, decision-making, and navigation. (auto-assigned) run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants