Main Page
Classes
Class List
Class Hierarchy
Class Members
All
a
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
u
w
~
Functions
a
c
d
e
f
g
i
k
l
o
p
r
s
t
u
w
~
Variables
a
c
d
l
m
n
o
p
r
s
t
Typedefs
Files
File List
File Members
All
Functions
src
addcloud_parameter.cpp
Go to the documentation of this file.
1
/******************************************************************************
2
* *
3
* addcloud_parameter.cpp *
4
* ====================== *
5
* *
6
*******************************************************************************
7
* *
8
* Repository: *
9
* https://github.com/TUC-ProAut/ros_octomap *
10
* *
11
* Chair of Automation Technology, Technische Universität Chemnitz *
12
* https://www.tu-chemnitz.de/etit/proaut *
13
* *
14
* Author: *
15
* Peter Weissig *
16
* *
17
*******************************************************************************
18
* *
19
* New BSD License *
20
* *
21
* Copyright (c) 2015-2021 TU Chemnitz *
22
* All rights reserved. *
23
* *
24
* Redistribution and use in source and binary forms, with or without *
25
* modification, are permitted provided that the following conditions are met: *
26
* * Redistributions of source code must retain the above copyright notice, *
27
* this list of conditions and the following disclaimer. *
28
* * Redistributions in binary form must reproduce the above copyright *
29
* notice, this list of conditions and the following disclaimer in the *
30
* documentation and/or other materials provided with the distribution. *
31
* * Neither the name of the copyright holder nor the names of its *
32
* contributors may be used to endorse or promote products derived from *
33
* this software without specific prior written permission. *
34
* *
35
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS *
36
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED *
37
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR *
38
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR *
39
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, *
40
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, *
41
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; *
42
* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, *
43
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR *
44
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF *
45
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *
46
* *
47
******************************************************************************/
48
49
// local headers
50
#include "
octomap_pa/addcloud_parameter.h
"
51
52
//**************************[cAddCloudParameter]*******************************
53
cAddCloudParameter::cAddCloudParameter
() {
54
55
// octomap parameter
56
map_prob_hit_
= 0.70;
57
map_prob_miss_
= 0.40;
58
59
// transform for pointcloud
60
pcd_explicit_transform_
=
true
;
61
62
// voxel filter for pointcloud
63
pcd_voxel_active_
=
true
;
64
pcd_voxel_explicit_
=
false
;
65
pcd_voxel_explicit_relative_resolution_
= 0.5;
66
}
67
68
//**************************[cAddCloudParameter]*******************************
69
cAddCloudParameter::cAddCloudParameter
(
const
cAddCloudParameter
&other) {
70
71
*
this
= other;
72
}
73
74
//**************************[operator =]***************************************
75
cAddCloudParameter
&
cAddCloudParameter::operator =
(
76
const
cAddCloudParameter
&other) {
77
78
// octomap parameter
79
map_prob_hit_
= other.
map_prob_hit_
;
80
map_prob_miss_
= other.
map_prob_miss_
;
81
82
// transform for pointcloud
83
pcd_explicit_transform_
= other.
pcd_explicit_transform_
;
84
85
// voxel filter and transform for pointcloud
86
pcd_voxel_explicit_relative_resolution_
=
87
other.
pcd_voxel_explicit_relative_resolution_
;
88
pcd_voxel_active_
= other.
pcd_voxel_active_
;
89
pcd_voxel_explicit_
= other.
pcd_voxel_explicit_
;
90
91
return
*
this
;
92
}
addcloud_parameter.h
cAddCloudParameter::operator=
cAddCloudParameter & operator=(const cAddCloudParameter &other)
Definition:
addcloud_parameter.cpp:75
cAddCloudParameter::pcd_voxel_active_
bool pcd_voxel_active_
pointcloud insertion parameter: use voxel-filter (speeds up)
Definition:
addcloud_parameter.h:116
cAddCloudParameter::pcd_voxel_explicit_
bool pcd_voxel_explicit_
Definition:
addcloud_parameter.h:119
cAddCloudParameter::pcd_voxel_explicit_relative_resolution_
double pcd_voxel_explicit_relative_resolution_
pointcloud insertion parameter: relative resolution of pcl-filter
Definition:
addcloud_parameter.h:121
cAddCloudParameter
Definition:
addcloud_parameter.h:53
cAddCloudParameter::map_prob_hit_
double map_prob_hit_
octomap parameter: probability for a "hit"
Definition:
addcloud_parameter.h:107
cAddCloudParameter::pcd_explicit_transform_
bool pcd_explicit_transform_
Definition:
addcloud_parameter.h:113
cAddCloudParameter::map_prob_miss_
double map_prob_miss_
octomap parameter: probability for a "miss"
Definition:
addcloud_parameter.h:109
cAddCloudParameter::cAddCloudParameter
cAddCloudParameter(void)
Definition:
addcloud_parameter.cpp:53
octomap_pa
Author(s):
autogenerated on Wed Mar 2 2022 00:46:31