|
VOXL OpenVINS Server 1.0
Visual Inertial Odometry Server for VOXL Platform
|
Health monitoring system for VOXL OpenVINS. More...
#include <VoxlHK.h>
Public Member Functions | |
| HealthCheck (const HealthCheck &)=delete | |
| HealthCheck & | operator= (const HealthCheck &)=delete |
| void | start () |
| Start the health check system. | |
| void | stop () |
| Stop the health check system. | |
| bool | isRunning () const |
| Check if health monitoring is running. | |
Static Public Member Functions | |
| static HealthCheck & | getInstance () |
| Get singleton instance. | |
| static void | clearErrorCodes (uint32_t error_mask) |
| Clear specific error codes. | |
| static void | clearErrorCodes (uint32_t error_mask, bool clear_all) |
| Clear specific error codes. | |
Health monitoring system for VOXL OpenVINS.
This class provides comprehensive health monitoring capabilities for the VIO system, including error code monitoring, system state checks, and performance monitoring. It runs at 30Hz and continuously monitors the system health.
|
inlinestatic |
Clear specific error codes.
Clears the specified error codes from the global error state. This is useful when errors are resolved and should no longer be reported.
| error_mask | Bit mask of error codes to clear |
| clear_all | If true, clear all error codes |
Definition at line 334 of file VoxlHK.h.
References clearErrorCodes().
Referenced by clearErrorCodes().


|
static |
Clear specific error codes.
Clears the specified error codes from the global error state. This is useful when errors are resolved and should no longer be reported.
| error_mask | Bit mask of error codes to clear |
Definition at line 575 of file VoxlHealth.cpp.
References en_debug, and vio_error_codes.
|
inlinestatic |
Get singleton instance.
Definition at line 293 of file VoxlHK.h.
Referenced by voxl::Publisher::start(), and voxl::Publisher::stop().

|
inline |
| void HealthCheck::start | ( | ) |
Start the health check system.
Initializes and starts the health monitoring thread that runs at 30Hz. The thread continuously monitors system health and error conditions.
Definition at line 49 of file VoxlHealth.cpp.
Referenced by voxl::Publisher::start().

| void HealthCheck::stop | ( | ) |
Stop the health check system.
Stops the health monitoring thread and performs cleanup.
Definition at line 71 of file VoxlHealth.cpp.
Referenced by voxl::Publisher::stop().
