source: pacpusframework/branches/2.0-beta1/include/Pacpus/structure/SensorTcpServerStructure.h@ 89

Last change on this file since 89 was 89, checked in by morasjul, 11 years ago

PACPUS 2.0 Beta deployed in new branch

Major changes:
-Add communication interface between components
-Add examples for communications interface (TestComponents)
-Move to Qt5 support

  • Property svn:executable set to *
File size: 2.8 KB
Line 
1#ifndef __SensorTcpServerStructure_h__
2#define __SensorTcpServerStructure_h__
3
4
5#include "structure/structure_gyro.h"
6#include "structure/structureCanCarmen.h"
7#include "kernel/road_time.h"
8#include "structure/structure_gps.h"
9#include "kernel/io_hdfile.h"
10
11
12
13// UTC\0
14const long cvisMagicWord = 0x55544300;
15
16
17typedef struct whSpeed{
18 long mw;
19 uint ID;
20 road_time_t rtime;
21 StructWheelSpeed speed;
22}whspeed;
23
24typedef struct suspension{
25 long mw;
26 uint ID ;
27 road_time_t rtime;
28 StructSuspension susp;
29}suspension;
30
31typedef struct vhSpeed{
32 long mw;
33 uint ID;
34 road_time_t rtime;
35 StructVehicleSpeed speed;
36}vhSpeed;
37
38typedef struct LDynamics{
39 long mw;
40 uint ID;
41 road_time_t rtime;
42 StructLateralDynamics dynamics;
43}LDynamics;
44
45typedef struct rLDynamics{
46 long mw;
47 uint ID;
48 road_time_t rtime;
49 StructRawLateralDynamics dynamics;
50}rLDynamics;
51
52typedef struct {
53 long mw;
54 uint ID;
55 trame_avr travr;
56}trameAVR;
57
58typedef struct {
59 long mw;
60 uint ID;
61 road_time_t rtime;
62 trame_gga trgga;
63}trameGGA;
64
65typedef struct {
66 long mw;
67 uint ID;
68 road_time_t rtime;
69 trame_gga_dbl trggadbl;
70}trameGGADBL;
71
72typedef struct {
73 long mw;
74 uint ID;
75 trame_gll trgll;
76}trameGLL;
77
78typedef struct {
79 long mw;
80 uint ID;
81 trame_grs trgrs;
82}trameGRS;
83
84typedef struct {
85 long mw;
86 uint ID;
87 trame_gsa trgsa;
88}trameGSA;
89
90typedef struct {
91 long mw;
92 uint ID;
93 road_time_t rtime;
94 trame_gst trgst;
95}trameGST;
96
97typedef struct {
98 long mw;
99 uint ID;
100 trame_gsv trgsv;
101}trameGSV;
102
103typedef struct {
104 long mw;
105 uint ID;
106 trame_hdt trhdt;
107}trameHDT;
108
109typedef struct {
110 long mw;
111 uint ID;
112 trame_mss trmss;
113}trameMSS;
114
115typedef struct {
116 long mw;
117 uint ID;
118 trame_rmc trrmc;
119}trameRMC;
120
121typedef struct {
122 long mw;
123 uint ID;
124 trame_rot trrot;
125}trameROT;
126
127typedef struct {
128 long mw;
129 uint ID;
130 road_time_t rtime;
131 trame_vtg trvtg;
132}trameVTG;
133
134typedef struct {
135 long mw;
136 uint ID;
137 trame_xte trxte;
138}trameXTE;
139
140typedef struct {
141 long mw;
142 uint ID;
143 trame_zda trzda;
144}trameZDA;
145
146typedef struct {
147 long mw;
148 uint ID;
149 trame_ptnlev trptnlev;
150}tramePTNLEV;
151
152typedef struct {
153 long mw;
154 uint ID;
155 trame_ptnlid trptnlid;
156}tramePTNLID;
157
158typedef struct {
159 long mw;
160 uint ID;
161 trame_ptnldg trptnldg;
162}tramePTNLDG;
163
164typedef struct {
165 long mw;
166 uint ID;
167 trame_ptnlsm trptnlsm;
168}tramePTNLSM;
169
170typedef struct {
171 long mw;
172 uint ID;
173 trame_ptnl_ggk travrptnlggk;
174}tramePTNLGGK;
175
176typedef struct {
177 long mw;
178 uint ID;
179 trame_ptnl_ggk_sync trptnlggksync;
180}tramePTNLGGKSync;
181
182typedef struct {
183 long mw;
184 uint ID;
185 trame_ptnl_pjk trptnlpjk;
186}tramePTNLPJK;
187
188typedef struct {
189 long mw;
190 uint ID;
191 trame_ptnl_pjt trptnlpjt;
192}tramePTNLPJT;
193
194typedef struct {
195 long mw;
196 uint ID;
197 trame_ptnl_vgk trptnlvgk;
198}tramePTNLVGK;
199
200typedef struct {
201 long mw;
202 uint ID;
203 trame_ptnl_vhd trptnlvhd;
204}tramePTNLVHD;
205
206typedef struct {
207 long mw;
208 uint ID;
209 road_time_t rtime;
210 data_gyroKVH trgyrokhv;
211}trameGYROKVH;
212
213#endif
Note: See TracBrowser for help on using the repository browser.