Gazebo Sim

API Reference

10.5.0
RaycastData.hh File Reference
#include <gz/math/Vector3.hh>
#include <gz/sim/components/Factory.hh>
#include <gz/sim/components/Component.hh>
#include <gz/sim/components/Serialization.hh>
#include <gz/sim/config.hh>
#include <istream>
#include <ostream>
#include <vector>

Go to the source code of this file.

Classes

class  DefaultSerializer< components::RaycastDataInfo >
 Specialization of DefaultSerializer for RaycastDataInfo. More...
 
struct  RaycastDataInfo
 A struct that holds the raycasting data, including ray and results. More...
 
struct  RaycastResultInfo
 A struct that holds the result of a raycasting operation. More...
 
struct  RayInfo
 A struct that holds the information of a ray. More...
 

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 RaycastData = Component< RaycastDataInfo, class RaycastDataTag, serializers::DefaultSerializer< RaycastDataInfo > >
 A component type that contains the rays traced from an entity into a physics world, along with the results of the raycasting operation.
 

Functions

 GZ_SIM_REGISTER_COMPONENT ("gz_sim_components.RaycastData", RaycastData) using NeedsRaycast
 Tag component that requests the physics system to perform raycasting for this entity on the current step. Set by sensor systems in PreUpdate, cleared by the physics system after the raycast is performed.