Classes | Namespaces | Functions
Messages

All messages and helper functions. More...

Classes

interface  Axis
 Axis message. More...
interface  BoxGeom
 Information about a box geometry. More...
interface  CameraSensor
 Information about a camera sensor element. More...
interface  Collision
 Information about a collision element. More...
interface  Color
 Color message. More...
interface  ContactSensor
 Information about a contact sensor element. More...
interface  CylinderGeom
 Information about a cylinder geometry. More...
interface  Factory
 Message to create new model in gazebo. More...
interface  Frction
 Information about friction. More...
interface  Geometry
 Information about a geometry element. More...
interface  GUI
 Message for a GUI. More...
interface  Header
 General information included by many messages. More...
interface  Heightmap
 Message for a heightmap geometry. More...
interface  Image
 Message for a image geometry. More...
interface  Inertial
 Information about inertia. More...
interface  Int
 Integer message. More...
interface  Joint
 Message for joints. More...
interface  Light
 Message for a light. More...
interface  Link
 Information about a link. More...
interface  Material
 Information about a material. More...
interface  Mesh
 Message for a mesh geometry. More...
interface  Model
 Information about a model. More...
interface  Entities
 Information about all entities in a world. More...
interface  Packet
 Message that encapsulates another message with a type description. More...
interface  Plane
 Message for a plane geometry. More...
interface  Pose
 Message for a pose. More...
interface  Publish
 Message that contains information about a publisher of data. More...
interface  Publisher
 A list of publishers. More...
interface  Quaternion
 A message for a quaternion. More...
interface  RaySensor
 Information about a ray sensor element. More...
interface  Request
 A message containing a string request. More...
interface  Response
 Message that encapsulates a respons message with a type description. More...
interface  Scene
 A message containing a description of a scene. More...
interface  Selection
 A message for GUI selection data. More...
interface  Sensor
 Information about a sensor element. More...
interface  ServerControl
 A message that allows for control of the server functions. More...
interface  Shadows
 A message for shadow data. More...
interface  SphereGeom
 Information about a sphere geometry. More...
interface  String
 A message for string data. More...
interface  Subscribe
 A message for subscription data. More...
interface  Surface
 Information about a surface element. More...
interface  Time
 A message for time data. More...
interface  Topic
 A message for topic information. More...
interface  Track
 in the GUI) More...
interface  Vector2d
 Message for a vector2 double. More...
interface  Vector3d
 Message for a vector3 double. More...
interface  Visual
 A message containing visual information. More...
interface  WorldControl
 A message that allows for control of world functions. More...
interface  World
 A message that allows for modifying (open, close) worlds. More...
interface  WorldStatistics
 A message statiscs about a world. More...

Namespaces

namespace  gazebo::msgs
 

Messages namespace.


Functions

msgs::Request * CreateRequest (const std::string &_request, const std::string &_data="")
 Create a request message.
void Init (google::protobuf::Message &_message, const std::string &_id="")
 Initialize a message.
void Stamp (msgs::Header *_header)
 Time stamp a header.
void Stamp (msgs::Time *_time)
 Set the time in a time message.
msgs::Vector3d Convert (const math::Vector3 &_v)
 Convert a math::Vector3 to a msgs::Vector3d.
msgs::Quaternion Convert (const math::Quaternion &_q)
 Convert a math::Quaternion to a msgs::Quaternion.
msgs::Pose Convert (const math::Pose &_p)
 Convert a math::Pose to a msgs::Pose.
msgs::Color Convert (const common::Color &_c)
 Convert a common::Color to a msgs::Color.
msgs::Time Convert (const common::Time &_t)
 Convert a common::Time to a msgs::Time.
msgs::PlaneGeom Convert (const math::Plane &_p)
 Convert a math::Plane to a msgs::PlaneGeom.
math::Vector3 Convert (const msgs::Vector3d &_v)
 Convert a msgs::Vector3d to a math::Vector.
math::Quaternion Convert (const msgs::Quaternion &_q)
 Convert a msgs::Quaternion to a math::Quaternion.
math::Pose Convert (const msgs::Pose &_p)
 Convert a msgs::Pose to a math::Pose.
common::Color Convert (const msgs::Color &_c)
 Convert a msgs::Color to a common::Color.
common::Time Convert (const msgs::Time &_t)
 Convert a msgs::Time to a common::Time.
