Go to the documentation of this file.
39 #ifndef LibMultiSense_ApriltagDetections
40 #define LibMultiSense_ApriltagDetections
42 #include "utility/Portability.hh"
54 #ifdef SENSORPOD_FIRMWARE
57 #endif // SENSORPOD_FIRMWARE
78 #ifdef SENSORPOD_FIRMWARE
87 strncpy(imageSource,
"",
sizeof(imageSource));
124 #ifndef SENSORPOD_FIRMWARE
128 template<
class Archive>
142 #endif // !SENSORPOD_FIRMWARE
153 #ifndef SENSORPOD_FIRMWARE
165 template<
class Archive>
181 message.write(
reinterpret_cast<void*
>(
detections.data()), wireBytes);
185 void *rawDetectionsData = message.peek();
186 message.seek(message.tell() + wireBytes);
189 memcpy(
detections.data(), rawDetectionsData, wireBytes);
193 #endif // !SENSORPOD_FIRMWARE
std::vector< ApriltagDetection > detections
static CRL_CONSTEXPR IdType ID_DATA_APRILTAG_DETECTIONS_MESSAGE
#define WIRE_HEADER_ATTRIBS_
#define SER_ARRAY_1(a_, n_)
#define SER_ARRAY_2(a_, n_, m_)
void serialize(Archive &message, const VersionType version)
static CRL_CONSTEXPR VersionType VERSION
std::string const * frameId(const M &m)
ApriltagDetections(utility::BufferStreamReader &r, VersionType v)
double tagToImageHomography[3][3]
void serialize(Archive &message, const VersionType version)