Gazebo Gazebo

API Reference

3.15.2
gz/sim/physics/Events.hh File Reference
#include <optional>
#include <gz/common/Event.hh>
#include <gz/physics/ContactProperties.hh>
#include "gz/sim/config.hh"
#include "gz/sim/Entity.hh"
#include <Eigen/Geometry>

Go to the source code of this file.

Namespaces

 ignition
 This library is part of the Ignition Robotics project.
 
 ignition::gazebo
 Gazebo is a leading open source robotics simulator, that provides high fidelity physics, rendering, and sensor simulation.
 
 ignition::gazebo::events
 Namespace for all events. Refer to the EventManager class for more information about events.
 

Typedefs

using CollectContactSurfaceProperties = gz::common::EventT< void(const Entity &, const Entity &, const math::Vector3d &, const std::optional< math::Vector3d >, const std::optional< math::Vector3d >, const std::optional< double >, const size_t, physics::SetContactPropertiesCallbackFeature::ContactSurfaceParams< Policy > &), struct CollectContactSurfacePropertiesTag >
 This event is called when the physics engine needs to collect what customizations it should do to the surface of a contact point. It is called during the Update phase after collision checking has been finished and before the physics update has happened. The event subscribers are expected to change the params argument. More...
 
using Policy = physics::FeaturePolicy3d