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

fix(accel_brake_map_calibrator): set method to none as default in view plot py #2808

Merged
merged 1 commit into from
Feb 3, 2023

Conversation

tkimura4
Copy link
Contributor

@tkimura4 tkimura4 commented Feb 3, 2023

Signed-off-by: tomoya.kimura tomoya.kimura@tier4.jp

Description

Currently, the default value of args.method is not None but "None".

parser.add_argument(
"-m",
"--method",
default="None",
type=str,
help="calibration method : each_cell or four_cell",
)
image

So, None-check for calibration_method is not properly performed, and unnecessary errors are occured. I fixed it.

image

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.

  • There are no open discussions or they are tracked via tickets.

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

…w plot py

Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
@github-actions github-actions bot added the component:vehicle Vehicle-specific implementations, drivers, packages. (auto-assigned) label Feb 3, 2023
@codecov
Copy link

codecov bot commented Feb 3, 2023

Codecov Report

Base: 11.63% // Head: 11.63% // No change to project coverage 👍

Coverage data is based on head (fb6195b) compared to base (ded1d94).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2808   +/-   ##
=======================================
  Coverage   11.63%   11.63%           
=======================================
  Files        1318     1318           
  Lines       91883    91883           
  Branches    24407    24407           
=======================================
  Hits        10691    10691           
  Misses      70025    70025           
  Partials    11167    11167           
Flag Coverage Δ *Carryforward flag
differential 0.00% <ø> (?)
total 11.63% <ø> (ø) Carriedforward from ded1d94

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

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.

Copy link
Contributor

@1222-takeshi 1222-takeshi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tkimura4 tkimura4 merged commit b026fc3 into autowarefoundation:main Feb 3, 2023
@tkimura4 tkimura4 deleted the fix/view_plot_in_amb_calib branch February 3, 2023 08:31
asana17 pushed a commit to asana17/autoware.universe that referenced this pull request Feb 8, 2023
…w plot py (autowarefoundation#2808)

Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
KYabuuchi pushed a commit to KYabuuchi/autoware.universe that referenced this pull request Feb 16, 2023
Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:vehicle Vehicle-specific implementations, drivers, packages. (auto-assigned)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants