Main Page
Namespaces
Namespace List
Namespace Members
All
Functions
Enumerations
Enumerator
Classes
Class List
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
~
Functions
a
b
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
u
w
~
Variables
a
b
c
d
e
f
h
i
l
m
n
p
q
r
s
t
u
v
w
Typedefs
Enumerations
Enumerator
Files
File List
File Members
All
Functions
Typedefs
Enumerations
Enumerator
Macros
src
pf
pf_packet
pf_r2000_packet.cpp
Go to the documentation of this file.
1
#include "
pf_driver/pf/pf_packet/pf_r2000_packet.h
"
2
3
size_t
PFR2000Packet::get_size
()
4
{
5
return
ros::serialization::serializationLength
(
header
);
6
}
7
8
std::tuple<uint16_t, uint32_t, uint16_t>
PFR2000Packet::read_header
(
ros::serialization::IStream
& stream)
9
{
10
ros::serialization::Serializer<pf_driver::PFR2000Header>::read
(stream,
header
);
11
return
std::tuple<uint16_t, uint32_t, uint16_t>(
header
.header.header_size,
header
.header.packet_size,
12
header
.num_points_packet);
13
}
PFR2000Packet::get_size
virtual size_t get_size()
Definition:
pf_r2000_packet.cpp:3
pf_r2000_packet.h
PFR2000Packet::read_header
virtual std::tuple< uint16_t, uint32_t, uint16_t > read_header(ros::serialization::IStream &stream)
Definition:
pf_r2000_packet.cpp:8
ros::serialization::serializationLength
uint32_t serializationLength(const boost::array< T, N > &t)
ros::serialization::IStream
ros::serialization::Serializer::read
static void read(Stream &stream, typename boost::call_traits< T >::reference t)
PFR2000Packet::header
pf_driver::PFR2000Header header
Definition:
pf_r2000_packet.h:13
pf_driver
Author(s): Harsh Deshpande
autogenerated on Sun Feb 4 2024 03:32:56