Main Page
Classes
Files
File List
File Members
src
markermap
pose_estimation_markermap_parameters.cpp
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2016, Lukas Pfeifhofer <lukas.pfeifhofer@devlabs.pro>
3
* All rights reserved.
4
*
5
* Redistribution and use in source and binary forms, with or without
6
* modification, are permitted provided that the following conditions are met:
7
*
8
* 1. Redistributions of source code must retain the above copyright notice,
9
* this list of conditions and the following disclaimer.
10
*
11
* 2. Redistributions in binary form must reproduce the above copyright notice,
12
* this list of conditions and the following disclaimer in the documentation
13
* and/or other materials provided with the distribution.
14
*
15
* 3. Neither the name of the copyright holder nor the names of its contributors
16
* may be used to endorse or promote products derived from this software without
17
* specific prior written permission.
18
*
19
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
23
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29
* POSSIBILITY OF SUCH DAMAGE.
30
*/
31
32
#include "
markermap/pose_estimation_markermap_parameters.h
"
33
34
PoseEstimationMarkerMapParameters::PoseEstimationMarkerMapParameters
() {
35
pose_estimator_type_
= 0;
36
publish_tf_
=
true
;
37
publish_markers_
=
true
;
38
}
39
40
PoseEstimationMarkerMapParameters::~PoseEstimationMarkerMapParameters
() {}
41
42
int
PoseEstimationMarkerMapParameters::getPoseEstimatorType
() {
43
return
pose_estimator_type_
;
44
}
45
46
bool
PoseEstimationMarkerMapParameters::getPublishTf
() {
47
return
publish_tf_
;
48
}
49
50
bool
PoseEstimationMarkerMapParameters::getPublishMarkers
() {
51
return
publish_markers_
;
52
}
53
54
void
PoseEstimationMarkerMapParameters::setPoseEstimatorType
(
int
type) {
55
pose_estimator_type_
= type;
56
}
57
58
void
PoseEstimationMarkerMapParameters::setPublishTf
(
bool
b) {
59
publish_tf_
= b;
60
}
61
62
void
PoseEstimationMarkerMapParameters::setPublishMarkers
(
bool
b) {
63
publish_markers_
= b;
64
}
PoseEstimationMarkerMapParameters::getPoseEstimatorType
int getPoseEstimatorType()
Definition:
pose_estimation_markermap_parameters.cpp:42
PoseEstimationMarkerMapParameters::PoseEstimationMarkerMapParameters
PoseEstimationMarkerMapParameters()
Definition:
pose_estimation_markermap_parameters.cpp:34
PoseEstimationMarkerMapParameters::publish_tf_
bool publish_tf_
Definition:
pose_estimation_markermap_parameters.h:50
PoseEstimationMarkerMapParameters::~PoseEstimationMarkerMapParameters
~PoseEstimationMarkerMapParameters()
Definition:
pose_estimation_markermap_parameters.cpp:40
pose_estimation_markermap_parameters.h
PoseEstimationMarkerMapParameters::getPublishMarkers
bool getPublishMarkers()
Definition:
pose_estimation_markermap_parameters.cpp:50
PoseEstimationMarkerMapParameters::publish_markers_
bool publish_markers_
Definition:
pose_estimation_markermap_parameters.h:51
PoseEstimationMarkerMapParameters::setPoseEstimatorType
void setPoseEstimatorType(int type)
Definition:
pose_estimation_markermap_parameters.cpp:54
PoseEstimationMarkerMapParameters::getPublishTf
bool getPublishTf()
Definition:
pose_estimation_markermap_parameters.cpp:46
PoseEstimationMarkerMapParameters::pose_estimator_type_
int pose_estimator_type_
Definition:
pose_estimation_markermap_parameters.h:49
PoseEstimationMarkerMapParameters::setPublishTf
void setPublishTf(bool b)
Definition:
pose_estimation_markermap_parameters.cpp:58
PoseEstimationMarkerMapParameters::setPublishMarkers
void setPublishMarkers(bool b)
Definition:
pose_estimation_markermap_parameters.cpp:62
tuw_marker_pose_estimation
Author(s): Lukas Pfeifhofer
autogenerated on Mon Jun 10 2019 15:42:13