Utility.hh
Go to the documentation of this file.
Definition: axis_aligned_box.pb.h:85
Definition: boolean.pb.h:84
Definition: color.pb.h:84
Definition: double.pb.h:84
Definition: float.pb.h:84
Definition: fuel_metadata.pb.h:1181
Definition: inertial.pb.h:85
Definition: int32.pb.h:84
Definition: int64.pb.h:84
Definition: planegeom.pb.h:86
Definition: pointcloud_packed.pb.h:346
Definition: pose.pb.h:86
Definition: quaternion.pb.h:84
Definition: stringmsg.pb.h:84
Definition: uint32.pb.h:84
Definition: uint64.pb.h:84
Definition: vector2d.pb.h:84
Definition: vector3d.pb.h:84
msgs::Geometry::Type ConvertGeometryType(const std::string &_str)
Convert a string to a msgs::Geometry::Type enum.
void Set(msgs::Vector3d *_pt, const ignition::math::Vector3d &_v)
Set a msgs::Vector3d from an ignition::math::Vector3d.
ignition::math::Vector3d Convert(const msgs::Vector3d &_v)
Convert a msgs::Vector3d to an ignition::math::Vector.
msgs::Material::ShaderType ConvertShaderType(const std::string &_str)
Convert a string to a msgs::Material::ShaderType enum.
std::string ToString(const msgs::Discovery::Type &_t)
Convert a Discovery::Type to a string. This can be used for debugging purposes.
msgs::PixelFormatType ConvertPixelFormatType(const std::string &_str)
Convert a string to a msgs::PixelFormatType enum.
msgs::Joint::Type ConvertJointType(const std::string &_str)
Convert a string to a msgs::Joint::Type enum.
PointCloudPacked_Field_DataType
Definition: pointcloud_packed.pb.h:86
bool ConvertFuelMetadata(const std::string &_modelConfigStr, msgs::FuelMetadata &_meta)
Convert the contents of a model.config file, in the form of an XML string, to a FuelMetadata message.
void InitPointCloudPacked(msgs::PointCloudPacked &_msg, const std::string &_frameId, bool _memoryAligned, const std::vector< std::pair< std::string, msgs::PointCloudPacked::Field::DataType >> &_fields)
This function will set the header and field members of a PointCloudPacked message....