CARLA
 
载入中...
搜索中...
未找到
Public 成员函数 | 静态 Public 成员函数 | Private 属性 | 所有成员列表
nav_msgs::msg::Odometry类 参考

This class represents the structure Odometry defined by the user in the IDL file. 更多...

#include <Odometry.h>

+ nav_msgs::msg::Odometry 的协作图:

Public 成员函数

eProsima_user_DllExport std::string & child_frame_id ()
 This function returns a reference to member child_frame_id
 
eProsima_user_DllExport const std::string & child_frame_id () const
 This function returns a constant reference to member child_frame_id
 
eProsima_user_DllExport void child_frame_id (const std::string &_child_frame_id)
 This function copies the value in member child_frame_id
 
eProsima_user_DllExport void child_frame_id (std::string &&_child_frame_id)
 This function moves the value in member child_frame_id
 
eProsima_user_DllExport void deserialize (eprosima::fastcdr::Cdr &cdr)
 This function deserializes an object using CDR serialization.
 
eProsima_user_DllExport std_msgs::msg::Headerheader ()
 This function returns a reference to member header
 
eProsima_user_DllExport const std_msgs::msg::Headerheader () const
 This function returns a constant reference to member header
 
eProsima_user_DllExport void header (const std_msgs::msg::Header &_header)
 This function copies the value in member header
 
eProsima_user_DllExport void header (std_msgs::msg::Header &&_header)
 This function moves the value in member header
 
eProsima_user_DllExport Odometry ()
 Default constructor.
 
eProsima_user_DllExport Odometry (const Odometry &x)
 Copy constructor.
 
eProsima_user_DllExport Odometry (Odometry &&x) noexcept
 Move constructor.
 
eProsima_user_DllExport bool operator!= (const Odometry &x) const
 Comparison operator.
 
eProsima_user_DllExport Odometryoperator= (const Odometry &x)
 Copy assignment.
 
eProsima_user_DllExport Odometryoperator= (Odometry &&x) noexcept
 Move assignment.
 
eProsima_user_DllExport bool operator== (const Odometry &x) const
 Comparison operator.
 
eProsima_user_DllExport geometry_msgs::msg::PoseWithCovariancepose ()
 This function returns a reference to member pose
 
eProsima_user_DllExport const geometry_msgs::msg::PoseWithCovariancepose () const
 This function returns a constant reference to member pose
 
eProsima_user_DllExport void pose (const geometry_msgs::msg::PoseWithCovariance &_pose)
 This function copies the value in member pose
 
eProsima_user_DllExport void pose (geometry_msgs::msg::PoseWithCovariance &&_pose)
 This function moves the value in member pose
 
eProsima_user_DllExport void serialize (eprosima::fastcdr::Cdr &cdr) const
 This function serializes an object using CDR serialization.
 
eProsima_user_DllExport void serializeKey (eprosima::fastcdr::Cdr &cdr) const
 This function serializes the key members of an object using CDR serialization.
 
eProsima_user_DllExport geometry_msgs::msg::TwistWithCovariancetwist ()
 This function returns a reference to member twist
 
eProsima_user_DllExport const geometry_msgs::msg::TwistWithCovariancetwist () const
 This function returns a constant reference to member twist
 
eProsima_user_DllExport void twist (const geometry_msgs::msg::TwistWithCovariance &_twist)
 This function copies the value in member twist
 
eProsima_user_DllExport void twist (geometry_msgs::msg::TwistWithCovariance &&_twist)
 This function moves the value in member twist
 
eProsima_user_DllExport ~Odometry ()
 Default destructor.
 

静态 Public 成员函数

static eProsima_user_DllExport size_t getCdrSerializedSize (const nav_msgs::msg::Odometry &data, size_t current_alignment=0)
 This function returns the serialized size of a data depending on the buffer alignment.
 
static eProsima_user_DllExport size_t getKeyMaxCdrSerializedSize (size_t current_alignment=0)
 This function returns the maximum serialized size of the Key of an object depending on the buffer alignment.
 
