Gazebo Sim

API Reference

8.7.0
include/gz/sim/components/Physics.hh File Reference
#include <string>
#include <gz/msgs/physics.pb.h>
#include <sdf/Physics.hh>
#include <gz/sim/config.hh>
#include <gz/sim/Export.hh>
#include <gz/sim/components/Factory.hh>
#include "gz/sim/components/Component.hh"
#include <gz/sim/components/Serialization.hh>
#include <gz/sim/Conversions.hh>

Go to the source code of this file.

Namespaces

 gz
 This library is part of the Gazebo project.
 
 gz::sim
 Gazebo is a leading open source robotics simulator, that provides high fidelity physics, rendering, and sensor simulation.
 
 gz::sim::components
 Components represent data, such as position information. An Entity usually has one or more associated components.
 
 gz::sim::serializers
 A Serializer class is used to serialize and deserialize a component. It is passed in as the third template parameter to components::Component. Eg.
 

Typedefs

using Physics = Component< sdf::Physics, class PhysicsTag, serializers::PhysicsSerializer >
 A component type that contains the physics properties of the World entity. More...
 
using PhysicsSerializer = serializers::ComponentToMsgSerializer< sdf::Physics, msgs::Physics >
 

Functions

 GZ_SIM_REGISTER_COMPONENT ("gz_sim_components.Actor", Actor) using AnimationTime
 Time in seconds within animation being currently played. More...
 
 GZ_SIM_REGISTER_COMPONENT ("gz_sim_components.PhysicsCollisionDetector", PhysicsCollisionDetector) using PhysicsSolver
 The name of the solver to be used. The supported options will depend on the physics engine being used. More...