HiveMind
InterlocUpdate.h
Go to the documentation of this file.
1 #ifndef __INTERLOCUPDATE_H__
2 #define __INTERLOCUPDATE_H__
3 
4 #include <cstdint>
5 #include <optional>
6 
7 struct InterlocUpdate {
8  uint16_t m_robotId{};
9 
13  std::optional<float> m_distance;
14 
18  std::optional<float> m_angleOfArrival;
19 
20  std::optional<bool> m_isInLineOfSight;
21 
22  bool m_resetDumps = false;
23 };
24 
25 #endif //__INTERLOCUPDATE_H__
InterlocUpdate::m_isInLineOfSight
std::optional< bool > m_isInLineOfSight
Definition: InterlocUpdate.h:20
InterlocUpdate::m_distance
std::optional< float > m_distance
Distance in meters.
Definition: InterlocUpdate.h:13
InterlocUpdate::m_angleOfArrival
std::optional< float > m_angleOfArrival
Angle of the distant agent in the frame of the current agent (in degrees)
Definition: InterlocUpdate.h:18
InterlocUpdate::m_robotId
uint16_t m_robotId
Definition: InterlocUpdate.h:8
InterlocUpdate
Definition: InterlocUpdate.h:7
InterlocUpdate::m_resetDumps
bool m_resetDumps
Definition: InterlocUpdate.h:22