static eProsima_user_DllExport size_t getMaxCdrSerializedSize (size_t current_alignment=0)
 This function returns the maximum serialized size of an object depending on the buffer alignment.
 
static eProsima_user_DllExport bool isKeyDefined ()
 This function tells you if the Key has been defined for this type
 

Private 属性

std::string m_child_frame_id
 
std_msgs::msg::Header m_header
 
geometry_msgs::msg::PoseWithCovariance m_pose
 
geometry_msgs::msg::TwistWithCovariance m_twist
 

详细描述

This class represents the structure Odometry defined by the user in the IDL file.

在文件 Odometry.h74 行定义.

构造及析构函数说明

◆ Odometry() [1/3]

nav_msgs::msg::Odometry::Odometry ( )

Default constructor.

在文件 Odometry.cpp58 行定义.

引用了 m_child_frame_id.

◆ ~Odometry()

nav_msgs::msg::Odometry::~Odometry ( )

Default destructor.

在文件 Odometry.cpp69 行定义.

◆ Odometry() [2/3]

nav_msgs::msg::Odometry::Odometry ( const Odometry & x)

Copy constructor.

参数
xReference to the object nav_msgs::msg::Odometry that will be copied.

在文件 Odometry.cpp73 行定义.

引用了 m_child_frame_id, m_header, m_pose , 以及 m_twist.

◆ Odometry() [3/3]

nav_msgs::msg::Odometry::Odometry ( Odometry && x)
noexcept

Move constructor.

参数
xReference to the object nav_msgs::msg::Odometry that will be copied.

在文件 Odometry.cpp82 行定义.

成员函数说明

◆ child_frame_id() [1/4]

std::string & nav_msgs::msg::Odometry::child_frame_id ( )

This function returns a reference to member child_frame_id

返回
Reference to member child_frame_id

在文件 Odometry.cpp233 行定义.

◆ child_frame_id() [2/4]

const std::string & nav_msgs::msg::Odometry::child_frame_id ( ) const

This function returns a constant reference to member child_frame_id

返回
Constant reference to member child_frame_id

在文件 Odometry.cpp224 行定义.

◆ child_frame_id() [3/4]

void nav_msgs::msg::Odometry::child_frame_id ( const std::string & _child_frame_id)

This function copies the value in member child_frame_id

参数
_child_frame_idNew value to be copied in member child_frame_id

在文件 Odometry.cpp204 行定义.

被这些函数引用 getCdrSerializedSize().

+ 这是这个函数的调用关系图:

◆ child_frame_id() [4/4]

void nav_msgs::msg::Odometry::child_frame_id ( std::string && _child_frame_id)

This function moves the value in member child_frame_id

参数
_child_frame_idNew value to be moved in member child_frame_id

在文件 Odometry.cpp214 行定义.

◆ deserialize()

void nav_msgs::msg::Odometry::deserialize ( eprosima::fastcdr::Cdr & cdr)

This function deserializes an object using CDR serialization.

参数
cdrCDR serialization object.

在文件 Odometry.cpp154 行定义.

被这些函数引用 nav_msgs::msg::OdometryPubSubType::deserialize().

+ 这是这个函数的调用关系图:

◆ getCdrSerializedSize()

size_t nav_msgs::msg::Odometry::getCdrSerializedSize ( const nav_msgs::msg::Odometry & data,
size_t current_alignment = 0 )
static

This function returns the serialized size of a data depending on the buffer alignment.

参数
dataData which is calculated its serialized size.
current_alignmentBuffer alignment.
返回
Serialized size.

在文件 Odometry.cpp132 行定义.

引用了 child_frame_id(), geometry_msgs::msg::PoseWithCovariance::getCdrSerializedSize(), geometry_msgs::msg::TwistWithCovariance::getCdrSerializedSize(), std_msgs::msg::Header::getCdrSerializedSize(), header(), pose() , 以及 twist().

