Développement CAN Watchdog

This commit is contained in:
2024-03-01 14:43:12 -05:00
parent 0ee7ece650
commit 56b30216c9
16 changed files with 2480 additions and 531 deletions
+6
View File
@@ -6,6 +6,11 @@
#include <QTimer>
#include "CANMessage.h"
//This class is not a watchdog per say. It manages the update of the CAN register that is sent to the
//Parker controller. This controller uses this update as a watchdog signal, but the register contains
//some useful data for the Parker controller as well.
class CCANWatchdog: public QObject
{
Q_OBJECT
@@ -17,6 +22,7 @@ public:
int StartWDT();
int StopWDT();
bool IsInitialized(){return mWDTInitialized;}
quint64 GetCANDateTimeBuffer();
CPCANInterface *mCANDriverIF;
unsigned int mWDTPeriod;