math::Plane Convert (const msgs::PlaneGeom &_p)
 Convert a msgs::PlaneGeom to a common::Plane.
void Set (msgs::Vector3d *_pt, const math::Vector3 &_v)
 Set a msgs::Vector3d from a math::Vector3.
void Set (msgs::Vector2d *_pt, const math::Vector2d &_v)
 Set a msgs::Vector2d from a math::Vector3.
void Set (msgs::Quaternion *_q, const math::Quaternion &_v)
 Set a msgs::Quaternion from a math::Quaternion.
void Set (msgs::Pose *_p, const math::Pose &_v)
 Set a msgs::Pose from a math::Pose.
void Set (msgs::Color *_c, const common::Color &_v)
 Set a msgs::Color from a common::Color.
void Set (msgs::Time *_t, const common::Time &_v)
 Set a msgs::Time from a common::Time.
void Set (msgs::PlaneGeom *_p, const math::Plane &_v)
 Set a msgs::Plane from a math::Plane.
msgs::TrackVisual TrackVisualFromSDF (sdf::ElementPtr _sdf)
 Create a msgs::TrackVisual from a track visual SDF element.
msgs::GUI GUIFromSDF (sdf::ElementPtr _sdf)
 Create a msgs::GUI from a GUI SDF element.
msgs::Light LightFromSDF (sdf::ElementPtr _sdf)
 Create a msgs::Light from a light SDF element.
msgs::Visual VisualFromSDF (sdf::ElementPtr _sdf)
 Create a msgs::Visual from a visual SDF element.
msgs::Fog FogFromSDF (sdf::ElementPtr _sdf)
 Create a msgs::Fog from a fog SDF element.
msgs::Scene SceneFromSDF (sdf::ElementPtr _sdf)
 Create a msgs::Scene from a scene SDF element.
msgs::Header * GetHeader (google::protobuf::Message &_message)
 Get the header from a protobuf message.

Detailed Description

All messages and helper functions.


Function Documentation

msgs::Vector3d gazebo::msgs::Convert ( const math::Vector3 &  _v)

Convert a math::Vector3 to a msgs::Vector3d.

Parameters:
_vThe vector to convert
Returns:
A msgs::Vector3d object
msgs::Quaternion gazebo::msgs::Convert ( const math::Quaternion &  _q)

Convert a math::Quaternion to a msgs::Quaternion.

Parameters:
_qThe quaternion to convert
Returns:
A msgs::Quaternion object
msgs::Pose gazebo::msgs::Convert ( const math::Pose &  _p)

Convert a math::Pose to a msgs::Pose.

Parameters:
_pThe pose to convert
Returns:
A msgs::Pose object
msgs::Color gazebo::msgs::Convert ( const common::Color &  _c)

Convert a common::Color to a msgs::Color.

Parameters:
_cThe color to convert
Returns:
A msgs::Color object
msgs::Time gazebo::msgs::Convert ( const common::Time &  _t)

Convert a common::Time to a msgs::Time.

Parameters:
_tThe time to convert
Returns:
A msgs::Time object
msgs::PlaneGeom gazebo::msgs::Convert ( const math::Plane &  _p)

Convert a math::Plane to a msgs::PlaneGeom.

Parameters:
_pThe plane to convert
Returns:
A msgs::PlaneGeom object
math::Vector3 gazebo::msgs::Convert ( const msgs::Vector3d &  _v)

Convert a msgs::Vector3d to a math::Vector.

Parameters:
_vThe plane to convert
Returns:
A math::Vector3 object
math::Quaternion gazebo::msgs::Convert ( const msgs::Quaternion &  _q)

Convert a msgs::Quaternion to a math::Quaternion.

Parameters:
_qThe quaternion to convert
Returns:
A math::Quaternion object
math::Pose gazebo::msgs::Convert ( const msgs::Pose &  _p)

Convert a msgs::Pose to a math::Pose.

Parameters:
_qThe pose to convert
Returns:
A math::Pose object
common::Color gazebo::msgs::Convert ( const msgs::Color &  _c)

Convert a msgs::Color to a common::Color.

Parameters:
_cThe color to convert
Returns:
A common::Color object
common::Time gazebo::msgs::Convert ( const msgs::Time &  _t)

Convert a msgs::Time to a common::Time.