被这些函数引用 nav_msgs::msg::OdometryPubSubType::getSerializedSizeProvider().

+ 函数调用图:
+ 这是这个函数的调用关系图:

◆ getKeyMaxCdrSerializedSize()

size_t nav_msgs::msg::Odometry::getKeyMaxCdrSerializedSize ( size_t current_alignment = 0)
static

This function returns the maximum serialized size of the Key of an object depending on the buffer alignment.

参数
current_alignmentBuffer alignment.
返回
Maximum serialized size.

在文件 Odometry.cpp314 行定义.

引用了 nav_msgs_msg_Odometry_max_key_cdr_typesize.

被这些函数引用 nav_msgs::msg::OdometryPubSubType::getKey() , 以及 nav_msgs::msg::OdometryPubSubType::OdometryPubSubType().

+ 这是这个函数的调用关系图:

◆ getMaxCdrSerializedSize()

size_t nav_msgs::msg::Odometry::getMaxCdrSerializedSize ( size_t current_alignment = 0)
static

This function returns the maximum serialized size of an object depending on the buffer alignment.

参数
current_alignmentBuffer alignment.
返回
Maximum serialized size.

在文件 Odometry.cpp125 行定义.

引用了 nav_msgs_msg_Odometry_max_cdr_typesize.

被这些函数引用 nav_msgs::msg::OdometryPubSubType::OdometryPubSubType().

+ 这是这个函数的调用关系图:

◆ header() [1/4]

std_msgs::msg::Header & nav_msgs::msg::Odometry::header ( )

This function returns a reference to member header

返回
Reference to member header

在文件 Odometry.cpp196 行定义.

◆ header() [2/4]

const std_msgs::msg::Header & nav_msgs::msg::Odometry::header ( ) const

This function returns a constant reference to member header

返回
Constant reference to member header

在文件 Odometry.cpp187 行定义.

◆ header() [3/4]

void nav_msgs::msg::Odometry::header ( const std_msgs::msg::Header & _header)

This function copies the value in member header

参数
_headerNew value to be copied in member header

在文件 Odometry.cpp167 行定义.

被这些函数引用 getCdrSerializedSize().

+ 这是这个函数的调用关系图:

◆ header() [4/4]

void nav_msgs::msg::Odometry::header ( std_msgs::msg::Header && _header)

This function moves the value in member header

参数
_headerNew value to be moved in member header

在文件 Odometry.cpp177 行定义.

◆ isKeyDefined()

bool nav_msgs::msg::Odometry::isKeyDefined ( )
static

This function tells you if the Key has been defined for this type

在文件 Odometry.cpp321 行定义.

被这些函数引用 nav_msgs::msg::OdometryPubSubType::OdometryPubSubType().

+ 这是这个函数的调用关系图:

◆ operator!=()

bool nav_msgs::msg::Odometry::operator!= ( const Odometry & x) const

Comparison operator.

参数
xnav_msgs::msg::Odometry object to compare.

在文件 Odometry.cpp119 行定义.

◆ operator=() [1/2]

nav_msgs::msg::Odometry & nav_msgs::msg::Odometry::operator= ( const Odometry & x)

Copy assignment.

参数
xReference to the object nav_msgs::msg::Odometry that will be copied.

在文件 Odometry.cpp91 行定义.

引用了 m_child_frame_id, m_header, m_pose , 以及 m_twist.

◆ operator=() [2/2]

nav_msgs::msg::Odometry & nav_msgs::msg::Odometry::operator= ( Odometry && x)
noexcept

Move assignment.

参数
xReference to the object nav_msgs::msg::Odometry that will be copied.

在文件 Odometry.cpp102 行定义.

◆ operator==()

bool nav_msgs::msg::Odometry::operator== ( const Odometry & x) const

Comparison operator.

参数
xnav_msgs::msg::Odometry object to compare.

在文件 Odometry.cpp113 行定义.

引用了 m_child_frame_id, m_header, m_pose , 以及 m_twist.

◆ pose() [1/4]

