All messages and helper functions. More...
Namespaces | |
gazebo::msgs | |
Messages namespace. | |
Classes | |
class | GazeboGenerator |
Google protobuf message generator for gazebo::msgs. More... | |
class | MsgFactory |
A factory that generates protobuf message based on a string type. More... | |
Macros | |
#define | GZ_REGISTER_STATIC_MSG(_msgtype, _classname) |
Static message registration macro. More... | |
Functions | |
GAZEBO_VISIBLE void | AddBoxLink (msgs::Model &_model, const double _mass, const ignition::math::Vector3d &_size) |
Add a simple box link to a Model message. More... | |
GAZEBO_VISIBLE void | AddCylinderLink (msgs::Model &_model, const double _mass, const double _radius, const double _length) |
Add a simple cylinder link to a Model message. More... | |
GAZEBO_VISIBLE void | AddLinkGeom (Model &_msg, const Geometry &_geom) |
Add a link with a collision and visual of specified geometry to a model message. More... | |
GAZEBO_VISIBLE void | AddSphereLink (msgs::Model &_model, const double _mass, const double _radius) |
Add a simple sphere link to a Model message. More... | |
GAZEBO_VISIBLE msgs::Axis | AxisFromSDF (sdf::ElementPtr _sdf) |
Create a msgs::Axis from an axis SDF element. More... | |
GAZEBO_VISIBLE msgs::CameraSensor | CameraSensorFromSDF (sdf::ElementPtr _sdf) |
Create a msgs::CameraSensor from a camera sensor SDF element. More... | |
GAZEBO_VISIBLE sdf::ElementPtr | CameraSensorToSDF (const msgs::CameraSensor &_msg, sdf::ElementPtr _sdf=sdf::ElementPtr()) |
Create or update an SDF element from a msgs::CameraSensor. More... | |
GAZEBO_VISIBLE msgs::Collision | CollisionFromSDF (sdf::ElementPtr _sdf) |
Create a msgs::Collision from a collision SDF element. More... | |
GAZEBO_VISIBLE sdf::ElementPtr | CollisionToSDF (const msgs::Collision &_msg, sdf::ElementPtr _sdf=sdf::ElementPtr()) |
Create or update an SDF element from a msgs::Collision. More... | |
GAZEBO_VISIBLE msgs::ContactSensor | ContactSensorFromSDF (sdf::ElementPtr _sdf) |
Create a msgs::ContactSensor from a contact sensor SDF element. More... | |
GAZEBO_VISIBLE msgs::Vector3d | Convert (const ignition::math::Vector3d &_v) |
Convert a ignition::math::Vector3 to a msgs::Vector3d. More... | |
GAZEBO_VISIBLE msgs::Vector2d | Convert (const ignition::math::Vector2d &_v) |
Convert a ignition::math::Vector2d to a msgs::Vector2d. More... | |
GAZEBO_VISIBLE msgs::Quaternion | Convert (const ignition::math::Quaterniond &_q) |
Convert a ignition::math::Quaternion to a msgs::Quaternion. More... | |
GAZEBO_VISIBLE msgs::Pose | Convert (const ignition::math::Pose3d &_p) |
Convert a ignition::math::Pose to a msgs::Pose. More... | |
GAZEBO_VISIBLE msgs::Color | Convert (const common::Color &_c) |
Convert a common::Color to a msgs::Color. More... | |
GAZEBO_VISIBLE msgs::Time | Convert (const common::Time &_t) |
Convert a common::Time to a msgs::Time. More... | |
GAZEBO_VISIBLE msgs::PlaneGeom | Convert (const ignition::math::Planed &_p) |
Convert a ignition::math::Planed to a msgs::PlaneGeom. More... | |
GAZEBO_VISIBLE common::Color | Convert (const msgs::Color &_c) |
Convert a msgs::Color to a common::Color. More... | |
GAZEBO_VISIBLE common::Time | Convert (const msgs::Time &_t) |
Convert a msgs::Time to a common::Time. More... | |
GAZEBO_VISIBLE msgs::Geometry::Type | ConvertGeometryType (const std::string &_str) |
Convert a string to a msgs::Geometry::Type enum. More... | |
GAZEBO_VISIBLE std::string | ConvertGeometryType (const msgs::Geometry::Type _type) |
Convert a msgs::Geometry::Type to a string. More... | |
GAZEBO_VISIBLE ignition::math::Vector3d | ConvertIgn (const msgs::Vector3d &_v) |
Convert a msgs::Vector3d to an ignition::math::Vector. More... | |
GAZEBO_VISIBLE ignition::math::Vector2d | ConvertIgn (const msgs::Vector2d &_v) |
Convert a msgs::Vector2d to an ignition::math::Vector2d. More... | |
GAZEBO_VISIBLE ignition::math::Quaterniond | ConvertIgn (const msgs::Quaternion &_q) |
Convert a msgs::Quaternion to an ignition::math::Quaternion. More... | |
GAZEBO_VISIBLE ignition::math::Pose3d | ConvertIgn (const msgs::Pose &_p) |
Convert a msgs::Pose to an ignition::math::Pose. More... | |
GAZEBO_VISIBLE ignition::math::Planed | ConvertIgn (const msgs::PlaneGeom &_p) |
Convert a msgs::PlaneGeom to an ignition::math::Planed. More... | |
GAZEBO_VISIBLE msgs::Joint::Type | ConvertJointType (const std::string &_str) |
Convert a string to a msgs::Joint::Type enum. More... | |
GAZEBO_VISIBLE std::string | ConvertJointType (const msgs::Joint::Type &_type) |
Convert a msgs::Joint::Type to a string. More... | |
GAZEBO_VISIBLE msgs::Material::ShaderType | ConvertShaderType (const std::string &_str) |
Convert a string to a msgs::Material::ShaderType enum. More... | |
GAZEBO_VISIBLE std::string | ConvertShaderType (const msgs::Material::ShaderType &_type) |
Convert a msgs::ShaderType to a string. More... | |
GAZEBO_VISIBLE msgs::Request * | CreateRequest (const std::string &_request, const std::string &_data="") |
Create a request message. More... | |
GAZEBO_VISIBLE msgs::Fog | FogFromSDF (sdf::ElementPtr _sdf) |
Create a msgs::Fog from a fog SDF element. More... | |
GAZEBO_VISIBLE msgs::Friction | FrictionFromSDF (sdf::ElementPtr _sdf) |
Create a msgs::Friction from a friction SDF element. More... | |
GAZEBO_VISIBLE msgs::Geometry | GeometryFromSDF (sdf::ElementPtr _sdf) |
Create a msgs::Geometry from a geometry SDF element. More... | |
GAZEBO_VISIBLE sdf::ElementPtr | GeometryToSDF (const msgs::Geometry &_msg, sdf::ElementPtr _sdf=sdf::ElementPtr()) |
Create or update an SDF element from a msgs::Geometry If _sdf is supplied and the _msg has non-empty repeated elements, any existing sdf elements will be removed from _sdf prior to adding the new elements from _msg. More... | |
GAZEBO_VISIBLE msgs::Header * | GetHeader (google::protobuf::Message &_message) |
Get the header from a protobuf message. More... | |
GAZEBO_VISIBLE msgs::GUI | GUIFromSDF (sdf::ElementPtr _sdf) |
Create a msgs::GUI from a GUI SDF element. More... | |
GAZEBO_VISIBLE sdf::ElementPtr | InertialToSDF (const msgs::Inertial &_msg, sdf::ElementPtr _sdf=sdf::ElementPtr()) |
Create or update an SDF element from a msgs::Inertial. More... | |
GAZEBO_VISIBLE void | Init (google::protobuf::Message &_message, const std::string &_id="") |
Initialize a message. More... | |
GAZEBO_VISIBLE msgs::Joint | JointFromSDF (sdf::ElementPtr _sdf) |
Create a msgs::Joint from a joint SDF element. More... | |
GAZEBO_VISIBLE sdf::ElementPtr | JointToSDF (const msgs::Joint &_msg, sdf::ElementPtr _sdf=sdf::ElementPtr()) |
Create or update an SDF element from msgs::Joint. More... | |
GAZEBO_VISIBLE msgs::Light | LightFromSDF (sdf::ElementPtr _sdf) |
Create a msgs::Light from a light SDF element. More... | |
GAZEBO_VISIBLE sdf::ElementPtr | LightToSDF (const msgs::Light &_msg, sdf::ElementPtr _sdf=sdf::ElementPtr()) |
Create or update an SDF element from a msgs::Light. More... | |
GAZEBO_VISIBLE sdf::ElementPtr | LinkToSDF (const msgs::Link &_msg, sdf::ElementPtr _sdf=sdf::ElementPtr()) |
Create or update an SDF element from a msgs::Link. More... | |
GAZEBO_VISIBLE sdf::ElementPtr | MaterialToSDF (const msgs::Material &_msg, sdf::ElementPtr _sdf=sdf::ElementPtr()) |
Create or update an SDF element from a msgs::Material If _sdf is supplied and _msg has script uri's the <uri> elements will be removed from _sdf. More... | |
GAZEBO_VISIBLE msgs::MeshGeom | MeshFromSDF (sdf::ElementPtr _sdf) |
Create a msgs::MeshGeom from a mesh SDF element. More... | |
GAZEBO_VISIBLE sdf::ElementPtr | MeshToSDF (const msgs::MeshGeom &_msg, sdf::ElementPtr _sdf=sdf::ElementPtr()) |
Create or update an SDF element from a msgs::Mesh. More... | |
GAZEBO_VISIBLE sdf::ElementPtr | ModelToSDF (const msgs::Model &_msg, sdf::ElementPtr _sdf=sdf::ElementPtr()) |
Create or update an SDF element from msgs::Model. More... | |
GAZEBO_VISIBLE msgs::Plugin | PluginFromSDF (const sdf::ElementPtr _sdf) |
Create a msgs::Plugin from a plugin SDF element. More... | |
GAZEBO_VISIBLE sdf::ElementPtr | PluginToSDF (const msgs::Plugin &_plugin, sdf::ElementPtr _sdf=sdf::ElementPtr()) |
Create or update an SDF element from a msgs::Plugin. More... | |
GAZEBO_VISIBLE msgs::RaySensor | RaySensorFromSDF (sdf::ElementPtr _sdf) |
Create a msgs::RaySensor from a ray sensor SDF element. More... | |
GAZEBO_VISIBLE msgs::Scene | SceneFromSDF (sdf::ElementPtr _sdf) |
Create a msgs::Scene from a scene SDF element. More... | |
GAZEBO_VISIBLE msgs::Sensor | SensorFromSDF (sdf::ElementPtr _sdf) |
Create a msgs::Sensor from a sensor SDF element. More... | |
GAZEBO_VISIBLE void | Set (common::Image &_img, const msgs::Image &_msg) |
Convert a msgs::Image to a common::Image. More... | |
GAZEBO_VISIBLE void | Set (msgs::Image *_msg, const common::Image &_i) |
Set a msgs::Image from a common::Image. More... | |
GAZEBO_VISIBLE void | Set (msgs::Vector3d *_pt, const ignition::math::Vector3d &_v) |
Set a msgs::Vector3d from an ignition::math::Vector3d. More... | |
GAZEBO_VISIBLE void | Set (msgs::Vector2d *_pt, const ignition::math::Vector2d &_v) |
Set a msgs::Vector2d from an ignition::math::Vector2d. More... | |
GAZEBO_VISIBLE void | Set (msgs::Quaternion *_q, const ignition::math::Quaterniond &_v) |
Set a msgs::Quaternion from an ignition::math::Quaterniond. More... | |
GAZEBO_VISIBLE void | Set (msgs::Pose *_p, const ignition::math::Pose3d &_v) |
Set a msgs::Pose from an ignition::math::Pose3d. More... | |
GAZEBO_VISIBLE void | Set (msgs::Color *_c, const common::Color &_v) |
Set a msgs::Color from a common::Color. More... | |
GAZEBO_VISIBLE void | Set (msgs::Time *_t, const common::Time &_v) |
Set a msgs::Time from a common::Time. More... | |
GAZEBO_VISIBLE void | Set (msgs::SphericalCoordinates *_s, const common::SphericalCoordinates &_v) |
Set a msgs::SphericalCoordinates from a common::SphericalCoordinates object. More... | |
GAZEBO_VISIBLE void | Set (msgs::PlaneGeom *_p, const ignition::math::Planed &_v) |
Set a msgs::Plane from an ignition::math::Planed. More... | |
GAZEBO_VISIBLE void | Stamp (msgs::Header *_header) |
Time stamp a header. More... | |
GAZEBO_VISIBLE void | Stamp (msgs::Time *_time) |
Set the time in a time message. More... | |
GAZEBO_VISIBLE msgs::Surface | SurfaceFromSDF (sdf::ElementPtr _sdf) |
Create a msgs::Surface from a surface SDF element. More... | |
GAZEBO_VISIBLE sdf::ElementPtr | SurfaceToSDF (const msgs::Surface &_msg, sdf::ElementPtr _sdf=sdf::ElementPtr()) |
Create or update an SDF element from a msgs::Surface. More... | |
GAZEBO_VISIBLE msgs::TrackVisual | TrackVisualFromSDF (sdf::ElementPtr _sdf) |
Create a msgs::TrackVisual from a track visual SDF element. More... | |
GAZEBO_VISIBLE msgs::Visual | VisualFromSDF (sdf::ElementPtr _sdf) |
Create a msgs::Visual from a visual SDF element. More... | |
GAZEBO_VISIBLE sdf::ElementPtr | VisualToSDF (const msgs::Visual &_msg, sdf::ElementPtr _sdf=sdf::ElementPtr()) |
Create or update an SDF element from a msgs::Visual. More... | |
All messages and helper functions.
#define GZ_REGISTER_STATIC_MSG | ( | _msgtype, | |
_classname | |||
) |
Static message registration macro.
Use this macro to register messages.
[in] | _msgtype | Message type name. |
[in] | _classname | Class name for message. |
GAZEBO_VISIBLE void gazebo::msgs::AddBoxLink | ( | msgs::Model & | _model, |
const double | _mass, | ||
const ignition::math::Vector3d & | _size | ||
) |
Add a simple box link to a Model message.
The size and mass of the box are specified, and a single collision is added, along with an inertial block corresponding to a box of uniform density.
[out] | _model | The msgs::Model to which the link is added. |
[in] | _mass | Mass of the box. |
[in] | _size | Size of the box. |
GAZEBO_VISIBLE void gazebo::msgs::AddCylinderLink | ( | msgs::Model & | _model, |
const double | _mass, | ||
const double | _radius, | ||
const double | _length | ||
) |
Add a simple cylinder link to a Model message.
The radius, length, and mass of the cylinder are specified, and a single collision is added, along with an inertial block corresponding to a cylinder of uniform density with an axis of symmetry along the Z axis.
[out] | _model | The msgs::Model to which the link is added. |
[in] | _mass | Mass of the cylinder. |
[in] | _radius | Radius of the cylinder. |
[in] | _length | Length of the cylinder. |
GAZEBO_VISIBLE void gazebo::msgs::AddLinkGeom | ( | Model & | _msg, |
const Geometry & | _geom | ||
) |
Add a link with a collision and visual of specified geometry to a model message.
It does not set any inertial values.
[out] | _model | The msgs::Model object to receive a new link. |
[in] | _geom | Geometry to be added to collision and visual. |
GAZEBO_VISIBLE void gazebo::msgs::AddSphereLink | ( | msgs::Model & | _model, |
const double | _mass, | ||
const double | _radius | ||
) |
Add a simple sphere link to a Model message.
The size and mass of the sphere are specified, and a single collision is added, along with an inertial block corresponding to a sphere of uniform density.
[out] | _model | The msgs::Model to which the link is added. |
[in] | _mass | Mass of the sphere. |
[in] | _radius | Radius of the sphere. |
GAZEBO_VISIBLE msgs::Axis gazebo::msgs::AxisFromSDF | ( | sdf::ElementPtr | _sdf | ) |
Create a msgs::Axis from an axis SDF element.
[in] | _sdf | The sdf element |
GAZEBO_VISIBLE msgs::CameraSensor gazebo::msgs::CameraSensorFromSDF | ( | sdf::ElementPtr | _sdf | ) |
Create a msgs::CameraSensor from a camera sensor SDF element.
[in] | _sdf | The camera sensor sdf element |
GAZEBO_VISIBLE sdf::ElementPtr gazebo::msgs::CameraSensorToSDF | ( | const msgs::CameraSensor & | _msg, |
sdf::ElementPtr | _sdf = sdf::ElementPtr() |
||
) |
Create or update an SDF element from a msgs::CameraSensor.
[in] | _msg | CameraSensor messsage |
[in] | _sdf | if supplied, performs an update from _msg instead of creating a new sdf element. |
GAZEBO_VISIBLE msgs::Collision gazebo::msgs::CollisionFromSDF | ( | sdf::ElementPtr | _sdf | ) |
Create a msgs::Collision from a collision SDF element.
[in] | _sdf | The sdf element |
GAZEBO_VISIBLE sdf::ElementPtr gazebo::msgs::CollisionToSDF | ( | const msgs::Collision & | _msg, |
sdf::ElementPtr | _sdf = sdf::ElementPtr() |
||
) |
Create or update an SDF element from a msgs::Collision.
[in] | _msg | Collision messsage |
[in] | _sdf | if supplied, performs an update from _msg instead of creating a new sdf element. |
GAZEBO_VISIBLE msgs::ContactSensor gazebo::msgs::ContactSensorFromSDF | ( | sdf::ElementPtr | _sdf | ) |
Create a msgs::ContactSensor from a contact sensor SDF element.
[in] | _sdf | The contact sensor sdf element |
GAZEBO_VISIBLE msgs::Vector3d gazebo::msgs::Convert | ( | const ignition::math::Vector3d & | _v | ) |
Convert a ignition::math::Vector3 to a msgs::Vector3d.
[in] | _v | The vector to convert |
GAZEBO_VISIBLE msgs::Vector2d gazebo::msgs::Convert | ( | const ignition::math::Vector2d & | _v | ) |
Convert a ignition::math::Vector2d to a msgs::Vector2d.
[in] | _v | The vector to convert |
GAZEBO_VISIBLE msgs::Quaternion gazebo::msgs::Convert | ( | const ignition::math::Quaterniond & | _q | ) |
Convert a ignition::math::Quaternion to a msgs::Quaternion.
[in] | _q | The quaternion to convert |
GAZEBO_VISIBLE msgs::Pose gazebo::msgs::Convert | ( | const ignition::math::Pose3d & | _p | ) |
Convert a ignition::math::Pose to a msgs::Pose.
[in] | _p | The pose to convert |
GAZEBO_VISIBLE msgs::Color gazebo::msgs::Convert | ( | const common::Color & | _c | ) |
Convert a common::Color to a msgs::Color.
[in] | _c | The color to convert |
GAZEBO_VISIBLE msgs::Time gazebo::msgs::Convert | ( | const common::Time & | _t | ) |
Convert a common::Time to a msgs::Time.
[in] | _t | The time to convert |
GAZEBO_VISIBLE msgs::PlaneGeom gazebo::msgs::Convert | ( | const ignition::math::Planed & | _p | ) |
Convert a ignition::math::Planed to a msgs::PlaneGeom.
[in] | _p | The plane to convert |
GAZEBO_VISIBLE common::Color gazebo::msgs::Convert | ( | const msgs::Color & | _c | ) |
Convert a msgs::Color to a common::Color.
[in] | _c | The color to convert |
GAZEBO_VISIBLE common::Time gazebo::msgs::Convert | ( | const msgs::Time & | _t | ) |
Convert a msgs::Time to a common::Time.
[in] | _t | The time to convert |
GAZEBO_VISIBLE msgs::Geometry::Type gazebo::msgs::ConvertGeometryType | ( | const std::string & | _str | ) |
Convert a string to a msgs::Geometry::Type enum.
[in] | _str | Geometry type string. |
GAZEBO_VISIBLE std::string gazebo::msgs::ConvertGeometryType | ( | const msgs::Geometry::Type | _type | ) |
Convert a msgs::Geometry::Type to a string.
[in] | _type | A msgs::Geometry::Type enum. |
GAZEBO_VISIBLE ignition::math::Vector3d gazebo::msgs::ConvertIgn | ( | const msgs::Vector3d & | _v | ) |
Convert a msgs::Vector3d to an ignition::math::Vector.
[in] | _v | The plane to convert |
GAZEBO_VISIBLE ignition::math::Vector2d gazebo::msgs::ConvertIgn | ( | const msgs::Vector2d & | _v | ) |
Convert a msgs::Vector2d to an ignition::math::Vector2d.
[in] | _v | The vector2 to convert |
GAZEBO_VISIBLE ignition::math::Quaterniond gazebo::msgs::ConvertIgn | ( | const msgs::Quaternion & | _q | ) |
Convert a msgs::Quaternion to an ignition::math::Quaternion.
[in] | _q | The quaternion to convert |
GAZEBO_VISIBLE ignition::math::Pose3d gazebo::msgs::ConvertIgn | ( | const msgs::Pose & | _p | ) |
Convert a msgs::Pose to an ignition::math::Pose.
[in] | _q | The pose to convert |
GAZEBO_VISIBLE ignition::math::Planed gazebo::msgs::ConvertIgn | ( | const msgs::PlaneGeom & | _p | ) |
Convert a msgs::PlaneGeom to an ignition::math::Planed.
[in] | _p | The plane to convert |
GAZEBO_VISIBLE msgs::Joint::Type gazebo::msgs::ConvertJointType | ( | const std::string & | _str | ) |
Convert a string to a msgs::Joint::Type enum.
[in] | _str | Joint type string. |
GAZEBO_VISIBLE std::string gazebo::msgs::ConvertJointType | ( | const msgs::Joint::Type & | _type | ) |
Convert a msgs::Joint::Type to a string.
[in] | _type | A msgs::Joint::Type enum. |
GAZEBO_VISIBLE msgs::Material::ShaderType gazebo::msgs::ConvertShaderType | ( | const std::string & | _str | ) |
Convert a string to a msgs::Material::ShaderType enum.
[in] | _str | Shader type string. |
GAZEBO_VISIBLE std::string gazebo::msgs::ConvertShaderType | ( | const msgs::Material::ShaderType & | _type | ) |
Convert a msgs::ShaderType to a string.
[in] | _type | A msgs::ShaderType enum. |
GAZEBO_VISIBLE msgs::Request* gazebo::msgs::CreateRequest | ( | const std::string & | _request, |
const std::string & | _data = "" |
||
) |
Create a request message.
[in] | _request | Request string |
[in] | _data | Optional data string |
GAZEBO_VISIBLE msgs::Fog gazebo::msgs::FogFromSDF | ( | sdf::ElementPtr | _sdf | ) |
Create a msgs::Fog from a fog SDF element.
[in] | _sdf | The sdf element |
GAZEBO_VISIBLE msgs::Friction gazebo::msgs::FrictionFromSDF | ( | sdf::ElementPtr | _sdf | ) |
Create a msgs::Friction from a friction SDF element.
[in] | _sdf | The sdf element |
GAZEBO_VISIBLE msgs::Geometry gazebo::msgs::GeometryFromSDF | ( | sdf::ElementPtr | _sdf | ) |
Create a msgs::Geometry from a geometry SDF element.
[in] | _sdf | The sdf element |
GAZEBO_VISIBLE sdf::ElementPtr gazebo::msgs::GeometryToSDF | ( | const msgs::Geometry & | _msg, |
sdf::ElementPtr | _sdf = sdf::ElementPtr() |
||
) |
Create or update an SDF element from a msgs::Geometry If _sdf is supplied and the _msg has non-empty repeated elements, any existing sdf elements will be removed from _sdf prior to adding the new elements from _msg.
[in] | _msg | Geometry messsage |
[in] | _sdf | if supplied, performs an update from _msg instead of creating a new sdf element. |
GAZEBO_VISIBLE msgs::Header* gazebo::msgs::GetHeader | ( | google::protobuf::Message & | _message | ) |
Get the header from a protobuf message.
[in] | _message | A google protobuf message |
GAZEBO_VISIBLE msgs::GUI gazebo::msgs::GUIFromSDF | ( | sdf::ElementPtr | _sdf | ) |
Create a msgs::GUI from a GUI SDF element.
[in] | _sdf | The sdf element |
GAZEBO_VISIBLE sdf::ElementPtr gazebo::msgs::InertialToSDF | ( | const msgs::Inertial & | _msg, |
sdf::ElementPtr | _sdf = sdf::ElementPtr() |
||
) |
Create or update an SDF element from a msgs::Inertial.
[in] | _msg | Inertial messsage |
[in] | _sdf | if supplied, performs an update from _msg instead of creating a new sdf element. |
GAZEBO_VISIBLE void gazebo::msgs::Init | ( | google::protobuf::Message & | _message, |
const std::string & | _id = "" |
||
) |
Initialize a message.
[in] | _message | Message to initialize |
[in] | _id | Optional string id |
Referenced by FixedJoint< BulletJoint >::Init(), HingeJoint< BulletJoint >::Init(), BallJoint< BulletJoint >::Init(), UniversalJoint< BulletJoint >::Init(), GearboxJoint< ODEJoint >::Init(), and ScrewJoint< BulletJoint >::Init().
GAZEBO_VISIBLE msgs::Joint gazebo::msgs::JointFromSDF | ( | sdf::ElementPtr | _sdf | ) |
Create a msgs::Joint from a joint SDF element.
[in] | _sdf | The sdf element |
GAZEBO_VISIBLE sdf::ElementPtr gazebo::msgs::JointToSDF | ( | const msgs::Joint & | _msg, |
sdf::ElementPtr | _sdf = sdf::ElementPtr() |
||
) |
Create or update an SDF element from msgs::Joint.
[in] | _msg | The msgs::Joint object. |
[in] | _sdf | if supplied, performs an update from _sdf instead of creating a new sdf element. |
GAZEBO_VISIBLE msgs::Light gazebo::msgs::LightFromSDF | ( | sdf::ElementPtr | _sdf | ) |
Create a msgs::Light from a light SDF element.
[in] | _sdf | The sdf element |
GAZEBO_VISIBLE sdf::ElementPtr gazebo::msgs::LightToSDF | ( | const msgs::Light & | _msg, |
sdf::ElementPtr | _sdf = sdf::ElementPtr() |
||
) |
Create or update an SDF element from a msgs::Light.
[in] | _msg | Light messsage |
[in] | _sdf | if supplied, performs an update from _msg instead of creating a new sdf element. |
GAZEBO_VISIBLE sdf::ElementPtr gazebo::msgs::LinkToSDF | ( | const msgs::Link & | _msg, |
sdf::ElementPtr | _sdf = sdf::ElementPtr() |
||
) |
Create or update an SDF element from a msgs::Link.
If _sdf is supplied and _msg has any collisions or visuals, the <collision> and <visual> elements will be removed from _sdf.
[in] | _msg | Link messsage |
[in] | _sdf | if supplied, performs an update from _msg instead of creating a new sdf element. |
GAZEBO_VISIBLE sdf::ElementPtr gazebo::msgs::MaterialToSDF | ( | const msgs::Material & | _msg, |
sdf::ElementPtr | _sdf = sdf::ElementPtr() |
||
) |
Create or update an SDF element from a msgs::Material If _sdf is supplied and _msg has script uri's the <uri> elements will be removed from _sdf.
[in] | _msg | Material messsage |
[in] | _sdf | if supplied, performs an update from _msg instead of creating a new sdf element. |
GAZEBO_VISIBLE msgs::MeshGeom gazebo::msgs::MeshFromSDF | ( | sdf::ElementPtr | _sdf | ) |
Create a msgs::MeshGeom from a mesh SDF element.
[in] | _sdf | The sdf element |
GAZEBO_VISIBLE sdf::ElementPtr gazebo::msgs::MeshToSDF | ( | const msgs::MeshGeom & | _msg, |
sdf::ElementPtr | _sdf = sdf::ElementPtr() |
||
) |
Create or update an SDF element from a msgs::Mesh.
[in] | _msg | Mesh messsage |
[in] | _sdf | if supplied, performs an update from _msg instead of creating a new sdf element. |
GAZEBO_VISIBLE sdf::ElementPtr gazebo::msgs::ModelToSDF | ( | const msgs::Model & | _msg, |
sdf::ElementPtr | _sdf = sdf::ElementPtr() |
||
) |
Create or update an SDF element from msgs::Model.
If _sdf is supplied and _msg has any links or joints, the <link> and <joint> elements will be removed from _sdf.
[in] | _msg | The msgs::Model object. |
[in] | _sdf | if supplied, performs an update from _sdf instead of creating a new sdf element. |
GAZEBO_VISIBLE msgs::Plugin gazebo::msgs::PluginFromSDF | ( | const sdf::ElementPtr | _sdf | ) |
Create a msgs::Plugin from a plugin SDF element.
[in] | _sdf | The sdf element |
GAZEBO_VISIBLE sdf::ElementPtr gazebo::msgs::PluginToSDF | ( | const msgs::Plugin & | _plugin, |
sdf::ElementPtr | _sdf = sdf::ElementPtr() |
||
) |
Create or update an SDF element from a msgs::Plugin.
[in] | _msg | Plugin messsage |
[in] | _sdf | if supplied, performs an update from _msg instead of creating a new sdf element. |
GAZEBO_VISIBLE msgs::RaySensor gazebo::msgs::RaySensorFromSDF | ( | sdf::ElementPtr | _sdf | ) |
Create a msgs::RaySensor from a ray sensor SDF element.
[in] | _sdf | The ray sensor sdf element |
GAZEBO_VISIBLE msgs::Scene gazebo::msgs::SceneFromSDF | ( | sdf::ElementPtr | _sdf | ) |
Create a msgs::Scene from a scene SDF element.
[in] | _sdf | The sdf element |
GAZEBO_VISIBLE msgs::Sensor gazebo::msgs::SensorFromSDF | ( | sdf::ElementPtr | _sdf | ) |
Create a msgs::Sensor from a sensor SDF element.
[in] | _sdf | The sensor sdf element |
GAZEBO_VISIBLE void gazebo::msgs::Set | ( | common::Image & | _img, |
const msgs::Image & | _msg | ||
) |
Convert a msgs::Image to a common::Image.
[out] | _img | The common::Image container |
[in] | _msg | The Image message to convert |
GAZEBO_VISIBLE void gazebo::msgs::Set | ( | msgs::Image * | _msg, |
const common::Image & | _i | ||
) |
Set a msgs::Image from a common::Image.
[out] | _msg | A msgs::Image pointer |
[in] | _i | A common::Image reference |
GAZEBO_VISIBLE void gazebo::msgs::Set | ( | msgs::Vector3d * | _pt, |
const ignition::math::Vector3d & | _v | ||
) |
Set a msgs::Vector3d from an ignition::math::Vector3d.
[out] | _pt | A msgs::Vector3d pointer |
[in] | _v | An ignition::math::Vector3d reference |
GAZEBO_VISIBLE void gazebo::msgs::Set | ( | msgs::Vector2d * | _pt, |
const ignition::math::Vector2d & | _v | ||
) |
Set a msgs::Vector2d from an ignition::math::Vector2d.
[out] | _pt | A msgs::Vector2d pointer |
[in] | _v | An ignition::math::Vector2d reference |
GAZEBO_VISIBLE void gazebo::msgs::Set | ( | msgs::Quaternion * | _q, |
const ignition::math::Quaterniond & | _v | ||
) |
Set a msgs::Quaternion from an ignition::math::Quaterniond.
[out] | _q | A msgs::Quaternion pointer |
[in] | _v | An ignition::math::Quaterniond reference |
GAZEBO_VISIBLE void gazebo::msgs::Set | ( | msgs::Pose * | _p, |
const ignition::math::Pose3d & | _v | ||
) |
Set a msgs::Pose from an ignition::math::Pose3d.
[out] | _p | A msgs::Pose pointer |
[in] | _v | An ignition::math::Pose3d reference |
GAZEBO_VISIBLE void gazebo::msgs::Set | ( | msgs::Color * | _c, |
const common::Color & | _v | ||
) |
Set a msgs::Color from a common::Color.
[out] | _p | A msgs::Color pointer |
[in] | _v | A common::Color reference |
GAZEBO_VISIBLE void gazebo::msgs::Set | ( | msgs::Time * | _t, |
const common::Time & | _v | ||
) |
Set a msgs::Time from a common::Time.
[out] | _p | A msgs::Time pointer |
[in] | _v | A common::Time reference |
GAZEBO_VISIBLE void gazebo::msgs::Set | ( | msgs::SphericalCoordinates * | _s, |
const common::SphericalCoordinates & | _v | ||
) |
Set a msgs::SphericalCoordinates from a common::SphericalCoordinates object.
[out] | _p | A msgs::SphericalCoordinates pointer. |
[in] | _v | A common::SphericalCoordinates reference |
GAZEBO_VISIBLE void gazebo::msgs::Set | ( | msgs::PlaneGeom * | _p, |
const ignition::math::Planed & | _v | ||
) |
Set a msgs::Plane from an ignition::math::Planed.
[out] | _p | A msgs::Plane pointer |
[in] | _v | An ignition::math::Planed reference |
GAZEBO_VISIBLE void gazebo::msgs::Stamp | ( | msgs::Header * | _header | ) |
Time stamp a header.
[in] | _header | Header to stamp |
GAZEBO_VISIBLE void gazebo::msgs::Stamp | ( | msgs::Time * | _time | ) |
Set the time in a time message.
[in] | _time | A Time message |
GAZEBO_VISIBLE msgs::Surface gazebo::msgs::SurfaceFromSDF | ( | sdf::ElementPtr | _sdf | ) |
Create a msgs::Surface from a surface SDF element.
[in] | _sdf | The sdf element |
GAZEBO_VISIBLE sdf::ElementPtr gazebo::msgs::SurfaceToSDF | ( | const msgs::Surface & | _msg, |
sdf::ElementPtr | _sdf = sdf::ElementPtr() |
||
) |
Create or update an SDF element from a msgs::Surface.
[in] | _msg | Surface messsage |
[in] | _sdf | if supplied, performs an update from _msg instead of creating a new sdf element. |
GAZEBO_VISIBLE msgs::TrackVisual gazebo::msgs::TrackVisualFromSDF | ( | sdf::ElementPtr | _sdf | ) |
Create a msgs::TrackVisual from a track visual SDF element.
[in] | _sdf | The sdf element |
GAZEBO_VISIBLE msgs::Visual gazebo::msgs::VisualFromSDF | ( | sdf::ElementPtr | _sdf | ) |
Create a msgs::Visual from a visual SDF element.
[in] | _sdf | The sdf element |
GAZEBO_VISIBLE sdf::ElementPtr gazebo::msgs::VisualToSDF | ( | const msgs::Visual & | _msg, |
sdf::ElementPtr | _sdf = sdf::ElementPtr() |
||
) |
Create or update an SDF element from a msgs::Visual.
[in] | _msg | Visual messsage |
[in] | _sdf | if supplied, performs an update from _msg instead of creating a new sdf element. |