YARP
Yet Another Robot Platform
yarp::rosmsg::sensor_msgs::Imu Class Reference

#include <yarp/rosmsg/sensor_msgs/Imu.h>

+ Inheritance diagram for yarp::rosmsg::sensor_msgs::Imu:

Detailed Description

Definition at line 55 of file Imu.h.

Public Types

typedef yarp::os::idl::BareStyle< yarp::rosmsg::sensor_msgs::ImurosStyle
 
typedef yarp::os::idl::BottleStyle< yarp::rosmsg::sensor_msgs::ImubottleStyle
 

Public Member Functions

 Imu ()
 
void clear ()
 
bool readBare (yarp::os::ConnectionReader &connection) override
 
bool readBottle (yarp::os::ConnectionReader &connection) override
 
bool read (yarp::os::ConnectionReader &connection) override
 Read this object from a network connection. More...
 
bool writeBare (yarp::os::ConnectionWriter &connection) const override
 
bool writeBottle (yarp::os::ConnectionWriter &connection) const override
 
bool write (yarp::os::ConnectionWriter &connection) const override
 Write this object to a network connection. More...
 
yarp::os::Type getType () const override
 
- Public Member Functions inherited from yarp::os::idl::WirePortable
virtual bool read (yarp::os::idl::WireReader &reader)
 
virtual bool write (const yarp::os::idl::WireWriter &writer) const
 
- Public Member Functions inherited from yarp::os::PortReader
virtual ~PortReader ()
 Destructor. More...
 
virtual Type getReadType () const
 
- Public Member Functions inherited from yarp::os::PortWriter
virtual ~PortWriter ()
 Destructor. More...
 
virtual void onCompletion () const
 This is called when the port has finished all writing operations. More...
 
virtual void onCommencement () const
 This is called when the port is about to begin writing operations. More...
 
virtual yarp::os::Type getWriteType () const
 

Public Attributes

yarp::rosmsg::std_msgs::Header header
 
yarp::rosmsg::geometry_msgs::Quaternion orientation
 
std::vector< yarp::conf::float64_torientation_covariance
 
yarp::rosmsg::geometry_msgs::Vector3 angular_velocity
 
std::vector< yarp::conf::float64_tangular_velocity_covariance
 
yarp::rosmsg::geometry_msgs::Vector3 linear_acceleration
 
std::vector< yarp::conf::float64_tlinear_acceleration_covariance
 

Static Public Attributes

static constexpr const char * typeName = "sensor_msgs/Imu"
 
static constexpr const char * typeChecksum = "6a62c6daae103f4ff57a132d6f95cec2"
 
static constexpr const char * typeText
 

Additional Inherited Members

- Static Public Member Functions inherited from yarp::os::Portable
static bool copyPortable (PortWriter &writer, PortReader &reader)
 Copy one portable to another, via writing and reading. More...
 

Member Typedef Documentation

◆ bottleStyle

◆ rosStyle

Constructor & Destructor Documentation

◆ Imu()

yarp::rosmsg::sensor_msgs::Imu::Imu ( )
inline

Definition at line 66 of file Imu.h.

Member Function Documentation

◆ clear()

void yarp::rosmsg::sensor_msgs::Imu::clear ( )
inline

Definition at line 80 of file Imu.h.

◆ getType()

yarp::os::Type yarp::rosmsg::sensor_msgs::Imu::getType ( ) const
inlineoverridevirtual

Reimplemented from yarp::os::Portable.

Definition at line 397 of file Imu.h.

◆ read()

bool yarp::rosmsg::sensor_msgs::Imu::read ( yarp::os::ConnectionReader reader)
inlineoverridevirtual

Read this object from a network connection.

Override this for your particular class.

Parameters
readeran interface to the network connection for reading
Returns
true iff the object is successfully read

Implements yarp::os::Portable.

Definition at line 215 of file Imu.h.

◆ readBare()

bool yarp::rosmsg::sensor_msgs::Imu::readBare ( yarp::os::ConnectionReader connection)
inlineoverridevirtual

Reimplemented from yarp::os::idl::WirePortable.

Definition at line 107 of file Imu.h.

◆ readBottle()

bool yarp::rosmsg::sensor_msgs::Imu::readBottle ( yarp::os::ConnectionReader connection)
inlineoverridevirtual

Reimplemented from yarp::os::idl::WirePortable.

Definition at line 153 of file Imu.h.

◆ write()

bool yarp::rosmsg::sensor_msgs::Imu::write ( yarp::os::ConnectionWriter writer) const
inlineoverridevirtual

Write this object to a network connection.

Override this for your particular class. Be aware that depending on the nature of the connections a port has, and what protocol they use, and how efficient the YARP implementation is, this method may be called once, twice, or many times, as the result of a single call to Port::write

Parameters
writeran interface to the network connection for writing
Returns
true iff the object is successfully written

Implements yarp::os::Portable.

Definition at line 312 of file Imu.h.

◆ writeBare()

bool yarp::rosmsg::sensor_msgs::Imu::writeBare ( yarp::os::ConnectionWriter connection) const
inlineoverridevirtual

Reimplemented from yarp::os::idl::WirePortable.

Definition at line 221 of file Imu.h.

◆ writeBottle()

bool yarp::rosmsg::sensor_msgs::Imu::writeBottle ( yarp::os::ConnectionWriter connection) const
inlineoverridevirtual

Reimplemented from yarp::os::idl::WirePortable.

Definition at line 261 of file Imu.h.

Member Data Documentation

◆ angular_velocity

yarp::rosmsg::geometry_msgs::Vector3 yarp::rosmsg::sensor_msgs::Imu::angular_velocity

Definition at line 61 of file Imu.h.

◆ angular_velocity_covariance

std::vector<yarp::conf::float64_t> yarp::rosmsg::sensor_msgs::Imu::angular_velocity_covariance

Definition at line 62 of file Imu.h.

◆ header

yarp::rosmsg::std_msgs::Header yarp::rosmsg::sensor_msgs::Imu::header

Definition at line 58 of file Imu.h.

◆ linear_acceleration

yarp::rosmsg::geometry_msgs::Vector3 yarp::rosmsg::sensor_msgs::Imu::linear_acceleration

Definition at line 63 of file Imu.h.

◆ linear_acceleration_covariance

std::vector<yarp::conf::float64_t> yarp::rosmsg::sensor_msgs::Imu::linear_acceleration_covariance

Definition at line 64 of file Imu.h.

◆ orientation

yarp::rosmsg::geometry_msgs::Quaternion yarp::rosmsg::sensor_msgs::Imu::orientation

Definition at line 59 of file Imu.h.

◆ orientation_covariance

std::vector<yarp::conf::float64_t> yarp::rosmsg::sensor_msgs::Imu::orientation_covariance

Definition at line 60 of file Imu.h.

◆ typeChecksum

constexpr const char* yarp::rosmsg::sensor_msgs::Imu::typeChecksum = "6a62c6daae103f4ff57a132d6f95cec2"
static

Definition at line 327 of file Imu.h.

◆ typeName

constexpr const char* yarp::rosmsg::sensor_msgs::Imu::typeName = "sensor_msgs/Imu"
static

Definition at line 324 of file Imu.h.

◆ typeText

constexpr const char* yarp::rosmsg::sensor_msgs::Imu::typeText
static

Definition at line 330 of file Imu.h.


The documentation for this class was generated from the following file: