|
Autoware.Auto
|
|
#include <safety_state_machine.hpp>
Public Member Functions | |
| Limits (T min, T max, T threshold) | |
| T | min () const noexcept |
| T | max () const noexcept |
| T | threshold () const noexcept |
| bool8_t | clamp_warn (T &value) const noexcept |
| Clamps value to max/min range; return true if value is threshold past limits. More... | |
A simple class representing 1D limits and a threshold value for when something is considered warning worthy.
|
inline |
Constructor
| std::domain_error | if min >= max |
|
inlinenoexcept |
Clamps value to max/min range; return true if value is threshold past limits.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |