olympus-robotics / hephaestus

Hephaestus is a C++ framework designed to facilitate robotics development by providing commonly needed functionality and abstractions.
MIT License
18 stars 2 forks source link

Watchdog timer #82

Closed filippobrizzi closed 3 weeks ago

filippobrizzi commented 4 weeks ago

Description

Create a watchdog timer.

The timer call the given callback every period time. A function pat() is also provided to implement a dead-man switch.

Example use case: In a motor controller, if no command is received within the time period, stop the motors.