-
Notifications
You must be signed in to change notification settings - Fork 678
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
feat(path_smoother): add a plotter of calculation time #6012
Conversation
Signed-off-by: Takayuki Murooka <[email protected]>
Signed-off-by: Takayuki Murooka <[email protected]>
Signed-off-by: Takayuki Murooka <[email protected]>
Signed-off-by: Takayuki Murooka <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
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
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this 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.
if len(self.y_vec[f_idx]) > self.depth: | ||
self.y_vec[f_idx].popleft() |
There was a problem hiding this comment.
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).
There was a problem hiding this comment.
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.
…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]>
…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]>
…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]>
…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]>
Description
Added a plotter of the calculation time of the path_smoother package.
![image](https://private-user-images.githubusercontent.com/20228327/294190296-d5936b7f-b212-42b5-877c-b091996fc8d1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5ODA1MDIsIm5iZiI6MTczODk4MDIwMiwicGF0aCI6Ii8yMDIyODMyNy8yOTQxOTAyOTYtZDU5MzZiN2YtYjIxMi00MmI1LTg3N2MtYjA5MTk5NmZjOGQxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDAyMDMyMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTZlNDU2YTUxMTBiY2Q5MGRiODgxNzdlZjRjZjFjZjFhZmNiOWQ4MWJiMjM1MTAwY2Y5MThmOWU2YTgxYjNjNTkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.PS2BYTRxnxZ10r3qGKxY_MvuJDloEyoc4ngn0QWMP14)
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.
After all checkboxes are checked, anyone who has write access can merge the PR.