##

msgs.hh
Go to the documentation of this file.
/*
* Copyright (C) 2012 Open Source Robotics Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
#ifndef GAZEBO_MSGS_MSGS_HH_
#define GAZEBO_MSGS_MSGS_HH_
#include <string>
#include <sdf/sdf.hh>
#include <ignition/math/Inertial.hh>
#include <ignition/math/MassMatrix3.hh>
#include <ignition/math/Plane.hh>
#include <ignition/math/Pose3.hh>
#include <ignition/math/Quaternion.hh>
#include <ignition/math/Vector2.hh>
#include <ignition/math/Vector3.hh>
#include <ignition/msgs/color.pb.h>
#include <ignition/msgs/material.pb.h>
#include "gazebo/msgs/MessageTypes.hh"
#include "gazebo/common/SphericalCoordinates.hh"
#include "gazebo/common/Color.hh"
#include "gazebo/common/Time.hh"
#include "gazebo/common/Image.hh"
namespace gazebo
{
namespace msgs
{
GAZEBO_VISIBLE
msgs::Request *CreateRequest(const std::string &_request,
const std::string &_data = "");
GAZEBO_VISIBLE
void Init(google::protobuf::Message &_message, const std::string &_id ="");
GAZEBO_VISIBLE
void Stamp(msgs::Header *_header);
GAZEBO_VISIBLE
void Stamp(msgs::Time *_time);
GAZEBO_VISIBLE
std::string Package(const std::string &type,
const google::protobuf::Message &message);
GAZEBO_VISIBLE
msgs::Any ConvertAny(const double _v);
GAZEBO_VISIBLE
msgs::Any ConvertAny(const int _i);
GAZEBO_VISIBLE
msgs::Any ConvertAny(const std::string &_s);
GAZEBO_VISIBLE
msgs::Any ConvertAny(const char *_s);
GAZEBO_VISIBLE
msgs::Any ConvertAny(const bool _b);
GAZEBO_VISIBLE
msgs::Any ConvertAny(const ignition::math::Vector3d &_v);
GAZEBO_VISIBLE
msgs::Any ConvertAny(const common::Color &_c); // GAZEBO_DEPRECATED(9.0);
GAZEBO_VISIBLE
msgs::Any ConvertAny(const ignition::math::Color &_c);
GAZEBO_VISIBLE
msgs::Any ConvertAny(const ignition::math::Pose3d &_p);
GAZEBO_VISIBLE
msgs::Any ConvertAny(const ignition::math::Quaterniond &_q);
GAZEBO_VISIBLE
msgs::Any ConvertAny(const common::Time &_t);
GAZEBO_VISIBLE
msgs::Vector3d Convert(const ignition::math::Vector3d &_v);
GAZEBO_VISIBLE
msgs::Vector2d Convert(const ignition::math::Vector2d &_v);
GAZEBO_VISIBLE
msgs::Quaternion Convert(const ignition::math::Quaterniond &_q);
GAZEBO_VISIBLE
msgs::Pose Convert(const ignition::math::Pose3d &_p);
GAZEBO_VISIBLE
msgs::Color Convert(const common::Color &_c) GAZEBO_DEPRECATED(9.0);
GAZEBO_VISIBLE
msgs::Color Convert(const ignition::math::Color &_c);
GAZEBO_VISIBLE
msgs::Time Convert(const common::Time &_t);
GAZEBO_VISIBLE
msgs::Inertial Convert(const ignition::math::Inertiald &_i);
GAZEBO_VISIBLE
msgs::Inertial Convert(const ignition::math::MassMatrix3d &_m);
GAZEBO_VISIBLE
msgs::PlaneGeom Convert(const ignition::math::Planed &_p);
GAZEBO_VISIBLE
msgs::Joint::Type ConvertJointType(const std::string &_str);
GAZEBO_VISIBLE
std::string ConvertJointType(const msgs::Joint::Type &_type);
GAZEBO_VISIBLE
msgs::Geometry::Type ConvertGeometryType(const std::string &_str);
GAZEBO_VISIBLE
std::string ConvertGeometryType(const msgs::Geometry::Type _type);
GAZEBO_VISIBLE
ignition::math::Vector3d ConvertIgn(const msgs::Vector3d &_v);
GAZEBO_VISIBLE
ignition::math::Vector2d ConvertIgn(const msgs::Vector2d &_v);
GAZEBO_VISIBLE
ignition::math::Quaterniond ConvertIgn(const msgs::Quaternion &_q);
GAZEBO_VISIBLE
ignition::math::Pose3d ConvertIgn(const msgs::Pose &_p);
GAZEBO_VISIBLE
ignition::math::Inertiald Convert(const msgs::Inertial &_i);
GAZEBO_VISIBLE
void Set(common::Image &_img, const msgs::Image &_msg);
GAZEBO_VISIBLE
ignition::math::Color Convert(const msgs::Color &_c);
GAZEBO_VISIBLE
common::Time Convert(const msgs::Time &_t);
GAZEBO_VISIBLE
ignition::math::Planed ConvertIgn(const msgs::PlaneGeom &_p);
GAZEBO_VISIBLE
void Set(msgs::Image *_msg, const common::Image &_i);
GAZEBO_VISIBLE
void Set(msgs::Vector3d *_pt, const ignition::math::Vector3d &_v);
GAZEBO_VISIBLE
void Set(msgs::Vector2d *_pt, const ignition::math::Vector2d &_v);
GAZEBO_VISIBLE
void Set(msgs::Quaternion *_q, const ignition::math::Quaterniond &_v);
GAZEBO_VISIBLE
void Set(msgs::Pose *_p, const ignition::math::Pose3d &_v);
GAZEBO_VISIBLE
void Set(msgs::Color *_c, const common::Color &_v) GAZEBO_DEPRECATED(9.0);
GAZEBO_VISIBLE
void Set(msgs::Color *_c, const ignition::math::Color &_v);
GAZEBO_VISIBLE
void Set(msgs::Time *_t, const common::Time &_v);
GAZEBO_VISIBLE
void Set(msgs::SphericalCoordinates *_s,
const common::SphericalCoordinates &_v);
GAZEBO_VISIBLE
void Set(msgs::Inertial *_i, const ignition::math::Inertiald &_m);
GAZEBO_VISIBLE
void Set(msgs::Inertial *_i, const ignition::math::MassMatrix3d &_m);
GAZEBO_VISIBLE
void Set(msgs::PlaneGeom *_p, const ignition::math::Planed &_v);
GAZEBO_VISIBLE
msgs::TrackVisual TrackVisualFromSDF(sdf::ElementPtr _sdf);
GAZEBO_VISIBLE
msgs::GUI GUIFromSDF(sdf::ElementPtr _sdf);
GAZEBO_VISIBLE
msgs::Light LightFromSDF(sdf::ElementPtr _sdf);
GAZEBO_VISIBLE
msgs::MeshGeom MeshFromSDF(sdf::ElementPtr _sdf);
GAZEBO_VISIBLE
msgs::Geometry GeometryFromSDF(sdf::ElementPtr _sdf);
GAZEBO_VISIBLE
msgs::Visual VisualFromSDF(sdf::ElementPtr _sdf);
GAZEBO_VISIBLE
msgs::Collision CollisionFromSDF(sdf::ElementPtr _sdf);
GAZEBO_VISIBLE
msgs::Surface SurfaceFromSDF(sdf::ElementPtr _sdf);
GAZEBO_VISIBLE
msgs::Friction FrictionFromSDF(sdf::ElementPtr _sdf);
GAZEBO_VISIBLE
msgs::Axis AxisFromSDF(sdf::ElementPtr _sdf);
GAZEBO_VISIBLE
msgs::Joint JointFromSDF(sdf::ElementPtr _sdf);
GAZEBO_VISIBLE
msgs::Plugin PluginFromSDF(const sdf::ElementPtr _sdf);
GAZEBO_VISIBLE
sdf::ElementPtr VisualToSDF(const msgs::Visual &_msg,
sdf::ElementPtr _sdf = sdf::ElementPtr());
GAZEBO_VISIBLE
sdf::ElementPtr MaterialToSDF(const msgs::Material &_msg,
sdf::ElementPtr _sdf = sdf::ElementPtr());
GAZEBO_VISIBLE
msgs::Material::ShaderType ConvertShaderType(const std::string &_str);
GAZEBO_VISIBLE
std::string ConvertShaderType(const msgs::Material::ShaderType &_type);
GAZEBO_VISIBLE
msgs::Fog FogFromSDF(sdf::ElementPtr _sdf);
GAZEBO_VISIBLE
msgs::Scene SceneFromSDF(sdf::ElementPtr _sdf);
GAZEBO_VISIBLE
msgs::Sensor SensorFromSDF(sdf::ElementPtr _sdf);
GAZEBO_VISIBLE
msgs::CameraSensor CameraSensorFromSDF(sdf::ElementPtr _sdf);
GAZEBO_VISIBLE
msgs::RaySensor RaySensorFromSDF(sdf::ElementPtr _sdf);
GAZEBO_VISIBLE
msgs::ContactSensor ContactSensorFromSDF(sdf::ElementPtr _sdf);
GAZEBO_VISIBLE
sdf::ElementPtr LightToSDF(const msgs::Light &_msg,
sdf::ElementPtr _sdf = sdf::ElementPtr());
GAZEBO_VISIBLE
sdf::ElementPtr CameraSensorToSDF(const msgs::CameraSensor &_msg,
sdf::ElementPtr _sdf = sdf::ElementPtr());
GAZEBO_VISIBLE
sdf::ElementPtr PluginToSDF(const msgs::Plugin &_plugin,
sdf::ElementPtr _sdf = sdf::ElementPtr());
GAZEBO_VISIBLE
sdf::ElementPtr CollisionToSDF(const msgs::Collision &_msg,
sdf::ElementPtr _sdf = sdf::ElementPtr());
GAZEBO_VISIBLE
sdf::ElementPtr LinkToSDF(const msgs::Link &_msg,
sdf::ElementPtr _sdf = sdf::ElementPtr());
GAZEBO_VISIBLE
sdf::ElementPtr InertialToSDF(const msgs::Inertial &_msg,
sdf::ElementPtr _sdf = sdf::ElementPtr());
GAZEBO_VISIBLE
sdf::ElementPtr SurfaceToSDF(const msgs::Surface &_msg,
sdf::ElementPtr _sdf = sdf::ElementPtr());
GAZEBO_VISIBLE
sdf::ElementPtr GeometryToSDF(const msgs::Geometry &_msg,
sdf::ElementPtr _sdf = sdf::ElementPtr());
GAZEBO_VISIBLE
sdf::ElementPtr MeshToSDF(const msgs::MeshGeom &_msg,
sdf::ElementPtr _sdf = sdf::ElementPtr());
GAZEBO_VISIBLE
void AddBoxLink(msgs::Model &_model, const double _mass,
const ignition::math::Vector3d &_size);
GAZEBO_VISIBLE
void AddCylinderLink(msgs::Model &_model, const double _mass,
const double _radius, const double _length);
GAZEBO_VISIBLE
void AddSphereLink(msgs::Model &_model, const double _mass,
const double _radius);
GAZEBO_VISIBLE
void AddLinkGeom(Model &_msg, const Geometry &_geom);
GAZEBO_VISIBLE
sdf::ElementPtr ModelToSDF(const msgs::Model &_msg,
sdf::ElementPtr _sdf = sdf::ElementPtr());
GAZEBO_VISIBLE
sdf::ElementPtr JointToSDF(const msgs::Joint &_msg,
sdf::ElementPtr _sdf = sdf::ElementPtr());
GAZEBO_VISIBLE
const google::protobuf::FieldDescriptor *GetFD(
google::protobuf::Message &message, const std::string &name);
GAZEBO_VISIBLE
msgs::Header *GetHeader(google::protobuf::Message &_message);
GAZEBO_VISIBLE
msgs::GPSSensor GPSSensorFromSDF(sdf::ElementPtr _sdf);
GAZEBO_VISIBLE
msgs::SensorNoise SensorNoiseFromSDF(sdf::ElementPtr _elem);
GAZEBO_VISIBLE
msgs::IMUSensor IMUSensorFromSDF(sdf::ElementPtr _sdf);
GAZEBO_VISIBLE
msgs::LogicalCameraSensor LogicalCameraSensorFromSDF(sdf::ElementPtr _sdf);
GAZEBO_VISIBLE
sdf::ElementPtr LogicalCameraSensorToSDF(
const msgs::LogicalCameraSensor &_msg,
sdf::ElementPtr _sdf = sdf::ElementPtr());
GAZEBO_VISIBLE
sdf::ElementPtr IMUSensorToSDF(const msgs::IMUSensor &_msg,
sdf::ElementPtr _sdf = sdf::ElementPtr());
GAZEBO_VISIBLE
sdf::ElementPtr SensorNoiseToSDF(const msgs::SensorNoise &_msg,
sdf::ElementPtr _sdf = sdf::ElementPtr());
GAZEBO_VISIBLE
sdf::ElementPtr GPSSensorToSDF(const msgs::GPSSensor &_msg,
sdf::ElementPtr _sdf = sdf::ElementPtr());
GAZEBO_VISIBLE
ignition::msgs::Color ConvertIgnMsg(const msgs::Color &_msg);
GAZEBO_VISIBLE
msgs::Color ConvertIgnMsg(const ignition::msgs::Color &_msg);
GAZEBO_VISIBLE
ignition::msgs::Material::ShaderType ConvertIgnMsg(
const msgs::Material::ShaderType &_type);
GAZEBO_VISIBLE
msgs::Material::ShaderType ConvertIgnMsg(
const ignition::msgs::Material::ShaderType &_type);
GAZEBO_VISIBLE
ignition::msgs::Material::Script ConvertIgnMsg(
const msgs::Material::Script &_script);
GAZEBO_VISIBLE
msgs::Material::Script ConvertIgnMsg(
const ignition::msgs::Material::Script &_script);
GAZEBO_VISIBLE
ignition::msgs::Material ConvertIgnMsg(const msgs::Material &_msg);
GAZEBO_VISIBLE
msgs::Material ConvertIgnMsg(const ignition::msgs::Material &_msg);
}
}
#endif
gazebo::msgs::VisualToSDF
GAZEBO_VISIBLE sdf::ElementPtr VisualToSDF(const msgs::Visual &_msg, sdf::ElementPtr _sdf=sdf::ElementPtr())
Create or update an SDF element from a msgs::Visual.
gazebo::msgs::LogicalCameraSensorFromSDF
GAZEBO_VISIBLE msgs::LogicalCameraSensor LogicalCameraSensorFromSDF(sdf::ElementPtr _sdf)
Create a msgs::LogicalCameraSensor from a logical camera sensor.
gazebo::msgs::GetHeader
GAZEBO_VISIBLE msgs::Header * GetHeader(google::protobuf::Message &_message)
Get the header from a protobuf message.
gazebo::msgs::FogFromSDF
GAZEBO_VISIBLE msgs::Fog FogFromSDF(sdf::ElementPtr _sdf)
Create a msgs::Fog from a fog SDF element.
gazebo::msgs::MaterialToSDF
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 t...
Time.hh
gazebo::msgs::MeshFromSDF
GAZEBO_VISIBLE msgs::MeshGeom MeshFromSDF(sdf::ElementPtr _sdf)
Create a msgs::MeshGeom from a mesh SDF element.
gazebo::msgs::FrictionFromSDF
GAZEBO_VISIBLE msgs::Friction FrictionFromSDF(sdf::ElementPtr _sdf)
Create a msgs::Friction from a friction SDF element.
gazebo::msgs::CreateRequest
GAZEBO_VISIBLE msgs::Request * CreateRequest(const std::string &_request, const std::string &_data="")
Create a request message.
gazebo::msgs::ConvertIgnMsg
GAZEBO_VISIBLE ignition::msgs::Color ConvertIgnMsg(const msgs::Color &_msg)
Convert gazebo::msgs::Color to ignition::msgs::Color.
gazebo::msgs::ModelToSDF
GAZEBO_VISIBLE sdf::ElementPtr ModelToSDF(const msgs::Model &_msg, sdf::ElementPtr _sdf=sdf::ElementPtr())
Create or update an SDF element from msgs::Model.
gazebo
Forward declarations for the common classes.
Definition: Animation.hh:26
gazebo::msgs::LinkToSDF
GAZEBO_VISIBLE sdf::ElementPtr LinkToSDF(const msgs::Link &_msg, sdf::ElementPtr _sdf=sdf::ElementPtr())
Create or update an SDF element from a msgs::Link.
gazebo::msgs::LightToSDF
GAZEBO_VISIBLE sdf::ElementPtr LightToSDF(const msgs::Light &_msg, sdf::ElementPtr _sdf=sdf::ElementPtr())
Create or update an SDF element from a msgs::Light.
gazebo::msgs::GeometryFromSDF
GAZEBO_VISIBLE msgs::Geometry GeometryFromSDF(sdf::ElementPtr _sdf)
Create a msgs::Geometry from a geometry SDF element.
gazebo::msgs::PluginFromSDF
GAZEBO_VISIBLE msgs::Plugin PluginFromSDF(const sdf::ElementPtr _sdf)
Create a msgs::Plugin from a plugin SDF element.
gazebo::msgs::IMUSensorFromSDF
GAZEBO_VISIBLE msgs::IMUSensor IMUSensorFromSDF(sdf::ElementPtr _sdf)
Create a msgs::IMUSensor from an imu sensor SDF element.
gazebo::msgs::InertialToSDF
GAZEBO_VISIBLE sdf::ElementPtr InertialToSDF(const msgs::Inertial &_msg, sdf::ElementPtr _sdf=sdf::ElementPtr())
Create or update an SDF element from a msgs::Inertial.
gazebo::msgs::CollisionToSDF
GAZEBO_VISIBLE sdf::ElementPtr CollisionToSDF(const msgs::Collision &_msg, sdf::ElementPtr _sdf=sdf::ElementPtr())
Create or update an SDF element from a msgs::Collision.
gazebo::msgs::Convert
GAZEBO_VISIBLE msgs::Vector3d Convert(const ignition::math::Vector3d &_v)
Convert a ignition::math::Vector3 to a msgs::Vector3d.
gazebo::msgs::JointFromSDF
GAZEBO_VISIBLE msgs::Joint JointFromSDF(sdf::ElementPtr _sdf)
Create a msgs::Joint from a joint SDF element.
gazebo::msgs::ConvertIgn
GAZEBO_VISIBLE ignition::math::Vector3d ConvertIgn(const msgs::Vector3d &_v)
Convert a msgs::Vector3d to an ignition::math::Vector.
gazebo::msgs::ConvertJointType
GAZEBO_VISIBLE msgs::Joint::Type ConvertJointType(const std::string &_str)
Convert a string to a msgs::Joint::Type enum.
gazebo::msgs::SensorNoiseToSDF
GAZEBO_VISIBLE sdf::ElementPtr SensorNoiseToSDF(const msgs::SensorNoise &_msg, sdf::ElementPtr _sdf=sdf::ElementPtr())
Create or update an SDF element from a msgs::SensorNoise.
gazebo::msgs::RaySensorFromSDF
GAZEBO_VISIBLE msgs::RaySensor RaySensorFromSDF(sdf::ElementPtr _sdf)
Create a msgs::RaySensor from a ray sensor SDF element.
gazebo::msgs::ContactSensorFromSDF
GAZEBO_VISIBLE msgs::ContactSensor ContactSensorFromSDF(sdf::ElementPtr _sdf)
Create a msgs::ContactSensor from a contact sensor SDF element.
Image.hh
gazebo::msgs::CollisionFromSDF
GAZEBO_VISIBLE msgs::Collision CollisionFromSDF(sdf::ElementPtr _sdf)
Create a msgs::Collision from a collision SDF element.
gazebo::msgs::JointToSDF
GAZEBO_VISIBLE sdf::ElementPtr JointToSDF(const msgs::Joint &_msg, sdf::ElementPtr _sdf=sdf::ElementPtr())
Create or update an SDF element from msgs::Joint.
gazebo::msgs::GPSSensorToSDF
GAZEBO_VISIBLE sdf::ElementPtr GPSSensorToSDF(const msgs::GPSSensor &_msg, sdf::ElementPtr _sdf=sdf::ElementPtr())
Create or update an SDF element from a msgs::GPSSensor.
gazebo::msgs::Stamp
GAZEBO_VISIBLE void Stamp(msgs::Header *_header)
Time stamp a header.
gazebo::msgs::AddCylinderLink
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.
Color.hh
gazebo::msgs::MeshToSDF
GAZEBO_VISIBLE sdf::ElementPtr MeshToSDF(const msgs::MeshGeom &_msg, sdf::ElementPtr _sdf=sdf::ElementPtr())
Create or update an SDF element from a msgs::Mesh.
gazebo::msgs::GeometryToSDF
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 ...
gazebo::msgs::SceneFromSDF
GAZEBO_VISIBLE msgs::Scene SceneFromSDF(sdf::ElementPtr _sdf)
Create a msgs::Scene from a scene SDF element.
gazebo::msgs::AddBoxLink
GAZEBO_VISIBLE void AddBoxLink(msgs::Model &_model, const double _mass, const ignition::math::Vector3d &_size)
Add a simple box link to a Model message.
gazebo::msgs::TrackVisualFromSDF
GAZEBO_VISIBLE msgs::TrackVisual TrackVisualFromSDF(sdf::ElementPtr _sdf)
Create a msgs::TrackVisual from a track visual SDF element.
gazebo::msgs::Set
GAZEBO_VISIBLE void Set(common::Image &_img, const msgs::Image &_msg)
Convert a msgs::Image to a common::Image.
gazebo::msgs::AddLinkGeom
GAZEBO_VISIBLE void AddLinkGeom(Model &_msg, const Geometry &_geom)
Add a link with a collision and visual of specified geometry to a model message.
gazebo::msgs::CameraSensorToSDF
GAZEBO_VISIBLE sdf::ElementPtr CameraSensorToSDF(const msgs::CameraSensor &_msg, sdf::ElementPtr _sdf=sdf::ElementPtr())
Create or update an SDF element from a msgs::CameraSensor.
gazebo::msgs::SurfaceToSDF
GAZEBO_VISIBLE sdf::ElementPtr SurfaceToSDF(const msgs::Surface &_msg, sdf::ElementPtr _sdf=sdf::ElementPtr())
Create or update an SDF element from a msgs::Surface.
gazebo::msgs::CameraSensorFromSDF
GAZEBO_VISIBLE msgs::CameraSensor CameraSensorFromSDF(sdf::ElementPtr _sdf)
Create a msgs::CameraSensor from a camera sensor SDF element.
gazebo::msgs::Init
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.
SphericalCoordinates.hh
gazebo::msgs::SensorNoiseFromSDF
GAZEBO_VISIBLE msgs::SensorNoise SensorNoiseFromSDF(sdf::ElementPtr _elem)
Create a msgs::SensorNoise from a sensor noise SDF element.
gazebo::msgs::ConvertAny
GAZEBO_VISIBLE msgs::Any ConvertAny(const double _v)
Convert a double to a msgs::Any.
gazebo::msgs::IMUSensorToSDF
GAZEBO_VISIBLE sdf::ElementPtr IMUSensorToSDF(const msgs::IMUSensor &_msg, sdf::ElementPtr _sdf=sdf::ElementPtr())
Create or update an SDF element from a msgs::IMUSensor.
gazebo::msgs::ConvertGeometryType
GAZEBO_VISIBLE msgs::Geometry::Type ConvertGeometryType(const std::string &_str)
Convert a string to a msgs::Geometry::Type enum.
GAZEBO_DEPRECATED
#define GAZEBO_DEPRECATED(version)
Definition: system.hh:328
gazebo::msgs::LogicalCameraSensorToSDF
GAZEBO_VISIBLE sdf::ElementPtr LogicalCameraSensorToSDF(const msgs::LogicalCameraSensor &_msg, sdf::ElementPtr _sdf=sdf::ElementPtr())
Create or update an SDF element from a msgs::LogicalCameraSensor.
gazebo::msgs::AddSphereLink
GAZEBO_VISIBLE void AddSphereLink(msgs::Model &_model, const double _mass, const double _radius)
Add a simple sphere link to a Model message.
gazebo::msgs::GPSSensorFromSDF
GAZEBO_VISIBLE msgs::GPSSensor GPSSensorFromSDF(sdf::ElementPtr _sdf)
Create a msgs::GPSSensor from a gps sensor SDF element.
gazebo::msgs::GUIFromSDF
GAZEBO_VISIBLE msgs::GUI GUIFromSDF(sdf::ElementPtr _sdf)
Create a msgs::GUI from a GUI SDF element.
gazebo::msgs::SurfaceFromSDF
GAZEBO_VISIBLE msgs::Surface SurfaceFromSDF(sdf::ElementPtr _sdf)
Create a msgs::Surface from a surface SDF element.
gazebo::msgs::AxisFromSDF
GAZEBO_VISIBLE msgs::Axis AxisFromSDF(sdf::ElementPtr _sdf)
Create a msgs::Axis from an axis SDF element.
gazebo::msgs::VisualFromSDF
GAZEBO_VISIBLE msgs::Visual VisualFromSDF(sdf::ElementPtr _sdf)
Create a msgs::Visual from a visual SDF element.
gazebo::msgs::SensorFromSDF
GAZEBO_VISIBLE msgs::Sensor SensorFromSDF(sdf::ElementPtr _sdf)
Create a msgs::Sensor from a sensor SDF element.
gazebo::msgs::PluginToSDF
GAZEBO_VISIBLE sdf::ElementPtr PluginToSDF(const msgs::Plugin &_plugin, sdf::ElementPtr _sdf=sdf::ElementPtr())
Create or update an SDF element from a msgs::Plugin.
gazebo::msgs::LightFromSDF
GAZEBO_VISIBLE msgs::Light LightFromSDF(sdf::ElementPtr _sdf)
Create a msgs::Light from a light SDF element.
GAZEBO_VISIBLE
#define GAZEBO_VISIBLE
Definition: system.hh:59
gazebo::msgs::ConvertShaderType
GAZEBO_VISIBLE msgs::Material::ShaderType ConvertShaderType(const std::string &_str)
Convert a string to a msgs::Material::ShaderType enum.