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(fault_injection): fix empty hardware_id #814

Merged
merged 1 commit into from
Apr 26, 2022
Merged

Conversation

h-ohta
Copy link
Contributor

@h-ohta h-ohta commented Apr 26, 2022

Description

In fault_injection node, all diags had empty hardware_id.
This is because hardware_id was replaced with the following value in updateEventDiag().


I fix it.

Review Procedure

Confirm some fault injection diag has fault injection as hardware_id like following image in rqt_robot_monitor.
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.

@h-ohta h-ohta requested a review from KeisukeShima April 26, 2022 08:05
@h-ohta h-ohta marked this pull request as draft April 26, 2022 08:06
@codecov
Copy link

codecov bot commented Apr 26, 2022

Codecov Report

Merging #814 (0c48923) into main (d1cb17e) will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##            main    #814   +/-   ##
=====================================
  Coverage   9.66%   9.66%           
=====================================
  Files        908     908           
  Lines      56560   56560           
  Branches    6830    6830           
=====================================
  Hits        5465    5465           
  Misses     46593   46593           
  Partials    4502    4502           
Flag Coverage Δ *Carryforward flag
differential 40.74% <ø> (?)
total 9.66% <ø> (ø) Carriedforward from d1cb17e

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

Impacted Files Coverage Δ
...ion/include/fault_injection/diagnostic_storage.hpp 53.84% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a0a4e75...0c48923. Read the comment docs.

@h-ohta h-ohta force-pushed the fix/fault_injection branch from 377b7ff to 36a7a65 Compare April 26, 2022 08:14
@KeisukeShima
Copy link
Contributor

KeisukeShima commented Apr 26, 2022

@h-ohta
Small question:
I heard from @kenji-miyake before that Autoware didn't use hardware_id. Do you use it in your use case?

@kenji-miyake
Copy link
Contributor

Copy link
Contributor

@KeisukeShima KeisukeShima left a comment

Choose a reason for hiding this comment

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

@kenji-miyake Thanks for your comment.
LGTM

Signed-off-by: h-ohta <hiroki.ota@tier4.jp>
@h-ohta h-ohta force-pushed the fix/fault_injection branch from 36a7a65 to 0c48923 Compare April 26, 2022 08:27
@h-ohta h-ohta marked this pull request as ready for review April 26, 2022 08:27
@h-ohta h-ohta enabled auto-merge (squash) April 26, 2022 08:27
@h-ohta h-ohta merged commit cdbff23 into main Apr 26, 2022
@h-ohta h-ohta deleted the fix/fault_injection branch April 26, 2022 08:35
boyali referenced this pull request in boyali/autoware.universe Sep 28, 2022
Signed-off-by: h-ohta <hiroki.ota@tier4.jp>
boyali referenced this pull request in boyali/autoware.universe Oct 3, 2022
Signed-off-by: h-ohta <hiroki.ota@tier4.jp>
boyali referenced this pull request in boyali/autoware.universe Oct 3, 2022
Signed-off-by: h-ohta <hiroki.ota@tier4.jp>
boyali referenced this pull request in boyali/autoware.universe Oct 19, 2022
Signed-off-by: h-ohta <hiroki.ota@tier4.jp>
iwatake2222 pushed a commit to iwatake2222/autoware.universe that referenced this pull request Jan 17, 2025
Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants