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

refactor(velocity_smoother): change method to take data for external velocity #7810

Merged

Conversation

go-sakayori
Copy link
Contributor

@go-sakayori go-sakayori commented Jul 3, 2024

Description

Before using the polling subscriber the member variable external_velocity_limit_ptr_ was set to nullptr once it was used. However by using takeData() the latest msg would be used continuously. This PR solves the problem by utilizing takeNewData() instead of takeData().

Related links

None

How was this PR tested?

TIER IV internal simulator

Notes for reviewers

None.

Interface changes

None.

Effects on system behavior

None.

Signed-off-by: Go Sakayori <[email protected]>
@github-actions github-actions bot added the component:planning Route planning, decision-making, and navigation. (auto-assigned) label Jul 3, 2024
Copy link

github-actions bot commented Jul 3, 2024

Thank you for contributing to the Autoware project!

🚧 If your pull request is in progress, switch it to draft mode.

Please ensure:

@go-sakayori go-sakayori marked this pull request as ready for review July 4, 2024 00:28
@go-sakayori go-sakayori added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Jul 4, 2024
Copy link

codecov bot commented Jul 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 28.54%. Comparing base (fbbc44c) to head (b89697d).
Report is 30 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7810      +/-   ##
==========================================
- Coverage   28.55%   28.54%   -0.02%     
==========================================
  Files        1586     1590       +4     
  Lines      115879   115927      +48     
  Branches    49384    49384              
==========================================
+ Hits        33093    33094       +1     
- Misses      73823    73871      +48     
+ Partials     8963     8962       -1     
Flag Coverage Δ *Carryforward flag
differential 18.46% <100.00%> (?)
total 28.55% <ø> (-0.01%) ⬇️ Carriedforward from fbbc44c

*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.

@go-sakayori go-sakayori merged commit a4aed87 into autowarefoundation:main Jul 4, 2024
41 checks passed
@go-sakayori go-sakayori deleted the refactor/velocity_smoother branch July 4, 2024 10:44
palas21 pushed a commit to palas21/autoware.universe that referenced this pull request Jul 12, 2024
…velocity (autowarefoundation#7810)

refactor external velocity

Signed-off-by: Go Sakayori <[email protected]>
Signed-off-by: palas21 <[email protected]>
tby-udel pushed a commit to tby-udel/autoware.universe that referenced this pull request Jul 14, 2024
KhalilSelyan pushed a commit that referenced this pull request Jul 22, 2024
…velocity (#7810)

refactor external velocity

Signed-off-by: Go Sakayori <[email protected]>
Ariiees pushed a commit to Ariiees/autoware.universe that referenced this pull request Jul 22, 2024
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.

2 participants