HiveMind
BspInterlocAngleRawData.h
Go to the documentation of this file.
1 #ifndef HIVE_MIND_BSPINTERLOCANGLERAWDATA_H
2 #define HIVE_MIND_BSPINTERLOCANGLERAWDATA_H
3 
4 #include <array>
5 #include <cstdint>
6 
7 #define MAX_ANGLE_FRAMES 100
8 #define MAX_BEEBOARDS 6
9 
11  uint32_t m_beeboardPort;
12  uint64_t m_rxTimestamp;
13  float m_sfdAngle;
15  uint32_t m_messageId;
17 };
18 
21  std::array<BspInterlocFrameInfo, MAX_BEEBOARDS> m_frameInfos;
22 };
23 
25  // TODO: Could add iterator functions to simplify reading the array
26  uint32_t m_framesLength;
27  std::array<BspInterlocFrameAngleRawData, MAX_ANGLE_FRAMES> m_frames;
28 };
29 
30 #endif // HIVE_MIND_BSPINTERLOCANGLERAWDATA_H
BspInterlocFrameAngleRawData::m_frameInfosLength
uint8_t m_frameInfosLength
Definition: BspInterlocAngleRawData.h:20
BspInterlocRawAngleData
Definition: BspInterlocAngleRawData.h:24
BspInterlocFrameInfo
Definition: BspInterlocAngleRawData.h:10
BspInterlocFrameInfo::m_messageId
uint32_t m_messageId
Definition: BspInterlocAngleRawData.h:15
BspInterlocRawAngleData::m_framesLength
uint32_t m_framesLength
Definition: BspInterlocAngleRawData.h:26
BspInterlocFrameAngleRawData::m_frameInfos
std::array< BspInterlocFrameInfo, MAX_BEEBOARDS > m_frameInfos
Definition: BspInterlocAngleRawData.h:21
BspInterlocFrameInfo::m_rxTimestamp
uint64_t m_rxTimestamp
Definition: BspInterlocAngleRawData.h:12
BspInterlocRawAngleData::m_frames
std::array< BspInterlocFrameAngleRawData, MAX_ANGLE_FRAMES > m_frames
Definition: BspInterlocAngleRawData.h:27
BspInterlocFrameInfo::m_sfdAngle
float m_sfdAngle
Definition: BspInterlocAngleRawData.h:13
BspInterlocFrameInfo::m_losConfidence
float m_losConfidence
Definition: BspInterlocAngleRawData.h:16
BspInterlocFrameInfo::m_beeboardPort
uint32_t m_beeboardPort
Definition: BspInterlocAngleRawData.h:11
BspInterlocFrameInfo::m_accumulatorAngle
float m_accumulatorAngle
Definition: BspInterlocAngleRawData.h:14
BspInterlocFrameAngleRawData
Definition: BspInterlocAngleRawData.h:19