TData.h
Go to the documentation of this file.
1 /***************************************************/
2 /* Last Revised:
3 $Id: TData.h 4129 2007-08-21 23:16:24Z gerkey $
4 */
5 /***************************************************/
6 
7 #ifndef TData
8 #define TData
9 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
14 /*
15  Este fichero contiene los tipos de datos utilizados por todos
16 */
17 
18 #ifndef M_PI
19 #define M_PI 3.14159265358979323846
20 #endif
21 
22 #define MAXLASERPOINTS 361
23 
24 #define RADIO 0.4F /* Radio del robot */
25 
26 typedef struct {
27  float x;
28  float y;
29 }Tpf;
30 
31 
32 typedef struct {
33  float r;
34  float t;
35 }Tpfp;
36 
37 typedef struct {
38  int x;
39  int y;
40 }Tpi;
41 
42 typedef struct {
43  float x;
44  float y;
45  float tita;
46 }Tsc;
47 
48 typedef struct {
49  int numPuntos;
50  Tpf laserC[MAXLASERPOINTS]; // Cartesian coordinates
51  Tpfp laserP[MAXLASERPOINTS]; // Polar coordinates
52 }Tscan;
53 
54 
55 // Associations information
56 typedef struct{
57  float rx,ry,nx,ny,dist; // Point (nx,ny), static corr (rx,ry), dist
58  int numDyn; // Number of dynamic associations
59  float unknown; // Unknown weight
60  int index; // Index within the original scan
61  int L,R;
62 }TAsoc;
63 
64 #ifdef __cplusplus
65 }
66 #endif
67 
68 #endif
Tpfp::t
float t
Definition: TData.h:34
TAsoc::numDyn
int numDyn
Definition: TData.h:58
Tscan::numPuntos
int numPuntos
Definition: TData.h:49
Tsc::tita
float tita
Definition: TData.h:45
TAsoc::unknown
float unknown
Definition: TData.h:59
Tpi::x
int x
Definition: TData.h:38
Tpi::y
int y
Definition: TData.h:39
Tpf::y
float y
Definition: TData.h:28
Tpfp::r
float r
Definition: TData.h:33
TAsoc
Definition: TData.h:56
Tsc::x
float x
Definition: TData.h:43
TAsoc::ry
float ry
Definition: TData.h:57
Tpi
Definition: TData.h:37
Tpf
Definition: TData.h:26
Tsc::y
float y
Definition: TData.h:44
TAsoc::index
int index
Definition: TData.h:60
TAsoc::R
int R
Definition: TData.h:61
Tscan
Definition: TData.h:48
Tsc
Definition: TData.h:42
Tpfp
Definition: TData.h:32
MAXLASERPOINTS
#define MAXLASERPOINTS
Definition: TData.h:22
Tpf::x
float x
Definition: TData.h:27


csm
Author(s): Andrea Censi
autogenerated on Wed Aug 17 2022 02:50:34