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: fix diag index error #534

Merged
merged 1 commit into from
Jul 29, 2024
Merged

fix: fix diag index error #534

merged 1 commit into from
Jul 29, 2024

Conversation

1222-takeshi
Copy link
Contributor

@1222-takeshi 1222-takeshi commented Jul 29, 2024

Types of PR

  • New Features
  • Upgrade of existing features
  • Bugfix

Description

Without diag msgs, msg.status[0] causes the following error
Fixed to work around this.

[obstacle_segmentation_evaluator_node.py-75]   File "/home/autoware/pilot-auto.x1/install/driving_log_replayer/lib/driving_log_replayer/obstacle_segmentation_evaluator_node.py", line 306, in diag_cb
[obstacle_segmentation_evaluator_node.py-75]     diag_status: DiagnosticStatus = msg.status[0]
[obstacle_segmentation_evaluator_node.py-75] IndexError: list index out of range
[component_container_mt-1] [INFO] [1721737631.943992032] [perception.obstacle_segmen

How to review this PR

Others

Autoware Evaluator
before TIER IV INTERNAL LINK
after TIER IV INTERNAL LINK

Signed-off-by: 1222-takeshi <[email protected]>
@1222-takeshi 1222-takeshi requested a review from hayato-m126 July 29, 2024 09:43
Copy link
Collaborator

@hayato-m126 hayato-m126 left a comment

Choose a reason for hiding this comment

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

Thank you
Lgtm

@hayato-m126 hayato-m126 merged commit 5a6b180 into develop Jul 29, 2024
7 checks passed
@hayato-m126 hayato-m126 deleted the fix/diag-index-error branch July 29, 2024 11:44
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.

2 participants