Parameters:
_tThe time to convert
Returns:
A common::Time object
math::Plane gazebo::msgs::Convert ( const msgs::PlaneGeom &  _p)

Convert a msgs::PlaneGeom to a common::Plane.

Parameters:
_pThe plane to convert
Returns:
A common::Plane object
msgs::Request* gazebo::msgs::CreateRequest ( const std::string &  _request,
const std::string &  _data = "" 
)

Create a request message.

Parameters:
_requestRequest string
_dataOptional data string
Returns:
A Request message
msgs::Fog gazebo::msgs::FogFromSDF ( sdf::ElementPtr  _sdf)

Create a msgs::Fog from a fog SDF element.

Parameters:
_sdfThe sdf element
Returns:
The new msgs::Fog object
msgs::Header* gazebo::msgs::GetHeader ( google::protobuf::Message &  _message)

Get the header from a protobuf message.

Parameters:
_messageA google protobuf message
Returns:
A pointer to the message's header
msgs::GUI gazebo::msgs::GUIFromSDF ( sdf::ElementPtr  _sdf)

Create a msgs::GUI from a GUI SDF element.

Parameters:
_sdfThe sdf element
Returns:
The new msgs::GUI object
void gazebo::msgs::Init ( google::protobuf::Message &  _message,
const std::string &  _id = "" 
)

Initialize a message.

Parameters:
_messageMessage to initialize
_idOptional string id
msgs::Light gazebo::msgs::LightFromSDF ( sdf::ElementPtr  _sdf)

Create a msgs::Light from a light SDF element.

Parameters:
_sdfThe sdf element
Returns:
The new msgs::Light object
msgs::Scene gazebo::msgs::SceneFromSDF ( sdf::ElementPtr  _sdf)

Create a msgs::Scene from a scene SDF element.

Parameters:
_sdfThe sdf element
Returns:
The new msgs::Scene object
void gazebo::msgs::Set ( msgs::Vector3d *  _pt,
const math::Vector3 &  _v 
)

Set a msgs::Vector3d from a math::Vector3.

Parameters:
_ptA msgs::Vector3d pointer
_vA math::Vector3 reference
void gazebo::msgs::Set ( msgs::Vector2d *  _pt,
const math::Vector2d &  _v 
)

Set a msgs::Vector2d from a math::Vector3.

Parameters:
_ptA msgs::Vector2d pointer
_vA math::Vector2d reference
void gazebo::msgs::Set ( msgs::Quaternion *  _q,
const math::Quaternion &  _v 
)

Set a msgs::Quaternion from a math::Quaternion.

Parameters:
_qA msgs::Quaternion pointer
_vA math::Quaternion reference
void gazebo::msgs::Set ( msgs::Pose *  _p,
const math::Pose &  _v 
)

Set a msgs::Pose from a math::Pose.

Parameters:
_pA msgs::Pose pointer
_vA math::Pose reference
void gazebo::msgs::Set ( msgs::Color *  _c,
const common::Color &  _v 
)

Set a msgs::Color from a common::Color.

Parameters:
_pA msgs::Color pointer
_vA common::Color reference
void gazebo::msgs::Set ( msgs::Time *  _t,
const common::Time &  _v 
)

Set a msgs::Time from a common::Time.

Parameters:
_pA msgs::Time pointer
_vA common::Time reference
void gazebo::msgs::Set ( msgs::PlaneGeom *  _p,
const math::Plane &  _v 
)

Set a msgs::Plane from a math::Plane.

Parameters:
_pA msgs::Plane pointer
_vA math::Plane reference
void gazebo::msgs::Stamp ( msgs::Header *  _header)

Time stamp a header.

Parameters:
_headerHeader to stamp
void gazebo::msgs::Stamp ( msgs::Time *  _time)

Set the time in a time message.

Parameters:
_timeA Time message
msgs::TrackVisual gazebo::msgs::TrackVisualFromSDF ( sdf::ElementPtr  _sdf)

Create a msgs::TrackVisual from a track visual SDF element.

Parameters:
_sdfThe sdf element
Returns:
The new msgs::TrackVisual object
msgs::Visual gazebo::msgs::VisualFromSDF ( sdf::ElementPtr  _sdf)

Create a msgs::Visual from a visual SDF element.

Parameters:
_sdfThe sdf element
Returns:
The new msgs::Visual object