Go to the documentation of this file.
17 #ifndef GZ_GAZEBO_CONVERSIONS_HH_
18 #define GZ_GAZEBO_CONVERSIONS_HH_
20 #include <gz/msgs/actor.pb.h>
21 #include <gz/msgs/atmosphere.pb.h>
22 #include <gz/msgs/axis.pb.h>
23 #include <gz/msgs/entity.pb.h>
24 #include <gz/msgs/geometry.pb.h>
25 #include <gz/msgs/gui.pb.h>
26 #include <gz/msgs/inertial.pb.h>
27 #include <gz/msgs/light.pb.h>
28 #include <gz/msgs/material.pb.h>
29 #include <gz/msgs/physics.pb.h>
30 #include <gz/msgs/scene.pb.h>
31 #include <gz/msgs/sensor.pb.h>
32 #include <gz/msgs/sensor_noise.pb.h>
33 #include <gz/msgs/time.pb.h>
34 #include <gz/msgs/world_stats.pb.h>
39 #include <gz/common/Console.hh>
40 #include <gz/math/Inertial.hh>
41 #include <sdf/Actor.hh>
42 #include <sdf/Atmosphere.hh>
43 #include <sdf/Collision.hh>
44 #include <sdf/Geometry.hh>
46 #include <sdf/JointAxis.hh>
47 #include <sdf/Light.hh>
48 #include <sdf/Material.hh>
49 #include <sdf/Noise.hh>
50 #include <sdf/Physics.hh>
51 #include <sdf/Scene.hh>
52 #include <sdf/Sensor.hh>
54 #include "gz/sim/config.hh"
55 #include "gz/sim/Export.hh"
63 inline namespace IGNITION_GAZEBO_VERSION_NAMESPACE {
68 void IGNITION_GAZEBO_VISIBLE
69 set(msgs::SensorNoise *_msg,
const sdf::Noise &_sdf);
75 void IGNITION_GAZEBO_VISIBLE
76 set(msgs::WorldStatistics *_msg,
const UpdateInfo &_in);
83 void IGNITION_GAZEBO_VISIBLE
84 set(msgs::Time *_msg,
const std::chrono::steady_clock::duration &_in);
94 Out::ConversionNotImplemented;
112 Out::ConversionNotImplemented;
129 Out::ConversionNotImplemented;
147 Out::ConversionNotImplemented;
165 Out::ConversionNotImplemented;
183 Out::ConversionNotImplemented;
201 Out::ConversionNotImplemented;
219 Out::ConversionNotImplemented;
238 Out::ConversionNotImplemented;
256 Out::ConversionNotImplemented;
270 Out
convert(
const std::chrono::steady_clock::duration &_in)
273 Out::ConversionNotImplemented;
291 Out::ConversionNotImplemented;
309 Out::ConversionNotImplemented;
327 Out::ConversionNotImplemented;
345 Out::ConversionNotImplemented;
363 Out::ConversionNotImplemented;
381 Out::ConversionNotImplemented;
398 Out::ConversionNotImplemented;
416 Out::ConversionNotImplemented;
434 Out::ConversionNotImplemented;
453 Out::ConversionNotImplemented;
471 Out::ConversionNotImplemented;
490 Out::ConversionNotImplemented;
508 Out::ConversionNotImplemented;
526 Out::ConversionNotImplemented;
545 Out::ConversionNotImplemented;
563 Out::ConversionNotImplemented;
581 Out::ConversionNotImplemented;
599 Out::ConversionNotImplemented;
617 Out::ConversionNotImplemented;
634 Out::ConversionNotImplemented;
653 Out::ConversionNotImplemented;
This library is part of the Ignition Robotics project.
Component< NoData, class CollisionTag > Collision
A component that identifies an entity as being a collision.
Definition: gz/sim/components/Collision.hh:42
Out convert(const sdf::Geometry &_in)
Generic conversion from an SDF geometry to another type.
Definition: gz/sim/Conversions.hh:91
Information passed to systems on the update callback.
Definition: include/gz/sim/Types.hh:37
Component< sdf::Light, class LightTag, serializers::LightSerializer > Light
This component contains light source information. For more information on lights, see SDF's Light ele...
Definition: gz/sim/components/Light.hh:48
Component< sdf::Atmosphere, class AtmosphereTag, serializers::AtmosphereSerializer > Atmosphere
This component holds atmosphere properties of the world.
Definition: gz/sim/components/Atmosphere.hh:44
Component< sdf::Actor, class ActorTag, serializers::ActorSerializer > Actor
This component contains actor source information. For more information on actors, see SDF's Actor ele...
Definition: gz/sim/components/Actor.hh:48
Component< sdf::Geometry, class GeometryTag, serializers::GeometrySerializer > Geometry
This component holds an entity's geometry.
Definition: gz/sim/components/Geometry.hh:46
Component< sdf::Scene, class SceneTag, serializers::SceneSerializer > Scene
This component holds scene properties of the world.
Definition: gz/sim/components/Scene.hh:45
void set(msgs::SensorNoise *_msg, const sdf::Noise &_sdf)
Helper function that sets a mutable msgs::SensorNoise object to the values contained in a sdf::Noise ...
Component< sdf::JointAxis, class JointAxisTag, serializers::JointAxisSerializer > JointAxis
A component that contains the joint axis . This is a simple wrapper around sdf::JointAxis.
Definition: gz/sim/components/JointAxis.hh:43
Component< sdf::Material, class MaterialTag, serializers::MaterialSerializer > Material
This component holds an entity's material.
Definition: gz/sim/components/Material.hh:44
Component< sdf::Physics, class PhysicsTag, serializers::PhysicsSerializer > Physics
A component type that contains the physics properties of the World entity.
Definition: include/gz/sim/components/Physics.hh:48
Component< NoData, class SensorTag > Sensor
A component that identifies an entity as being a sensor.
Definition: gz/sim/components/Sensor.hh:35