include
depthai
pipeline
datatype
IMUData.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <chrono>
4
#include <unordered_map>
5
#include <vector>
6
7
#include "
depthai-shared/datatype/RawIMUData.hpp
"
8
#include "
depthai/pipeline/datatype/Buffer.hpp
"
9
namespace
dai
{
10
14
class
IMUData
:
public
Buffer
{
15
std::shared_ptr<RawBuffer>
serialize
()
const override
;
16
RawIMUData
&
rawIMU
;
17
18
public
:
20
IMUData
();
21
explicit
IMUData
(std::shared_ptr<RawIMUData> ptr);
22
virtual
~IMUData
() =
default
;
23
25
std::vector<IMUPacket>&
packets
;
26
};
27
28
}
// namespace dai
dai::IMUData
Definition:
IMUData.hpp:14
dai::IMUData::~IMUData
virtual ~IMUData()=default
RawIMUData.hpp
dai::IMUData::serialize
std::shared_ptr< RawBuffer > serialize() const override
Definition:
IMUData.cpp:5
dai::Buffer
Base message - buffer of binary data.
Definition:
Buffer.hpp:13
dai::IMUData::rawIMU
RawIMUData & rawIMU
Definition:
IMUData.hpp:16
Buffer.hpp
dai
Definition:
CameraExposureOffset.hpp:6
dai::IMUData::packets
std::vector< IMUPacket > & packets
Detections.
Definition:
IMUData.hpp:25
dai::RawIMUData
Definition:
RawIMUData.hpp:211
dai::IMUData::IMUData
IMUData()
Construct IMUData message.
Definition:
IMUData.cpp:9
depthai
Author(s): Martin Peterlin
autogenerated on Sat Mar 22 2025 02:58:19