57 public:
virtual void SetPoints(
const math::Vector3 &_posStart,
75 public:
virtual void SetLength(
double _len);
79 public:
double GetLength()
const;
85 public:
virtual void Update() = 0;
90 public:
virtual void GetIntersection(
double &_dist,
91 std::string &_entity) = 0;
95 public:
void SetRetro(
float _retro);
99 public:
float GetRetro()
const;
103 public:
void SetFiducial(
int _fid);
107 public:
int GetFiducial()
const;
110 public:
virtual void Init();
115 public:
void FillMsg(msgs::Geometry &_msg);
120 public:
virtual void ProcessMsg(
const msgs::Geometry &_msg);
math::Vector3 relativeStartPos
Start position of the ray, relative to the body.
Definition: RayShape.hh:132
The Vector3 class represents the generic vector containing 3 elements.
Definition: Vector3.hh:43
Base class for all shapes.
Definition: Shape.hh:40
int contactFiducial
Fiducial ID value.
Definition: RayShape.hh:129
double contactLen
Length of the ray.
Definition: RayShape.hh:125
default namespace for gazebo
boost::shared_ptr< Collision > CollisionPtr
Definition: PhysicsTypes.hh:94
boost::shared_ptr< PhysicsEngine > PhysicsEnginePtr
Definition: PhysicsTypes.hh:106
Base class for Ray collision geometry.
Definition: RayShape.hh:40
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.
math::Vector3 globalEndPos
End position of the ray in global cs.
Definition: RayShape.hh:140
math::Vector3 relativeEndPos
End position of the ray, relative to the body.
Definition: RayShape.hh:134
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:48
math::Vector3 globalStartPos
Start position of the ray in global cs.
Definition: RayShape.hh:137
double contactRetro
Retro reflectance value.
Definition: RayShape.hh:127