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/particle_emitter.pb.h>
30 #include <gz/msgs/plugin.pb.h>
31 #include <gz/msgs/plugin_v.pb.h>
32 #include <gz/msgs/physics.pb.h>
33 #include <gz/msgs/scene.pb.h>
34 #include <gz/msgs/sensor.pb.h>
35 #include <gz/msgs/sensor_noise.pb.h>
36 #include <gz/msgs/time.pb.h>
37 #include <gz/msgs/world_stats.pb.h>
42 #include <gz/common/Console.hh>
43 #include <gz/math/Inertial.hh>
44 #include <sdf/Actor.hh>
45 #include <sdf/Atmosphere.hh>
46 #include <sdf/Collision.hh>
47 #include <sdf/Geometry.hh>
49 #include <sdf/JointAxis.hh>
50 #include <sdf/Light.hh>
51 #include <sdf/Material.hh>
52 #include <sdf/Noise.hh>
53 #include <sdf/ParticleEmitter.hh>
54 #include <sdf/Plugin.hh>
55 #include <sdf/Physics.hh>
56 #include <sdf/Scene.hh>
57 #include <sdf/Sensor.hh>
59 #include "gz/sim/config.hh"
60 #include "gz/sim/Export.hh"
68 inline namespace IGNITION_GAZEBO_VERSION_NAMESPACE {
73 void IGNITION_GAZEBO_VISIBLE
74 set(msgs::SensorNoise *_msg,
const sdf::Noise &_sdf);
80 void IGNITION_GAZEBO_VISIBLE
81 set(msgs::WorldStatistics *_msg,
const UpdateInfo &_in);
88 void IGNITION_GAZEBO_VISIBLE
89 set(msgs::Time *_msg,
const std::chrono::steady_clock::duration &_in);
99 Out::ConversionNotImplemented;
117 Out::ConversionNotImplemented;
134 Out::ConversionNotImplemented;
152 Out::ConversionNotImplemented;
170 Out::ConversionNotImplemented;
188 Out::ConversionNotImplemented;
206 Out::ConversionNotImplemented;
224 Out::ConversionNotImplemented;
249 Out::ConversionNotImplemented;
273 Out::ConversionNotImplemented;
287 Out
convert(
const std::chrono::steady_clock::duration &_in)
290 Out::ConversionNotImplemented;
308 Out::ConversionNotImplemented;
326 Out::ConversionNotImplemented;
344 Out::ConversionNotImplemented;
362 Out::ConversionNotImplemented;
380 Out::ConversionNotImplemented;
398 Out::ConversionNotImplemented;
415 Out::ConversionNotImplemented;
433 Out::ConversionNotImplemented;
451 Out::ConversionNotImplemented;
470 Out::ConversionNotImplemented;
488 Out::ConversionNotImplemented;
507 Out::ConversionNotImplemented;
525 Out::ConversionNotImplemented;
543 Out::ConversionNotImplemented;
562 Out::ConversionNotImplemented;
580 Out::ConversionNotImplemented;
598 Out::ConversionNotImplemented;
616 Out::ConversionNotImplemented;
634 Out::ConversionNotImplemented;
651 Out::ConversionNotImplemented;
670 Out::ConversionNotImplemented;
688 Out::ConversionNotImplemented;
706 Out::ConversionNotImplemented;
723 Out::ConversionNotImplemented;
739 Out::ConversionNotImplemented;
755 Out::ConversionNotImplemented;
771 Out::ConversionNotImplemented;
787 Out::ConversionNotImplemented;
This library is part of the Gazebo project.
Component< std::string, class LightTypeTag, serializers::StringSerializer > LightType
A component that contains the light type. This is a simple wrapper around std::string.
Definition: gz/sim/components/LightType.hh:39
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:96
Information passed to systems on the update callback.
Definition: include/gz/sim/Types.hh:38
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:80
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:50
Component< NoData, class SensorTag > Sensor
A component that identifies an entity as being a sensor.
Definition: gz/sim/components/Sensor.hh:35
Component< msgs::ParticleEmitter, class ParticleEmitterTag, serializers::MsgSerializer > ParticleEmitter
A component that contains a particle emitter.
Definition: include/gz/sim/components/ParticleEmitter.hh:37