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

Add monitoring to detect performance degradation #193

Closed
3 tasks
jkleiber opened this issue Apr 18, 2024 · 1 comment
Closed
3 tasks

Add monitoring to detect performance degradation #193

jkleiber opened this issue Apr 18, 2024 · 1 comment
Labels
feature New feature or request

Comments

@jkleiber
Copy link
Member

Purpose
The purpose of this addition is to create performance monitors for detecting performance degradation.

In autonomous systems, a "monitor" is something that keeps track of variables of interest to ensure they remain within acceptable ranges. If the variable goes outside the acceptable range for a persistence, the monitor goes into alarm and typically takes an action.

For example, let's say you have a battery system that could experience a thermal runaway. To mitigate this risk and protect the system, a monitor could be used to shut off power if the system exceeds a certain temperature. The following monitor could be appropriate for this application:

  • Monitor Type: Below Threshold Monitor
  • Variable: Temperature
  • Threshold: User defined max temperature
  • Persistence: User defined
  • Action: Turn off system

In this addition we should add some basic monitors that we can use on our robot, such as:

  • Variable Below / Above threshold
  • Variable equal / not equal monitor
  • Variable inside/outside range (can be implemented using the above two monitors)

Project Scope

  • Add base class Monitor that takes a generic supplier (variable to monitor), a threshold, a persistence, and a generic consumer (action to take if the monitor is in alarm). There should also be a getter function for if the monitor is in alarm.
  • Make specific classes that inherit the monitor class for the threshold and equality check monitors
  • Make Monitor types that combine these logical monitors (OR, AND for now).
@jkleiber jkleiber added the feature New feature or request label Apr 18, 2024
@jkleiber jkleiber added this to the Automate Everything milestone Apr 18, 2024
@jkleiber jkleiber mentioned this issue May 2, 2024
5 tasks
@jkleiber
Copy link
Member Author

jkleiber commented May 2, 2024

Duplicate of #199, closing

@jkleiber jkleiber closed this as not planned Won't fix, can't repro, duplicate, stale May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant