Main Page
Classes
Files
File List
File Members
src
perception
lidar_egomotion
src
mbicp
TData.h
Go to the documentation of this file.
1
/**************************************************************************************************
2
Software License Agreement (BSD License)
3
4
Copyright (c) 2011-2013, LAR toolkit developers - University of Aveiro - http://lars.mec.ua.pt
5
All rights reserved.
6
7
Redistribution and use in source and binary forms, with or without modification, are permitted
8
provided that the following conditions are met:
9
10
*Redistributions of source code must retain the above copyright notice, this list of
11
conditions and the following disclaimer.
12
*Redistributions in binary form must reproduce the above copyright notice, this list of
13
conditions and the following disclaimer in the documentation and/or other materials provided
14
with the distribution.
15
*Neither the name of the University of Aveiro nor the names of its contributors may be used to
16
endorse or promote products derived from this software without specific prior written permission.
17
18
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
19
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
20
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
21
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
24
IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
25
OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
***************************************************************************************************/
27
/***************************************************/
28
/* Last Revised:
29
$Id: TData.h 8465 2009-12-16 00:44:13Z gbiggs $
30
*/
31
/***************************************************/
32
/*
33
* This program is free software; you can redistribute it and/or modify
34
* it under the terms of the GNU General Public License as published by
35
* the Free Software Foundation; either version 2 of the License, or
36
* (at your option) any later version.
37
*
38
* This program is distributed in the hope that it will be useful,
39
* but WITHOUT ANY WARRANTY; without even the implied warranty of
40
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
41
* GNU General Public License for more details.
42
*
43
* You should have received a copy of the GNU General Public License
44
* along with this program; if not, write to the Free Software
45
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
46
*
47
*/
48
#ifndef TData
49
#define TData
50
56
/*
57
Este fichero contiene los tipos de datos utilizados por todos
58
*/
59
60
#ifndef M_PI
61
#define M_PI 3.14159265358979323846
62
#endif
63
64
#define MAXLASERPOINTS 720
65
66
// #define RADIO 0.4F /* Radio del robot */
67
68
typedef
struct
{
69
float
x
;
70
float
y
;
71
}
Tpf
;
72
73
74
typedef
struct
{
75
float
r
;
76
float
t
;
77
}
Tpfp
;
78
79
typedef
struct
{
80
int
x
;
81
int
y
;
82
}
Tpi
;
83
84
typedef
struct
{
85
float
x
;
86
float
y
;
87
float
tita
;
88
}
Tsc
;
89
90
typedef
struct
{
91
int
numPuntos
;
92
Tpf
laserC[
MAXLASERPOINTS
];
// Cartesian coordinates
93
Tpfp
laserP[
MAXLASERPOINTS
];
// Polar coordinates
94
}
Tscan
;
95
96
97
98
99
// Associations information
100
typedef
struct
{
101
float
rx,
ry
,nx,ny,dist;
// Point (nx,ny), static corr (rx,ry), dist
102
int
numDyn
;
// Number of dynamic associations
103
float
unknown
;
// Unknown weight
104
int
index
;
// Index within the original scan
105
int
L,
R
;
106
}
TAsoc
;
107
108
109
#endif
Tpi::x
int x
Definition:
TData.h:80
Tpfp::t
float t
Definition:
TData.h:76
Tpi::y
int y
Definition:
TData.h:81
Tsc::tita
float tita
Definition:
TData.h:87
Tpi
Definition:
TData.h:79
TAsoc::R
int R
Definition:
TData.h:105
Tpf
Definition:
TData.h:68
Tpf::y
float y
Definition:
TData.h:70
Tpfp::r
float r
Definition:
TData.h:75
MAXLASERPOINTS
#define MAXLASERPOINTS
Definition:
TData.h:64
Tsc
Definition:
TData.h:84
Tsc::y
float y
Definition:
TData.h:86
TAsoc::unknown
float unknown
Definition:
TData.h:103
Tsc::x
float x
Definition:
TData.h:85
TAsoc
Definition:
TData.h:100
TAsoc::numDyn
int numDyn
Definition:
TData.h:102
TAsoc::ry
float ry
Definition:
TData.h:101
TAsoc::index
int index
Definition:
TData.h:104
Tscan::numPuntos
int numPuntos
Definition:
TData.h:91
Tpf::x
float x
Definition:
TData.h:69
Tpfp
Definition:
TData.h:74
Tscan
Definition:
TData.h:90
lidar_egomotion
Author(s): Jorge Almeida
autogenerated on Mon Mar 2 2015 01:32:10