MCU
Loading...
Searching...
No Matches
VectornavInterface.h
Go to the documentation of this file.
1#ifndef VECTORNAVINTERFACE
2#define VECTORNAVINTERFACE
3#include "SharedDataTypes.h"
4
5
6template <typename message_queue>
7class VNInterface
8{
9private:
10 /* Watchdog last kicked time */
11 message_queue *msg_queue_;
12 uint32_t can_id_;
14
15public:
16 VNInterface(message_queue *msg_output_queue) {
17 msg_queue_ = msg_output_queue;
18 };
19 /* Kick watchdog */
20
21 // getters
23
24 uint32_t get_id() { return can_id_;};
25};
26#endif /* __WATCHDOG_INTERFACE_H__ */
VectornavData_s vn_data
VNInterface(message_queue *msg_output_queue)
uint32_t get_id()
VectornavData_s get_vn_struct()
message_queue * msg_queue_