-
Notifications
You must be signed in to change notification settings - Fork 665
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(map_height_fitter): fitting by vector_map #6340
feat(map_height_fitter): fitting by vector_map #6340
Conversation
Signed-off-by: Shintaro Sakoda <[email protected]>
Signed-off-by: Shintaro Sakoda <[email protected]>
Signed-off-by: Shintaro Sakoda <[email protected]>
Signed-off-by: Shintaro Sakoda <[email protected]>
Signed-off-by: Shintaro Sakoda <[email protected]>
Signed-off-by: Shintaro Sakoda <[email protected]>
Signed-off-by: Shintaro Sakoda <[email protected]>
Signed-off-by: Shintaro Sakoda <[email protected]>
Signed-off-by: Shintaro Sakoda <[email protected]>
Signed-off-by: Shintaro Sakoda <[email protected]>
Signed-off-by: Shintaro Sakoda <[email protected]>
Signed-off-by: Shintaro Sakoda <[email protected]>
Signed-off-by: Shintaro Sakoda <[email protected]>
Signed-off-by: Shintaro Sakoda <[email protected]>
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #6340 +/- ##
==========================================
- Coverage 14.88% 14.84% -0.05%
==========================================
Files 1838 1845 +7
Lines 126709 126024 -685
Branches 38044 37497 -547
==========================================
- Hits 18865 18710 -155
+ Misses 86545 86414 -131
+ Partials 21299 20900 -399
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
localization/pose_initializer/launch/pose_initializer.launch.xml
Outdated
Show resolved
Hide resolved
Signed-off-by: Shintaro Sakoda <[email protected]>
Signed-off-by: Shintaro Sakoda <[email protected]>
[Additional test]
|
Signed-off-by: Shintaro Sakoda <[email protected]>
Signed-off-by: Shintaro Sakoda <[email protected]>
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.
LGTM
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.
I have confirmed that it works as intended in several modes. 🙆♂️
I made a minor point. Once it is resolved, I can approve this.
Signed-off-by: Shintaro Sakoda <[email protected]>
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.
LGTM 🙆♂️
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.
LGTM
f812ea8
into
autowarefoundation:main
* Added fit_target Signed-off-by: Shintaro Sakoda <[email protected]> * Fixed group Signed-off-by: Shintaro Sakoda <[email protected]> * Fixed to run Signed-off-by: Shintaro Sakoda <[email protected]> * style(pre-commit): autofix * Fixed to work by pointcloud_map Signed-off-by: Shintaro Sakoda <[email protected]> * Fixed comments Signed-off-by: Shintaro Sakoda <[email protected]> * Added a comment Signed-off-by: Shintaro Sakoda <[email protected]> * Fixed a comment Signed-off-by: Shintaro Sakoda <[email protected]> * Fixed to use arg Signed-off-by: Shintaro Sakoda <[email protected]> * Added info log Signed-off-by: Shintaro Sakoda <[email protected]> * FIxed default value Signed-off-by: Shintaro Sakoda <[email protected]> * FIxed default values Signed-off-by: Shintaro Sakoda <[email protected]> * Updated schema.json Signed-off-by: Shintaro Sakoda <[email protected]> * Fixed description of fit_target Signed-off-by: Shintaro Sakoda <[email protected]> * Fixed arg name Signed-off-by: Shintaro Sakoda <[email protected]> * Restore const Signed-off-by: Shintaro Sakoda <[email protected]> * Fixed map_height_fitter.param.yaml Signed-off-by: Shintaro Sakoda <[email protected]> * Fixed map_height_fitter.schema.json Signed-off-by: Shintaro Sakoda <[email protected]> * style(pre-commit): autofix * Removed an unused variable Signed-off-by: Shintaro Sakoda <[email protected]> --------- Signed-off-by: Shintaro Sakoda <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Takagi, Isamu <[email protected]>
* Added fit_target Signed-off-by: Shintaro Sakoda <[email protected]> * Fixed group Signed-off-by: Shintaro Sakoda <[email protected]> * Fixed to run Signed-off-by: Shintaro Sakoda <[email protected]> * style(pre-commit): autofix * Fixed to work by pointcloud_map Signed-off-by: Shintaro Sakoda <[email protected]> * Fixed comments Signed-off-by: Shintaro Sakoda <[email protected]> * Added a comment Signed-off-by: Shintaro Sakoda <[email protected]> * Fixed a comment Signed-off-by: Shintaro Sakoda <[email protected]> * Fixed to use arg Signed-off-by: Shintaro Sakoda <[email protected]> * Added info log Signed-off-by: Shintaro Sakoda <[email protected]> * FIxed default value Signed-off-by: Shintaro Sakoda <[email protected]> * FIxed default values Signed-off-by: Shintaro Sakoda <[email protected]> * Updated schema.json Signed-off-by: Shintaro Sakoda <[email protected]> * Fixed description of fit_target Signed-off-by: Shintaro Sakoda <[email protected]> * Fixed arg name Signed-off-by: Shintaro Sakoda <[email protected]> * Restore const Signed-off-by: Shintaro Sakoda <[email protected]> * Fixed map_height_fitter.param.yaml Signed-off-by: Shintaro Sakoda <[email protected]> * Fixed map_height_fitter.schema.json Signed-off-by: Shintaro Sakoda <[email protected]> * style(pre-commit): autofix * Removed an unused variable Signed-off-by: Shintaro Sakoda <[email protected]> --------- Signed-off-by: Shintaro Sakoda <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Takagi, Isamu <[email protected]>
Description
This pull request adds a new feature to
map_height_fitter
to fit z position by vector_map.Context
planning_simulator
does not use Localization, so the PointCloud map is essentially unnecessary. However, becausemap_height_fitter
relies on PointCloud map to fit the z position of initial pose,planning_simulator
as a whole relies on PointCloud map.This dependency causes changes to PointCloud map to affect
planning_simulator
. Below is an example.#6294
Modifying the
map_height_fitter
to be able to fit the z position from the vector_map allowsplanning_simulator
to work independently of the PointCloud map.Changes
map_height_fitter
to fit z position by vector_map.fit_target
as an argument to maintain the same behavior as before. You can choose fromvector_map
orpointcloud_map
. Default ispointcloud_map
.Related PR
Tests performed
AWSIM
I have confirmed that both
fit_target
works properly.planning_simulator
The following command works correctly even if there is no pcd in sample-map-planning.
driving_log_replayer
The following command works fine.
Effects on system behavior
In default setting, there are no effects on system behavior.
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.