geometry_msgs::msg::PoseWithCovariance & nav_msgs::msg::Odometry::pose ( )

This function returns a reference to member pose

返回
Reference to member pose

在文件 Odometry.cpp271 行定义.

◆ pose() [2/4]

const geometry_msgs::msg::PoseWithCovariance & nav_msgs::msg::Odometry::pose ( ) const

This function returns a constant reference to member pose

返回
Constant reference to member pose

在文件 Odometry.cpp262 行定义.

◆ pose() [3/4]

void nav_msgs::msg::Odometry::pose ( const geometry_msgs::msg::PoseWithCovariance & _pose)

This function copies the value in member pose

参数
_poseNew value to be copied in member pose

在文件 Odometry.cpp242 行定义.

被这些函数引用 getCdrSerializedSize().

+ 这是这个函数的调用关系图:

◆ pose() [4/4]

void nav_msgs::msg::Odometry::pose ( geometry_msgs::msg::PoseWithCovariance && _pose)

This function moves the value in member pose

参数
_poseNew value to be moved in member pose

在文件 Odometry.cpp252 行定义.

◆ serialize()

void nav_msgs::msg::Odometry::serialize ( eprosima::fastcdr::Cdr & cdr) const

This function serializes an object using CDR serialization.

参数
cdrCDR serialization object.

在文件 Odometry.cpp145 行定义.

被这些函数引用 nav_msgs::msg::OdometryPubSubType::serialize().

+ 这是这个函数的调用关系图:

◆ serializeKey()

void nav_msgs::msg::Odometry::serializeKey ( eprosima::fastcdr::Cdr & cdr) const

This function serializes the key members of an object using CDR serialization.

参数
cdrCDR serialization object.

在文件 Odometry.cpp326 行定义.

被这些函数引用 nav_msgs::msg::OdometryPubSubType::getKey().

+ 这是这个函数的调用关系图:

◆ twist() [1/4]

geometry_msgs::msg::TwistWithCovariance & nav_msgs::msg::Odometry::twist ( )

This function returns a reference to member twist

返回
Reference to member twist

在文件 Odometry.cpp309 行定义.

◆ twist() [2/4]

const geometry_msgs::msg::TwistWithCovariance & nav_msgs::msg::Odometry::twist ( ) const

This function returns a constant reference to member twist

返回
Constant reference to member twist

在文件 Odometry.cpp300 行定义.

◆ twist() [3/4]

void nav_msgs::msg::Odometry::twist ( const geometry_msgs::msg::TwistWithCovariance & _twist)

This function copies the value in member twist

参数
_twistNew value to be copied in member twist

在文件 Odometry.cpp280 行定义.

被这些函数引用 getCdrSerializedSize().

+ 这是这个函数的调用关系图:

◆ twist() [4/4]

void nav_msgs::msg::Odometry::twist ( geometry_msgs::msg::TwistWithCovariance && _twist)

This function moves the value in member twist

参数
_twistNew value to be moved in member twist

在文件 Odometry.cpp290 行定义.

类成员变量说明

◆ m_child_frame_id

std::string nav_msgs::msg::Odometry::m_child_frame_id
private

在文件 Odometry.h287 行定义.

被这些函数引用 Odometry(), Odometry(), operator=() , 以及 operator==().

◆ m_header

std_msgs::msg::Header nav_msgs::msg::Odometry::m_header
private

在文件 Odometry.h286 行定义.

被这些函数引用 Odometry(), operator=() , 以及 operator==().

◆ m_pose

geometry_msgs::msg::PoseWithCovariance nav_msgs::msg::Odometry::m_pose
private

在文件 Odometry.h288 行定义.

被这些函数引用 Odometry(), operator=() , 以及 operator==().

◆ m_twist

geometry_msgs::msg::TwistWithCovariance nav_msgs::msg::Odometry::m_twist
private

在文件 Odometry.h289 行定义.

被这些函数引用 Odometry(), operator=() , 以及 operator==().


该类的文档由以下文件生成: