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(ekf_localizer): remove the prediction function to improve referential transparency #2269

Merged
merged 3 commits into from
Nov 30, 2022

Conversation

IshitaTakeshi
Copy link
Contributor

@IshitaTakeshi IshitaTakeshi commented Nov 11, 2022

Description

This PR removes the 'predictKinematicsModel' function to improve referential transparency

Related links

Tests performed

No tests preformed yet, but this modification improves testability in the future.
I checked the behavior in the logging simulator.

Notes for reviewers

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.

  • The PR follows the pull request guidelines.
  • The PR has been properly tested.
  • The PR has been reviewed by the code owners.

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.
  • The PR is ready for merge.

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

@codecov
Copy link

codecov bot commented Nov 11, 2022

Codecov Report

Base: 11.10% // Head: 11.10% // Increases project coverage by +0.00% 🎉

Coverage data is based on head (b92e6d0) compared to base (a2bcd7c).
Patch coverage: 46.66% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff            @@
##             main    #2269    +/-   ##
========================================
  Coverage   11.10%   11.10%            
========================================
  Files        1208     1208            
  Lines       86573    86737   +164     
  Branches    20829    20967   +138     
========================================
+ Hits         9612     9633    +21     
- Misses      66805    66940   +135     
- Partials    10156    10164     +8     
Flag Coverage Δ *Carryforward flag
differential 18.31% <0.00%> (?)
total 11.07% <56.00%> (ø) Carriedforward from 5bf1630

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

Impacted Files Coverage Δ
localization/ekf_localizer/src/ekf_localizer.cpp 0.00% <0.00%> (ø)
...ocalization/ekf_localizer/src/state_transition.cpp 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@IshitaTakeshi IshitaTakeshi added the component:localization Vehicle's position determination in its environment. (auto-assigned) label Nov 11, 2022
@IshitaTakeshi IshitaTakeshi requested a review from a team as a code owner November 29, 2022 05:29
@IshitaTakeshi IshitaTakeshi merged commit a85643f into main Nov 30, 2022
@IshitaTakeshi IshitaTakeshi deleted the refactor/remove-predict-kinematics-model branch November 30, 2022 11:08
HansRobo pushed a commit to HansRobo/autoware.universe that referenced this pull request Dec 16, 2022
…ferential transparency (autowarefoundation#2269)

* Remove 'predictKinematicsModel'
* Move the model description to state_transition.cpp

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Kotaro Yoshimoto <pythagora.yoshimoto@gmail.com>
kminoda pushed a commit to kminoda/autoware.universe that referenced this pull request Jan 6, 2023
…ferential transparency (autowarefoundation#2269)

* Remove 'predictKinematicsModel'
* Move the model description to state_transition.cpp

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: kminoda <koji.minoda@tier4.jp>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:localization Vehicle's position determination in its environment. (auto-assigned)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants