This class represents the structure Imu defined by the user in the IDL file. 更多...
#include <Imu.h>
Public 成员函数 | |
eProsima_user_DllExport geometry_msgs::msg::Vector3 & | angular_velocity () |
This function returns a reference to member angular_velocity | |
eProsima_user_DllExport const geometry_msgs::msg::Vector3 & | angular_velocity () const |
This function returns a constant reference to member angular_velocity | |
eProsima_user_DllExport void | angular_velocity (const geometry_msgs::msg::Vector3 &_angular_velocity) |
This function copies the value in member angular_velocity | |
eProsima_user_DllExport void | angular_velocity (geometry_msgs::msg::Vector3 &&_angular_velocity) |
This function moves the value in member angular_velocity | |
eProsima_user_DllExport sensor_msgs::msg::sensor_msgs__Imu__double_array_9 & | angular_velocity_covariance () |
This function returns a reference to member angular_velocity_covariance | |
eProsima_user_DllExport const sensor_msgs::msg::sensor_msgs__Imu__double_array_9 & | angular_velocity_covariance () const |
This function returns a constant reference to member angular_velocity_covariance | |
eProsima_user_DllExport void | angular_velocity_covariance (const sensor_msgs::msg::sensor_msgs__Imu__double_array_9 &_angular_velocity_covariance) |
This function copies the value in member angular_velocity_covariance | |
eProsima_user_DllExport void | angular_velocity_covariance (sensor_msgs::msg::sensor_msgs__Imu__double_array_9 &&_angular_velocity_covariance) |
This function moves the value in member angular_velocity_covariance | |
eProsima_user_DllExport void | deserialize (eprosima::fastcdr::Cdr &cdr) |
This function deserializes an object using CDR serialization. | |
eProsima_user_DllExport std_msgs::msg::Header & | header () |
This function returns a reference to member header | |
eProsima_user_DllExport const std_msgs::msg::Header & | header () 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 | Imu () |
Default constructor. | |
eProsima_user_DllExport | Imu (const Imu &x) |
Copy constructor. | |
eProsima_user_DllExport | Imu (Imu &&x) noexcept |
Move constructor. | |
eProsima_user_DllExport geometry_msgs::msg::Vector3 & | linear_acceleration () |
This function returns a reference to member linear_acceleration | |
eProsima_user_DllExport const geometry_msgs::msg::Vector3 & | linear_acceleration () const |
This function returns a constant reference to member linear_acceleration | |
eProsima_user_DllExport void | linear_acceleration (const geometry_msgs::msg::Vector3 &_linear_acceleration) |
This function copies the value in member linear_acceleration | |
eProsima_user_DllExport void | linear_acceleration (geometry_msgs::msg::Vector3 &&_linear_acceleration) |
This function moves the value in member linear_acceleration | |
eProsima_user_DllExport sensor_msgs::msg::sensor_msgs__Imu__double_array_9 & | linear_acceleration_covariance () |
This function returns a reference to member linear_acceleration_covariance | |
eProsima_user_DllExport const sensor_msgs::msg::sensor_msgs__Imu__double_array_9 & | linear_acceleration_covariance () const |
This function returns a constant reference to member linear_acceleration_covariance | |
eProsima_user_DllExport void | linear_acceleration_covariance (const sensor_msgs::msg::sensor_msgs__Imu__double_array_9 &_linear_acceleration_covariance) |
This function copies the value in member linear_acceleration_covariance | |
eProsima_user_DllExport void | linear_acceleration_covariance (sensor_msgs::msg::sensor_msgs__Imu__double_array_9 &&_linear_acceleration_covariance) |
This function moves the value in member linear_acceleration_covariance | |
eProsima_user_DllExport bool | operator!= (const Imu &x) const |
Comparison operator. | |
eProsima_user_DllExport Imu & | operator= (const Imu &x) |
Copy assignment. | |
eProsima_user_DllExport Imu & | operator= (Imu &&x) noexcept |
Move assignment. | |
eProsima_user_DllExport bool | operator== (const Imu &x) const |
Comparison operator. | |
eProsima_user_DllExport geometry_msgs::msg::Quaternion & | orientation () |
This function returns a reference to member orientation | |
eProsima_user_DllExport const geometry_msgs::msg::Quaternion & | orientation () const |
This function returns a constant reference to member orientation | |
eProsima_user_DllExport void | orientation (const geometry_msgs::msg::Quaternion &_orientation) |
This function copies the value in member orientation | |
eProsima_user_DllExport void | orientation (geometry_msgs::msg::Quaternion &&_orientation) |
This function moves the value in member orientation | |
eProsima_user_DllExport sensor_msgs::msg::sensor_msgs__Imu__double_array_9 & | orientation_covariance () |
This function returns a reference to member orientation_covariance | |
eProsima_user_DllExport const sensor_msgs::msg::sensor_msgs__Imu__double_array_9 & | orientation_covariance () const |
This function returns a constant reference to member orientation_covariance | |
eProsima_user_DllExport void | orientation_covariance (const sensor_msgs::msg::sensor_msgs__Imu__double_array_9 &_orientation_covariance) |
This function copies the value in member orientation_covariance | |
eProsima_user_DllExport void | orientation_covariance (sensor_msgs::msg::sensor_msgs__Imu__double_array_9 &&_orientation_covariance) |
This function moves the value in member orientation_covariance | |
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 | ~Imu () |
Default destructor. | |
静态 Public 成员函数 | |
static eProsima_user_DllExport size_t | getCdrSerializedSize (const sensor_msgs::msg::Imu &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 | |
sensor_msgs::msg::Imu::Imu | ( | ) |
Default constructor.
引用了 m_angular_velocity_covariance, m_linear_acceleration_covariance , 以及 m_orientation_covariance.
sensor_msgs::msg::Imu::Imu | ( | const Imu & | x | ) |
Copy constructor.
x | Reference to the object sensor_msgs::msg::Imu that will be copied. |
引用了 m_angular_velocity, m_angular_velocity_covariance, m_header, m_linear_acceleration, m_linear_acceleration_covariance, m_orientation , 以及 m_orientation_covariance.
|
noexcept |
Move constructor.
x | Reference to the object sensor_msgs::msg::Imu that will be copied. |
geometry_msgs::msg::Vector3 & sensor_msgs::msg::Imu::angular_velocity | ( | ) |
const geometry_msgs::msg::Vector3 & sensor_msgs::msg::Imu::angular_velocity | ( | ) | const |
void sensor_msgs::msg::Imu::angular_velocity | ( | const geometry_msgs::msg::Vector3 & | _angular_velocity | ) |
This function copies the value in member angular_velocity
_angular_velocity | New value to be copied in member angular_velocity |
被这些函数引用 getCdrSerializedSize().
void sensor_msgs::msg::Imu::angular_velocity | ( | geometry_msgs::msg::Vector3 && | _angular_velocity | ) |
sensor_msgs::msg::sensor_msgs__Imu__double_array_9 & sensor_msgs::msg::Imu::angular_velocity_covariance | ( | ) |
const sensor_msgs::msg::sensor_msgs__Imu__double_array_9 & sensor_msgs::msg::Imu::angular_velocity_covariance | ( | ) | const |
void sensor_msgs::msg::Imu::angular_velocity_covariance | ( | const sensor_msgs::msg::sensor_msgs__Imu__double_array_9 & | _angular_velocity_covariance | ) |
void sensor_msgs::msg::Imu::angular_velocity_covariance | ( | sensor_msgs::msg::sensor_msgs__Imu__double_array_9 && | _angular_velocity_covariance | ) |
void sensor_msgs::msg::Imu::deserialize | ( | eprosima::fastcdr::Cdr & | cdr | ) |
This function deserializes an object using CDR serialization.
cdr | CDR serialization object. |
被这些函数引用 sensor_msgs::msg::ImuPubSubType::deserialize().
|
static |
This function returns the serialized size of a data depending on the buffer alignment.
data | Data which is calculated its serialized size. |
current_alignment | Buffer alignment. |
引用了 angular_velocity(), geometry_msgs::msg::Quaternion::getCdrSerializedSize(), geometry_msgs::msg::Vector3::getCdrSerializedSize(), std_msgs::msg::Header::getCdrSerializedSize(), header(), linear_acceleration() , 以及 orientation().
被这些函数引用 sensor_msgs::msg::ImuPubSubType::getSerializedSizeProvider().
|
static |
This function returns the maximum serialized size of the Key of an object depending on the buffer alignment.
current_alignment | Buffer alignment. |
引用了 sensor_msgs_msg_Imu_max_key_cdr_typesize.
被这些函数引用 sensor_msgs::msg::ImuPubSubType::getKey() , 以及 sensor_msgs::msg::ImuPubSubType::ImuPubSubType().
|
static |
This function returns the maximum serialized size of an object depending on the buffer alignment.
current_alignment | Buffer alignment. |
引用了 sensor_msgs_msg_Imu_max_cdr_typesize.
被这些函数引用 sensor_msgs::msg::ImuPubSubType::ImuPubSubType().
std_msgs::msg::Header & sensor_msgs::msg::Imu::header | ( | ) |
const std_msgs::msg::Header & sensor_msgs::msg::Imu::header | ( | ) | const |
void sensor_msgs::msg::Imu::header | ( | const std_msgs::msg::Header & | _header | ) |
This function copies the value in member header
_header | New value to be copied in member header |
被这些函数引用 getCdrSerializedSize().
void sensor_msgs::msg::Imu::header | ( | std_msgs::msg::Header && | _header | ) |
|
static |
This function tells you if the Key has been defined for this type
被这些函数引用 sensor_msgs::msg::ImuPubSubType::ImuPubSubType().
geometry_msgs::msg::Vector3 & sensor_msgs::msg::Imu::linear_acceleration | ( | ) |
const geometry_msgs::msg::Vector3 & sensor_msgs::msg::Imu::linear_acceleration | ( | ) | const |
void sensor_msgs::msg::Imu::linear_acceleration | ( | const geometry_msgs::msg::Vector3 & | _linear_acceleration | ) |
This function copies the value in member linear_acceleration
_linear_acceleration | New value to be copied in member linear_acceleration |
被这些函数引用 getCdrSerializedSize().
void sensor_msgs::msg::Imu::linear_acceleration | ( | geometry_msgs::msg::Vector3 && | _linear_acceleration | ) |
sensor_msgs::msg::sensor_msgs__Imu__double_array_9 & sensor_msgs::msg::Imu::linear_acceleration_covariance | ( | ) |
const sensor_msgs::msg::sensor_msgs__Imu__double_array_9 & sensor_msgs::msg::Imu::linear_acceleration_covariance | ( | ) | const |
void sensor_msgs::msg::Imu::linear_acceleration_covariance | ( | const sensor_msgs::msg::sensor_msgs__Imu__double_array_9 & | _linear_acceleration_covariance | ) |
void sensor_msgs::msg::Imu::linear_acceleration_covariance | ( | sensor_msgs::msg::sensor_msgs__Imu__double_array_9 && | _linear_acceleration_covariance | ) |
bool sensor_msgs::msg::Imu::operator!= | ( | const Imu & | x | ) | const |
sensor_msgs::msg::Imu & sensor_msgs::msg::Imu::operator= | ( | const Imu & | x | ) |
Copy assignment.
x | Reference to the object sensor_msgs::msg::Imu that will be copied. |
引用了 m_angular_velocity, m_angular_velocity_covariance, m_header, m_linear_acceleration, m_linear_acceleration_covariance, m_orientation , 以及 m_orientation_covariance.
|
noexcept |
Move assignment.
x | Reference to the object sensor_msgs::msg::Imu that will be copied. |
bool sensor_msgs::msg::Imu::operator== | ( | const Imu & | x | ) | const |
Comparison operator.
x | sensor_msgs::msg::Imu object to compare. |
引用了 m_angular_velocity, m_angular_velocity_covariance, m_header, m_linear_acceleration, m_linear_acceleration_covariance, m_orientation , 以及 m_orientation_covariance.
geometry_msgs::msg::Quaternion & sensor_msgs::msg::Imu::orientation | ( | ) |
const geometry_msgs::msg::Quaternion & sensor_msgs::msg::Imu::orientation | ( | ) | const |
void sensor_msgs::msg::Imu::orientation | ( | const geometry_msgs::msg::Quaternion & | _orientation | ) |
This function copies the value in member orientation
_orientation | New value to be copied in member orientation |
被这些函数引用 getCdrSerializedSize().
void sensor_msgs::msg::Imu::orientation | ( | geometry_msgs::msg::Quaternion && | _orientation | ) |
sensor_msgs::msg::sensor_msgs__Imu__double_array_9 & sensor_msgs::msg::Imu::orientation_covariance | ( | ) |
const sensor_msgs::msg::sensor_msgs__Imu__double_array_9 & sensor_msgs::msg::Imu::orientation_covariance | ( | ) | const |
void sensor_msgs::msg::Imu::orientation_covariance | ( | const sensor_msgs::msg::sensor_msgs__Imu__double_array_9 & | _orientation_covariance | ) |
void sensor_msgs::msg::Imu::orientation_covariance | ( | sensor_msgs::msg::sensor_msgs__Imu__double_array_9 && | _orientation_covariance | ) |
void sensor_msgs::msg::Imu::serialize | ( | eprosima::fastcdr::Cdr & | cdr | ) | const |
This function serializes an object using CDR serialization.
cdr | CDR serialization object. |
被这些函数引用 sensor_msgs::msg::ImuPubSubType::serialize().
void sensor_msgs::msg::Imu::serializeKey | ( | eprosima::fastcdr::Cdr & | cdr | ) | const |
This function serializes the key members of an object using CDR serialization.
cdr | CDR serialization object. |
被这些函数引用 sensor_msgs::msg::ImuPubSubType::getKey().
|
private |
被这些函数引用 Imu(), operator=() , 以及 operator==().
|
private |
被这些函数引用 Imu(), Imu(), operator=() , 以及 operator==().
|
private |
被这些函数引用 Imu(), operator=() , 以及 operator==().
|
private |
被这些函数引用 Imu(), operator=() , 以及 operator==().
|
private |
被这些函数引用 Imu(), Imu(), operator=() , 以及 operator==().
|
private |
被这些函数引用 Imu(), operator=() , 以及 operator==().
|
private |
被这些函数引用 Imu(), Imu(), operator=() , 以及 operator==().