Gazebo Sim

API Reference

9.0.0
Physics.hh File Reference
#include <cstdint>
#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

namespace  gz
 This library is part of the Gazebo project.
 
namespace  gz::sim
 Gazebo is a leading open source robotics simulator, that provides high fidelity physics, rendering, and sensor simulation.
 
namespace  gz::sim::components
 Components represent data, such as position information. An Entity usually has one or more associated components.
 
namespace  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.
 
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.
 
 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.
 
 GZ_SIM_REGISTER_COMPONENT ("gz_sim_components.PhysicsSolver", PhysicsSolver) using PhysicsSolverIterations
 The number of solver iterations for each step.