Skip to content
This repository has been archived by the owner on Mar 27, 2023. It is now read-only.

feat: use same param file for Error Monitor #240

Closed

Conversation

0x126
Copy link
Contributor

@0x126 0x126 commented Mar 10, 2022

PR Type

  • New Feature

Related Links

Description

Change system_launch so that system_error_monitor uses the same configuration file for both the real car and the simulator.

Background

  • In present, system_error_monitor uses different configuration for the real car(autoware.launch) and for the simulator(planning_simulator.launch)
  • It also changes the behavior upon receiving ERROR and WARN.
  • It is not good when you want to test the emergency behavior on a simulator by performing fault injections, etc.

This PR

  • Using ignore_missing_diagnostics flag of system_error_monitor, unify configuration file for both the real car and the simulator.
  • Set the flag to true during simulation to make system_error_monitor ignore halt instead of treating them as errors.
  • Disable system_monitor during simulation
    • Let diagnostics of system_monitor be halt instead of error and make system_error_monitor ignore it.

Cocern

  • Ignoring halt status, real halts of diagnostics cannot be detected on the simulator

Review Procedure

  • Run planning_simultor, then check diagnostics and behaviours.

Remarks

Pre-Review Checklist for the PR Author

PR Author should check the checkboxes below when creating the PR.

Checklist for the PR Reviewer

Reviewers should check the checkboxes below before approval.

  • Commits are properly organized and messages are according to the guideline
  • Code follows coding guidelines
  • (Optional) Unit tests have been written for new behavior
  • PR title describes the changes

Post-Review Checklist for the PR Author

PR Author should check the checkboxes below before merging.

  • All open points are addressed and tracked via issues or tickets
  • Write release notes

CI Checks

  • Build and test for PR: Required to pass before the merge.
  • Check spelling: NOT required to pass before the merge. It is up to the reviewer(s). See here if you want to add some words to the spell check dictionary.

Copy link
Contributor

@kenji-miyake kenji-miyake left a comment

Choose a reason for hiding this comment

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

👍

@h-ohta
Copy link
Contributor

h-ohta commented Mar 14, 2022

@0x126

Run planning_simultor, then check diagnostics and behaviours.

Could you tell me what items I have to check in detail ?

@0x126
Copy link
Contributor Author

0x126 commented Mar 14, 2022

I'm a little mistaken and this PR doesn't work, so I'm going to close it.

@0x126 0x126 closed this Mar 15, 2022
s-azumi pushed a commit to s-azumi/autoware_launch that referenced this pull request Apr 21, 2022
takayuki5168 added a commit that referenced this pull request May 26, 2022
tier4-autoware-public-bot bot pushed a commit that referenced this pull request Mar 11, 2023
* delete_launch_planning_evaluator_arg

Signed-off-by: kyoichi-sugahara <[email protected]>

* delete_launch_planning_evaluator_arg

Signed-off-by: kyoichi-sugahara <[email protected]>

---------

Signed-off-by: kyoichi-sugahara <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants