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
int x
Definition: TData.h:38
float t
Definition: TData.h:34
int y
Definition: TData.h:39
float tita
Definition: TData.h:45
Definition: TData.h:37
int R
Definition: TData.h:61
Definition: TData.h:26
float y
Definition: TData.h:28
float r
Definition: TData.h:33
#define MAXLASERPOINTS
Definition: TData.h:22
Definition: TData.h:42
float y
Definition: TData.h:44
float unknown
Definition: TData.h:59
float x
Definition: TData.h:43
Definition: TData.h:56
int numDyn
Definition: TData.h:58
float ry
Definition: TData.h:57
int index
Definition: TData.h:60
int numPuntos
Definition: TData.h:49
float x
Definition: TData.h:27
Definition: TData.h:32
Definition: TData.h:48


csm
Author(s): Andrea Censi
autogenerated on Tue May 11 2021 02:18:23