Robot Simulator of the Robotics Group for Self-Organization of Control  0.8.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
amosiisensormotordefinition.h
Go to the documentation of this file.
1 /*
2  * amosiisensormotordefinition.h
3  *
4  * Created on: May 2, 2011
5  * Author: poramate
6  *
7  */
8 
9 #ifndef AMOSIISENSORMOTORDEFINITION_H_
10 #define AMOSIISENSORMOTORDEFINITION_H_
11 
13 
14  // Angle sensors (for actoric-sensor board (new board))
15  TR0_as=0, //Thoracic joint of right front leg
16  TR1_as=1, //Thoracic joint of right middle leg
17  TR2_as=2, //Thoracic joint of right hind leg
18 
19  TL0_as=3, //Thoracic joint of left front leg
20  TL1_as=4, //Thoracic joint of left middle leg
21  TL2_as=5, //Thoracic joint of left hind leg
22 
23  CR0_as=6, //Coxa joint of right front leg
24  CR1_as=7, //Coxa joint of right middle leg
25  CR2_as=8, //Coxa joint of right hind leg
26 
27  CL0_as=9, //Coxa joint of left hind leg
28  CL1_as=10, //Coxa joint of left hind leg
29  CL2_as=11, //Coxa joint of left hind leg
30 
31  FR0_as=12, //Fibula joint of right front leg
32  FR1_as=13, //Fibula joint of right middle leg
33  FR2_as=14, //Fibula joint of right hind leg
34 
35  FL0_as=15, //Fibula joint of left front leg
36  FL1_as=16, //Fibula joint of left middle leg
37  FL2_as=17, //Fibula joint of left hind leg
38 
39  BJ_as= 18, //Backbone joint angle
40 
41  //Foot contact sensors (AMOSII v1 and v2)
42  R0_fs= 19, //Right front foot
43  R1_fs= 20, //Right middle foot
44  R2_fs= 21, //Right hind foot
45  L0_fs= 22, //Left front foot
46  L1_fs= 23, //Left middle foot
47  L2_fs= 24, //Left hind foot
48 
49  // US sensors (AMOSII v1 and v2)
50  FR_us=25, //Front Ultrasonic sensor (right)
51  FL_us=26, //Front Ultrasonic sensor (left)
52 
53  // IR reflex sensors at legs (AMOSIIv2)
54  R0_irs=31,
55  R1_irs=29,
56  R2_irs=27,
57  L0_irs=32,
58  L1_irs=30,
59  L2_irs=28,
60 
61  // Ultrasonic reflex sensors at front, middle and rear legs (AMOSIIv1)
62  R0_us= 33,
63  R1_us= 34,
64  L0_us= 35,
65  L1_us= 36,
66 
67  // Torque sensors, used as Current sensors at each motor (for actoric-sensor board (new board))
68  TR0_ts=37,
69  TR1_ts=38,
70  TR2_ts=39,
71 
72  TL0_ts=40,
73  TL1_ts=41,
74  TL2_ts=42,
75 
76  CR0_ts=43,
77  CR1_ts=44,
78  CR2_ts=45,
79 
80  CL0_ts=46,
81  CL1_ts=47,
82  CL2_ts=48,
83 
84  FR0_ts=49,
85  FR1_ts=50,
86  FR2_ts=51,
87 
88  FL0_ts=52,
89  FL1_ts=53,
90  FL2_ts=54,
91 
92  BJ_ts= 55,
93 
94  // 3D Accelerometer (x,y,z) at body (for actoric-sensor board (new board))
95  BX_acs= 56,
96  BY_acs= 57,
97  BZ_acs= 58,
98 
99  //photo (light) sensors Left, Middle and Right (AMOSIIv1 and v2)
100  L_ps = 59,
101  M_ps = 60,
102  R_ps = 61,
103 
104  // goal orientation sensors (relative position to reference object 1, e.g. camera)
105  G0x_s=62,
106  G0y_s=63,
107  G0z_s=64,
108 
109  //average current sensor of motors (ZAP 25)
110  A_cs = 65, //average motor current measurement (amosiiv1 & amosiiv2)
111  B_cs = 121, //direct from Battery of only for amosiiv1
112 
113  //Body speed sensors (only simulation)
114  BX_spd= 66,
115  BY_spd= 67,
116  BZ_spd= 68,
117 
118  //---Adding more sensors**
119 
120  // goal orientation sensors (relative angle to reference object 1, e.g. camera)
124 
125  // goal orientation sensors (relative position to reference object 2, e.g. camera)
126  G1x_s=72,
127  G1y_s=73,
128  G1z_s=74,
129 
130  // goal orientation sensors (relative angle to reference object 2, e.g. camera)
134 
135  // goal orientation sensors (relative position to reference object 3, e.g. camera)
136  G2x_s=78,
137  G2y_s=79,
138  G2z_s=80,
139 
140  // goal orientation sensors (relative angle to reference object 3, e.g. camera)
144 
145  //laser scanner (number of edges found, average height of data points, roughness criterion and minimum/maximum height
146  // AMOSIIv2
152 
153  // AMOSIIv1
154  Poti_s = 89,
155 
156  //Compass sensors at body (for actoric-sensor board (new board))
159 
160  // 3D Accelerometer (x,y,z) at RO
161  // on Foot sensor board, AMOSIIv1 and v2
162  R0X_acs= 92,
163  R0Y_acs= 93,
164  R0Z_acs= 94,
165 
166  // 3D Accelerometer (x,y,z) at R1
167  // on Foot sensor board, AMOSIIv1 and v2
168  R1X_acs= 95,
169  R1Y_acs= 96,
170  R1Z_acs= 97,
171 
172  // 3D Accelerometer (x,y,z) at R2
173  // on Foot sensor board, AMOSIIv1 and v2
174  R2X_acs= 98,
175  R2Y_acs= 99,
176  R2Z_acs= 100,
177 
178  // 3D Accelerometer (x,y,z) at L0
179  // on Foot sensor board, AMOSIIv1 and v2
180  L0X_acs= 101,
181  L0Y_acs= 102,
182  L0Z_acs= 103,
183 
184  // 3D Accelerometer (x,y,z) at L1
185  // on Foot sensor board, AMOSIIv1 and v2
186  L1X_acs= 104,
187  L1Y_acs= 105,
188  L1Z_acs= 106,
189 
190  // 3D Accelerometer (x,y,z) at L2
191  // on Foot sensor board, AMOSIIv1 and v2
192  L2X_acs= 107,
193  L2Y_acs= 108,
194  L2Z_acs= 109,
195 
196  //Microphone sensors (for actoric-sensor board (new board))
197  Microphone0_s= 110, // Microphone 0
198  Microphone1_s= 111, // Microphone 1
199  Microphone2_s= 112, // Microphone 2
200 
201  // Inclinometer sensors of the AMOSIIv1 and v2 body
202  In_x = 113, //around x axis (forward walking direction)
203  In_y = 114, //around y axis (sideward walking direction)
204 
205  //Body position sensors (only simulation)
206  BX_pos = 115, //(forward walking direction)
207  BY_pos = 116, //(sideward walking direction)
208  BZ_pos = 117, //(vertical direction)
209 
210  //Body orientation sensors (only simulation), comparable to compass of the real robot
211  BX_ori = 118, // around x axis
212  BY_ori = 119, // around y axis
213  BZ_ori = 120, // around z axis
214 
215  //Changing according to the maximum sensor number
217 
218 };
219 
220 
221 
223  TR0_m = 0,
224  TR1_m = 1,
225  TR2_m = 2,// Upward (+), Downward (-)
226  TL0_m = 3,
227  TL1_m = 4,
228  TL2_m = 5,
229 
230  CR0_m = 6,
231  CR1_m = 7,
232  CR2_m = 8,// Upward (+), Downward (-)
233  CL0_m = 9,
234  CL1_m = 10,
235  CL2_m = 11,
236 
237  FR0_m = 12,
238  FR1_m = 13,
239  FR2_m = 14, // Upward (+), Downward (-)
240  FL0_m = 15,
241  FL1_m = 16,
242  FL2_m = 17,
243 
244  BJ_m = 18, // Upward (+), Downward (-)
245 
246  //Changing according to the maximum motor number
248 
249 
250 
251 };
252 
253 #endif /* AMOSIISENSORMOTORDEFINITION_H_ */
Definition: amosiisensormotordefinition.h:89
Definition: amosiisensormotordefinition.h:132
AmosIISensorNames
Definition: amosiisensormotordefinition.h:12
Definition: amosiisensormotordefinition.h:16
Definition: amosiisensormotordefinition.h:36
Definition: amosiisensormotordefinition.h:42
Definition: amosiisensormotordefinition.h:128
Definition: amosiisensormotordefinition.h:170
Definition: amosiisensormotordefinition.h:157
Definition: amosiisensormotordefinition.h:180
Definition: amosiisensormotordefinition.h:168
Definition: amosiisensormotordefinition.h:95
Definition: amosiisensormotordefinition.h:213
Definition: amosiisensormotordefinition.h:86
Definition: amosiisensormotordefinition.h:163
Definition: amosiisensormotordefinition.h:187
Definition: amosiisensormotordefinition.h:25
Definition: amosiisensormotordefinition.h:230
Definition: amosiisensormotordefinition.h:202
Definition: amosiisensormotordefinition.h:28
Definition: amosiisensormotordefinition.h:101
Definition: amosiisensormotordefinition.h:78
Definition: amosiisensormotordefinition.h:54
Definition: amosiisensormotordefinition.h:47
Definition: amosiisensormotordefinition.h:115
Definition: amosiisensormotordefinition.h:142
Definition: amosiisensormotordefinition.h:233
Definition: amosiisensormotordefinition.h:33
Definition: amosiisensormotordefinition.h:143
Definition: amosiisensormotordefinition.h:169
Definition: amosiisensormotordefinition.h:211
Definition: amosiisensormotordefinition.h:70
Definition: amosiisensormotordefinition.h:106
Definition: amosiisensormotordefinition.h:24
Definition: amosiisensormotordefinition.h:174
Definition: amosiisensormotordefinition.h:206
Definition: amosiisensormotordefinition.h:198
Definition: amosiisensormotordefinition.h:192
Definition: amosiisensormotordefinition.h:45
Definition: amosiisensormotordefinition.h:242
Definition: amosiisensormotordefinition.h:238
Definition: amosiisensormotordefinition.h:126
Definition: amosiisensormotordefinition.h:50
Definition: amosiisensormotordefinition.h:62
Definition: amosiisensormotordefinition.h:148
Definition: amosiisensormotordefinition.h:23
Definition: amosiisensormotordefinition.h:176
Definition: amosiisensormotordefinition.h:207
Definition: amosiisensormotordefinition.h:141
Definition: amosiisensormotordefinition.h:57
Definition: amosiisensormotordefinition.h:203
Definition: amosiisensormotordefinition.h:90
Definition: amosiisensormotordefinition.h:186
Definition: amosiisensormotordefinition.h:212
Definition: amosiisensormotordefinition.h:114
Definition: amosiisensormotordefinition.h:110
Definition: amosiisensormotordefinition.h:105
Definition: amosiisensormotordefinition.h:181
Definition: amosiisensormotordefinition.h:147
Definition: amosiisensormotordefinition.h:37
Definition: amosiisensormotordefinition.h:77
Definition: amosiisensormotordefinition.h:74
Definition: amosiisensormotordefinition.h:102
Definition: amosiisensormotordefinition.h:111
Definition: amosiisensormotordefinition.h:216
Definition: amosiisensormotordefinition.h:35
Definition: amosiisensormotordefinition.h:21
Definition: amosiisensormotordefinition.h:137
Definition: amosiisensormotordefinition.h:239
Definition: amosiisensormotordefinition.h:228
Definition: amosiisensormotordefinition.h:208
Definition: amosiisensormotordefinition.h:72
Definition: amosiisensormotordefinition.h:149
Definition: amosiisensormotordefinition.h:227
Definition: amosiisensormotordefinition.h:138
Definition: amosiisensormotordefinition.h:193
Definition: amosiisensormotordefinition.h:82
Definition: amosiisensormotordefinition.h:46
Definition: amosiisensormotordefinition.h:80
Definition: amosiisensormotordefinition.h:85
Definition: amosiisensormotordefinition.h:55
Definition: amosiisensormotordefinition.h:162
Definition: amosiisensormotordefinition.h:64
Definition: amosiisensormotordefinition.h:29
Definition: amosiisensormotordefinition.h:31
Definition: amosiisensormotordefinition.h:65
Definition: amosiisensormotordefinition.h:97
Definition: amosiisensormotordefinition.h:197
Definition: amosiisensormotordefinition.h:43
Definition: amosiisensormotordefinition.h:240
Definition: amosiisensormotordefinition.h:123
Definition: amosiisensormotordefinition.h:151
Definition: amosiisensormotordefinition.h:116
Definition: amosiisensormotordefinition.h:244
Definition: amosiisensormotordefinition.h:76
Definition: amosiisensormotordefinition.h:182
Definition: amosiisensormotordefinition.h:127
Definition: amosiisensormotordefinition.h:81
Definition: amosiisensormotordefinition.h:44
Definition: amosiisensormotordefinition.h:88
Definition: amosiisensormotordefinition.h:27
Definition: amosiisensormotordefinition.h:107
Definition: amosiisensormotordefinition.h:223
Definition: amosiisensormotordefinition.h:68
Definition: amosiisensormotordefinition.h:121
Definition: amosiisensormotordefinition.h:58
Definition: amosiisensormotordefinition.h:122
Definition: amosiisensormotordefinition.h:232
Definition: amosiisensormotordefinition.h:63
Definition: amosiisensormotordefinition.h:175
Definition: amosiisensormotordefinition.h:247
Definition: amosiisensormotordefinition.h:19
Definition: amosiisensormotordefinition.h:39
Definition: amosiisensormotordefinition.h:84
Definition: amosiisensormotordefinition.h:17
Definition: amosiisensormotordefinition.h:194
Definition: amosiisensormotordefinition.h:235
Definition: amosiisensormotordefinition.h:20
Definition: amosiisensormotordefinition.h:51
Definition: amosiisensormotordefinition.h:226
Definition: amosiisensormotordefinition.h:100
Definition: amosiisensormotordefinition.h:92
Definition: amosiisensormotordefinition.h:56
AmosIIMotorNames
Definition: amosiisensormotordefinition.h:222
Definition: amosiisensormotordefinition.h:237
Definition: amosiisensormotordefinition.h:231
Definition: amosiisensormotordefinition.h:241
Definition: amosiisensormotordefinition.h:69
Definition: amosiisensormotordefinition.h:164
Definition: amosiisensormotordefinition.h:199
Definition: amosiisensormotordefinition.h:96
Definition: amosiisensormotordefinition.h:188
Definition: amosiisensormotordefinition.h:133
Definition: amosiisensormotordefinition.h:224
Definition: amosiisensormotordefinition.h:150
Definition: amosiisensormotordefinition.h:131
Definition: amosiisensormotordefinition.h:32
Definition: amosiisensormotordefinition.h:234
Definition: amosiisensormotordefinition.h:225
Definition: amosiisensormotordefinition.h:136
Definition: amosiisensormotordefinition.h:154
Definition: amosiisensormotordefinition.h:73
Definition: amosiisensormotordefinition.h:59
Definition: amosiisensormotordefinition.h:15
Definition: amosiisensormotordefinition.h:158