-
Notifications
You must be signed in to change notification settings - Fork 679
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
refactor(velocity_smoother): change method to take data for external velocity #7810
Conversation
Signed-off-by: Go Sakayori <[email protected]>
Thank you for contributing to the Autoware project! 🚧 If your pull request is in progress, switch it to draft mode. Please ensure:
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
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
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
…velocity (autowarefoundation#7810) refactor external velocity Signed-off-by: Go Sakayori <[email protected]> Signed-off-by: palas21 <[email protected]>
…velocity (autowarefoundation#7810) refactor external velocity Signed-off-by: Go Sakayori <[email protected]>
…velocity (#7810) refactor external velocity Signed-off-by: Go Sakayori <[email protected]>
…velocity (autowarefoundation#7810) refactor external velocity Signed-off-by: Go Sakayori <[email protected]>
Description
Before using the polling subscriber the member variable
external_velocity_limit_ptr_
was set tonullptr
once it was used. However by usingtakeData()
the latest msg would be used continuously. This PR solves the problem by utilizingtakeNewData()
instead oftakeData()
.Related links
None
How was this PR tested?
TIER IV internal simulator
Notes for reviewers
None.
Interface changes
None.
Effects on system behavior
None.