1
//! Laser Scanner class.
5
* Describes general laser scanner properties.
11
#ifndef LASERSCANNER_H_
12
#define LASERSCANNER_H_
14
#include "raySensorBase.h"
18
class LaserScanner : public RaySensorBase
23
* \brief Initializes the sensor
25
* \param gm GameManager, which handles the corresponding robot
26
* \param attachedTo Body, where the scanner is attached to
27
* \param pos Local position of the scanner
28
* \param orient Local orientation of the scanner
29
* \param flareAngle flare angle of the scanner
30
* \param resolution resolution of the scanner
31
* \param name name of the scanner
35
LaserScanner(dtCore::RefPtr<BodyBase> attachedTo, osg::Vec3f pos, osg::Vec3f orient, float flareAngle, osg::Vec2 resolution, const std::string &name);
36
virtual ~LaserScanner();
38
//! sends command to retrieve data
39
void evaluate(ParameterReturnValue srv);
41
void getSensorValue(std::ostream& theStream) const {theStream << currentSensorValue;};
43
// void update() {RaySensorBase::update();};
46
osg::ref_ptr<osg::Image> value;
52
#endif /*LASERSCANNER_H_*/