Main Page
Namespaces
Classes
Files
File List
File Members
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
8
namespace
GMapping
{
9
10
class
RangeReading
:
public
SensorReading
,
public
std::vector<double>{
11
public
:
12
RangeReading
(
const
RangeSensor
* rs,
double
time=0);
13
RangeReading
(
unsigned
int
n_beams,
const
double
* d,
const
RangeSensor
* rs,
double
time=0);
14
virtual
~RangeReading
();
15
inline
const
OrientedPoint
&
getPose
()
const
{
return
m_pose
;}
16
inline
void
setPose
(
const
OrientedPoint
& pose) {
m_pose
=pose;}
17
unsigned
int
rawView
(
double
* v,
double
density=0.)
const
;
18
std::vector<Point>
cartesianForm
(
double
maxRange=1e6)
const
;
19
unsigned
int
activeBeams
(
double
density=0.)
const
;
20
protected
:
21
OrientedPoint
m_pose
;
22
};
23
24
};
25
26
#endif
GMapping::SensorReading
Definition:
sensorreading.h:7
GMapping::RangeReading::cartesianForm
std::vector< Point > cartesianForm(double maxRange=1e6) const
Definition:
rangereading.cpp:87
rangesensor.h
GMapping::RangeReading::activeBeams
unsigned int activeBeams(double density=0.) const
Definition:
rangereading.cpp:60
GMapping::RangeReading::RangeReading
RangeReading(const RangeSensor *rs, double time=0)
Definition:
rangereading.cpp:12
GMapping::RangeReading::getPose
const OrientedPoint & getPose() const
Definition:
rangereading.h:15
GMapping::orientedpoint< double, double >
GMapping::RangeReading
Definition:
rangereading.h:10
GMapping::RangeReading::m_pose
OrientedPoint m_pose
Definition:
rangereading.h:21
GMapping::RangeReading::~RangeReading
virtual ~RangeReading()
Definition:
rangereading.cpp:23
GMapping::RangeReading::rawView
unsigned int rawView(double *v, double density=0.) const
Definition:
rangereading.cpp:27
GMapping
Definition:
carmenwrapper.h:40
GMapping::RangeSensor
Definition:
rangesensor.h:10
GMapping::RangeReading::setPose
void setPose(const OrientedPoint &pose)
Definition:
rangereading.h:16
sensorreading.h
openslam_gmapping
Author(s): Giorgio Grisetti, Cyrill Stachniss, Wolfram Burgard
autogenerated on Mon Jun 10 2019 14:04:22