Main Page
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Functions
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
Variables
b
c
d
e
h
i
l
m
n
p
r
s
u
x
Typedefs
b
c
d
e
f
g
i
m
p
r
u
v
Enumerations
Enumerator
a
b
f
g
i
m
n
r
s
u
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
h
i
m
n
p
q
r
s
t
u
v
x
Enumerations
a
c
d
e
f
k
l
m
p
r
s
t
v
w
Enumerator
a
b
d
f
g
h
i
l
m
n
o
p
r
s
u
v
Related Functions
Files
File List
File Members
All
_
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
u
v
w
Functions
b
c
d
e
f
g
m
o
p
r
s
t
u
v
w
Variables
a
b
c
d
e
f
i
k
l
m
n
o
p
r
s
t
w
Typedefs
Enumerations
Enumerator
Macros
_
d
f
i
m
n
p
s
t
u
src
pipeline
datatype
IMUData.cpp
Go to the documentation of this file.
1
#include "
depthai/pipeline/datatype/IMUData.hpp
"
2
3
namespace
dai
{
4
5
std::shared_ptr<RawBuffer>
IMUData::serialize
()
const
{
6
return
raw
;
7
}
8
9
IMUData::IMUData
() :
Buffer
(
std
::make_shared<
RawIMUData
>()), rawIMU(*dynamic_cast<
RawIMUData
*>(raw.
get
())), packets(rawIMU.packets) {}
10
IMUData::IMUData
(std::shared_ptr<RawIMUData> ptr) :
Buffer
(
std
::move(ptr)), rawIMU(*dynamic_cast<
RawIMUData
*>(raw.
get
())), packets(rawIMU.packets) {}
11
12
}
// namespace dai
DAI_SPAN_NAMESPACE_NAME::get
constexpr auto get(span< E, S > s) -> decltype(s[N])
Definition:
span.hpp:491
dai::IMUData::serialize
std::shared_ptr< RawBuffer > serialize() const override
Definition:
IMUData.cpp:5
IMUData.hpp
dai::Buffer
Base message - buffer of binary data.
Definition:
Buffer.hpp:13
std
Definition:
Node.hpp:366
dai::ADatatype::raw
std::shared_ptr< RawBuffer > raw
Definition:
ADatatype.hpp:15
dai
Definition:
CameraExposureOffset.hpp:6
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