1 #ifndef __RANGEFINDER_H
2 #define __RANGEFINDER_H
7 #include <selforg/types.h>
8 #include <selforg/stl_adds.h>
35 virtual void registerSensorRange(
int numBeams,
double startAngle,
double endAngle,
double maxRange,
double height,
Class for a bank (collection) of ray sensors.
Definition: raysensorbank.h:36
Class representing a range finder.
Definition: rangeFinder.h:19
rayDrawMode
Definition: raysensor.h:56
Primitive * own
Definition: rangeFinder.h:39
Interface class for primitives represented in the physical and graphical world.
Definition: primitive.h:80
virtual void registerSensorRange(int numBeams, double startAngle, double endAngle, double maxRange, double height, RaySensor::rayDrawMode drawMode=RaySensor::drawRay)
Register equidistant IR sensor in a given angular range.
Definition: rangeFinder.cpp:11
Definition: raysensor.h:56
virtual void init(Primitive *own, Joint *joint=0) override
initialises sensor with a body of robot and optionally with a joint.
Definition: rangeFinder.cpp:5
RangeFinder()
Definition: rangeFinder.h:22