include
gmapping
sensor
sensor_range
rangereading.h
Go to the documentation of this file.
1
#ifndef RANGEREADING_H
2
#define RANGEREADING_H
3
4
#include <vector>
5
#include <
gmapping/sensor/sensor_base/sensorreading.h
>
6
#include "
gmapping/sensor/sensor_range/rangesensor.h
"
7
#include <gmapping/sensor/sensor_range/sensor_range_export.h>
8
9
#ifdef _MSC_VER
10
namespace
std
{
11
extern
template
class
__declspec(dllexport) vector<double>;
12
};
13
#endif
14
15
namespace
GMapping
{
16
17
class
SENSOR_RANGE_EXPORT
RangeReading
:
public
SensorReading
,
public
std::vector<double>{
18
public
:
19
RangeReading
(
const
RangeSensor
* rs,
double
time=0);
20
RangeReading
(
unsigned
int
n_beams,
const
double
* d,
const
RangeSensor
* rs,
double
time=0);
21
virtual
~
RangeReading
();
22
inline
const
OrientedPoint
&
getPose
()
const
{
return
m_pose;}
23
inline
void
setPose
(
const
OrientedPoint
& pose) {m_pose=pose;}
24
unsigned
int
rawView(
double
* v,
double
density=0.)
const
;
25
std::vector<Point> cartesianForm(
double
maxRange=1e6)
const
;
26
unsigned
int
activeBeams(
double
density=0.)
const
;
27
protected
:
28
OrientedPoint
m_pose
;
29
};
30
31
};
32
33
#endif
GMapping::SensorReading
Definition:
sensoreading.h:9
rangesensor.h
std
GMapping::orientedpoint< double, double >
GMapping::RangeReading
Definition:
rangereading.h:17
GMapping::RangeReading::m_pose
OrientedPoint m_pose
Definition:
rangereading.h:28
GMapping
Definition:
configfile.cpp:34
GMapping::RangeSensor
Definition:
rangesensor.h:11
GMapping::RangeReading::setPose
void setPose(const OrientedPoint &pose)
Definition:
rangereading.h:23
GMapping::RangeReading::getPose
const OrientedPoint & getPose() const
Definition:
rangereading.h:22
sensorreading.h
openslam_gmapping
Author(s): Cyrill Stachniss, Udo Frese, Giorgio Grisetti, Wolfram Burgard
autogenerated on Mon Feb 28 2022 22:59:20