Main Page
Namespaces
Classes
Files
File List
File Members
src
tuw_marker_slam
measurement_marker.cpp
Go to the documentation of this file.
1
#include <
tuw_marker_slam/measurement_marker.h
>
2
using namespace
tuw
;
3
4
MeasurementMarker::MeasurementMarker
()
5
:Measurement ( Type::MARKER ) {
6
}
7
MeasurementMarker::MeasurementMarker
(
const
MeasurementMarker
& o )
8
:Measurement ( o ),
range_max_id_
( o.
range_max_id_
),
range_max_
( o.
range_max_
),
range_min_
( o.
range_min_
),
markers_
( o.
markers_
) {
9
}
10
void
MeasurementMarker::resize
(
size_t
n ) {
11
markers_
.resize ( n );
12
}
13
void
MeasurementMarker::clear
() {
14
markers_
.clear();
15
}
16
double
&
MeasurementMarker::angle_min
() {
17
return
angle_min_
;
18
}
19
double
&
MeasurementMarker::angle_max
() {
20
return
angle_max_
;
21
}
22
double
&
MeasurementMarker::range_min
() {
23
return
range_min_
;
24
}
25
const
double
&
MeasurementMarker::range_min
()
const
{
26
return
range_min_
;
27
}
28
double
&
MeasurementMarker::range_max
() {
29
return
range_max_
;
30
}
31
const
double
&
MeasurementMarker::range_max
()
const
{
32
return
range_max_
;
33
}
34
double
&
MeasurementMarker::range_max_id
() {
35
return
range_max_id_
;
36
}
37
const
double
&
MeasurementMarker::range_max_id
()
const
{
38
return
range_max_id_
;
39
}
40
bool
MeasurementMarker::empty
()
const
{
41
return
markers_
.empty();
42
}
43
size_t
MeasurementMarker::size
()
const
{
44
return
markers_
.size();
45
}
50
MeasurementMarker::Marker
&
MeasurementMarker::operator[]
(
int
i ) {
51
return
markers_
[i];
52
}
57
const
MeasurementMarker::Marker
&
MeasurementMarker::operator[]
(
int
i )
const
{
58
return
markers_
[i];
59
}
60
void
MeasurementMarker::push_back
(
const
MeasurementMarker::Marker
m ) {
61
markers_
.push_back( m );
62
}
63
tuw::MeasurementMarker::angle_min
double & angle_min()
Definition:
measurement_marker.cpp:16
tuw::MeasurementMarker::empty
bool empty() const
Definition:
measurement_marker.cpp:40
measurement_marker.h
tuw::MeasurementMarker::angle_min_
double angle_min_
Definition:
measurement_marker.h:123
tuw::MeasurementMarker::range_max
double & range_max()
Definition:
measurement_marker.cpp:28
tuw::MeasurementMarker::range_min
double & range_min()
Definition:
measurement_marker.cpp:22
tuw::MeasurementMarker::resize
void resize(size_t n)
Definition:
measurement_marker.cpp:10
tuw::MeasurementMarker
Definition:
measurement_marker.h:17
tuw::MeasurementMarker::Marker
Definition:
measurement_marker.h:22
tuw::MeasurementMarker::size
size_t size() const
Definition:
measurement_marker.cpp:43
tuw::MeasurementMarker::MeasurementMarker
MeasurementMarker()
Definition:
measurement_marker.cpp:4
tuw
Definition:
ekf_slam.h:8
tuw::MeasurementMarker::angle_max_
double angle_max_
Definition:
measurement_marker.h:124
tuw::MeasurementMarker::range_max_id_
double range_max_id_
Definition:
measurement_marker.h:128
tuw::MeasurementMarker::range_min_
double range_min_
Definition:
measurement_marker.h:127
tuw::MeasurementMarker::push_back
void push_back(const MeasurementMarker::Marker m)
Definition:
measurement_marker.cpp:60
tuw::MeasurementMarker::clear
void clear()
Definition:
measurement_marker.cpp:13
tuw::MeasurementMarker::markers_
std::vector< Marker > markers_
Definition:
measurement_marker.h:130
tuw::MeasurementMarker::range_max_
double range_max_
Definition:
measurement_marker.h:126
tuw::MeasurementMarker::operator[]
Marker & operator[](int i)
Definition:
measurement_marker.cpp:50
tuw::MeasurementMarker::angle_max
double & angle_max()
Definition:
measurement_marker.cpp:19
tuw::MeasurementMarker::range_max_id
double & range_max_id()
Definition:
measurement_marker.cpp:34
tuw_marker_slam
Author(s): Markus Macsek
autogenerated on Mon Jun 10 2019 15:39:09