MainWindow.ui 49.4 KB
Newer Older
roangel's avatar
roangel committed
1
2
3
4
5
6
7
8
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>MainWindow</class>
 <widget class="QMainWindow" name="MainWindow">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
9
10
    <width>1042</width>
    <height>701</height>
roangel's avatar
roangel committed
11
12
   </rect>
  </property>
13
14
15
16
17
18
19
20
  <property name="sizePolicy">
   <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
    <horstretch>0</horstretch>
    <verstretch>0</verstretch>
   </sizepolicy>
  </property>
  <property name="maximumSize">
   <size>
roangel's avatar
roangel committed
21
22
    <width>1500</width>
    <height>1000</height>
23
24
   </size>
  </property>
roangel's avatar
roangel committed
25
26
27
28
29
  <property name="windowTitle">
   <string>MainWindow</string>
  </property>
  <widget class="QWidget" name="centralWidget">
   <layout class="QGridLayout" name="gridLayout">
30
31
32
33
34
35
    <item row="4" column="1" colspan="2">
     <widget class="QGroupBox" name="groupBox_general">
      <property name="title">
       <string/>
      </property>
      <layout class="QGridLayout" name="gridLayout_10">
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
       <item row="3" column="1">
        <widget class="QGroupBox" name="groupBox_4">
         <property name="title">
          <string/>
         </property>
         <layout class="QVBoxLayout" name="verticalLayout">
          <item>
           <widget class="QPushButton" name="motors_OFF_button">
            <property name="sizePolicy">
             <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
              <horstretch>0</horstretch>
              <verstretch>0</verstretch>
             </sizepolicy>
            </property>
            <property name="text">
             <string>Motors OFF</string>
            </property>
           </widget>
          </item>
          <item>
           <widget class="QPushButton" name="take_off_button">
            <property name="sizePolicy">
             <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
              <horstretch>0</horstretch>
              <verstretch>0</verstretch>
             </sizepolicy>
            </property>
            <property name="text">
             <string>Take Off</string>
            </property>
           </widget>
          </item>
          <item>
           <widget class="QPushButton" name="land_button">
            <property name="sizePolicy">
             <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
              <horstretch>0</horstretch>
              <verstretch>0</verstretch>
             </sizepolicy>
            </property>
            <property name="text">
             <string>Land</string>
            </property>
           </widget>
          </item>
          <item>
           <widget class="QLabel" name="label_battery">
            <property name="font">
             <font>
              <pointsize>9</pointsize>
              <italic>true</italic>
             </font>
            </property>
            <property name="text">
             <string/>
            </property>
           </widget>
          </item>
         </layout>
        </widget>
       </item>
       <item row="1" column="0">
        <widget class="QGroupBox" name="groupBox">
         <property name="sizePolicy">
          <sizepolicy hsizetype="Maximum" vsizetype="Preferred">
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
         </property>
         <property name="font">
          <font>
           <pointsize>18</pointsize>
          </font>
         </property>
         <property name="title">
          <string>StudentID # connected to CF #</string>
         </property>
         <layout class="QGridLayout" name="gridLayout_2">
          <item row="1" column="0">
           <widget class="QLabel" name="raw_voltage_label">
            <property name="sizePolicy">
             <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
              <horstretch>0</horstretch>
              <verstretch>0</verstretch>
             </sizepolicy>
            </property>
            <property name="font">
             <font>
              <pointsize>18</pointsize>
              <italic>false</italic>
             </font>
            </property>
            <property name="text">
             <string>Raw voltage: </string>
            </property>
           </widget>
          </item>
          <item row="1" column="1">
           <widget class="QLineEdit" name="voltage_field">
            <property name="sizePolicy">
             <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
              <horstretch>0</horstretch>
              <verstretch>0</verstretch>
             </sizepolicy>
            </property>
            <property name="maximumSize">
             <size>
              <width>80</width>
              <height>16777215</height>
             </size>
            </property>
            <property name="readOnly">
             <bool>true</bool>
            </property>
           </widget>
          </item>
         </layout>
        </widget>
       </item>
       <item row="1" column="1">
        <widget class="QLabel" name="flying_state_label">
         <property name="sizePolicy">
          <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
         </property>
         <property name="text">
          <string>FlyingState</string>
         </property>
         <property name="alignment">
          <set>Qt::AlignCenter</set>
         </property>
        </widget>
       </item>
171
       <item row="3" column="0">
172
173
        <widget class="QTabWidget" name="tabWidget">
         <property name="currentIndex">
174
          <number>1</number>
175
176
177
178
179
180
181
182
183
184
185
186
187
188
         </property>
         <widget class="QWidget" name="tab_3">
          <attribute name="title">
           <string>Safe Controller</string>
          </attribute>
          <layout class="QGridLayout" name="gridLayout_5">
           <item row="0" column="0">
            <widget class="QGroupBox" name="groupBox_2">
             <property name="title">
              <string/>
             </property>
             <layout class="QGridLayout" name="gridLayout_3">
              <item row="6" column="1">
               <widget class="QLineEdit" name="current_roll">
189
190
191
192
193
194
                <property name="sizePolicy">
                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
                  <horstretch>0</horstretch>
                  <verstretch>0</verstretch>
                 </sizepolicy>
                </property>
195
196
197
198
199
200
201
                <property name="readOnly">
                 <bool>true</bool>
                </property>
               </widget>
              </item>
              <item row="2" column="1">
               <widget class="QLineEdit" name="current_y">
202
203
204
205
206
207
                <property name="sizePolicy">
                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
                  <horstretch>0</horstretch>
                  <verstretch>0</verstretch>
                 </sizepolicy>
                </property>
208
209
210
211
212
213
214
                <property name="readOnly">
                 <bool>true</bool>
                </property>
               </widget>
              </item>
              <item row="4" column="1">
               <widget class="QLineEdit" name="current_yaw">
215
216
217
218
219
220
                <property name="sizePolicy">
                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
                  <horstretch>0</horstretch>
                  <verstretch>0</verstretch>
                 </sizepolicy>
                </property>
221
222
223
224
225
226
227
                <property name="readOnly">
                 <bool>true</bool>
                </property>
               </widget>
              </item>
              <item row="3" column="1">
               <widget class="QLineEdit" name="current_z">
228
229
230
231
232
233
                <property name="sizePolicy">
                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
                  <horstretch>0</horstretch>
                  <verstretch>0</verstretch>
                 </sizepolicy>
                </property>
234
235
236
237
238
239
240
                <property name="readOnly">
                 <bool>true</bool>
                </property>
               </widget>
              </item>
              <item row="1" column="0">
               <widget class="QLabel" name="current_x_label">
241
242
243
244
245
246
                <property name="sizePolicy">
                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
                  <horstretch>0</horstretch>
                  <verstretch>0</verstretch>
                 </sizepolicy>
                </property>
247
                <property name="text">
roangel's avatar
roangel committed
248
                 <string>x [m] =</string>
249
250
251
252
253
                </property>
               </widget>
              </item>
              <item row="3" column="0">
               <widget class="QLabel" name="current_z_label">
254
255
256
257
258
259
                <property name="sizePolicy">
                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
                  <horstretch>0</horstretch>
                  <verstretch>0</verstretch>
                 </sizepolicy>
                </property>
260
                <property name="text">
roangel's avatar
roangel committed
261
                 <string>z [m] =</string>
262
263
264
265
266
                </property>
               </widget>
              </item>
              <item row="2" column="0">
               <widget class="QLabel" name="current_y_label">
267
268
269
270
271
272
                <property name="sizePolicy">
                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
                  <horstretch>0</horstretch>
                  <verstretch>0</verstretch>
                 </sizepolicy>
                </property>
273
                <property name="text">
roangel's avatar
roangel committed
274
                 <string>y [m] =</string>
275
276
277
278
279
                </property>
               </widget>
              </item>
              <item row="4" column="0">
               <widget class="QLabel" name="current_yaw_label">
280
281
282
283
284
285
                <property name="sizePolicy">
                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
                  <horstretch>0</horstretch>
                  <verstretch>0</verstretch>
                 </sizepolicy>
                </property>
286
                <property name="text">
roangel's avatar
roangel committed
287
                 <string>yaw [deg] = </string>
288
289
290
291
292
                </property>
               </widget>
              </item>
              <item row="1" column="1">
               <widget class="QLineEdit" name="current_x">
293
294
295
296
297
298
                <property name="sizePolicy">
                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
                  <horstretch>0</horstretch>
                  <verstretch>0</verstretch>
                 </sizepolicy>
                </property>
299
300
301
302
303
304
305
                <property name="readOnly">
                 <bool>true</bool>
                </property>
               </widget>
              </item>
              <item row="5" column="0">
               <widget class="QLabel" name="current_pitch_label">
306
307
308
309
310
311
                <property name="sizePolicy">
                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
                  <horstretch>0</horstretch>
                  <verstretch>0</verstretch>
                 </sizepolicy>
                </property>
312
                <property name="text">
roangel's avatar
roangel committed
313
                 <string>pitch [deg] =</string>
314
315
316
317
318
                </property>
               </widget>
              </item>
              <item row="6" column="0">
               <widget class="QLabel" name="current_roll_label">
319
320
321
322
323
324
                <property name="sizePolicy">
                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
                  <horstretch>0</horstretch>
                  <verstretch>0</verstretch>
                 </sizepolicy>
                </property>
325
                <property name="text">
roangel's avatar
roangel committed
326
                 <string>roll [deg] =</string>
327
328
329
330
331
                </property>
               </widget>
              </item>
              <item row="5" column="1">
               <widget class="QLineEdit" name="current_pitch">
332
333
334
335
336
337
                <property name="sizePolicy">
                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
                  <horstretch>0</horstretch>
                  <verstretch>0</verstretch>
                 </sizepolicy>
                </property>
338
339
340
341
342
343
344
                <property name="readOnly">
                 <bool>true</bool>
                </property>
               </widget>
              </item>
              <item row="0" column="1">
               <widget class="QLabel" name="label_4">
345
346
347
348
349
350
                <property name="sizePolicy">
                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
                  <horstretch>0</horstretch>
                  <verstretch>0</verstretch>
                 </sizepolicy>
                </property>
351
352
353
                <property name="text">
                 <string>Current</string>
                </property>
roangel's avatar
roangel committed
354
355
356
                <property name="alignment">
                 <set>Qt::AlignCenter</set>
                </property>
357
358
359
360
               </widget>
              </item>
              <item row="1" column="2">
               <widget class="QLineEdit" name="diff_x">
361
362
363
364
365
366
                <property name="sizePolicy">
                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
                  <horstretch>0</horstretch>
                  <verstretch>0</verstretch>
                 </sizepolicy>
                </property>
367
368
369
370
371
372
373
                <property name="readOnly">
                 <bool>true</bool>
                </property>
               </widget>
              </item>
              <item row="2" column="2">
               <widget class="QLineEdit" name="diff_y">
374
375
376
377
378
379
                <property name="sizePolicy">
                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
                  <horstretch>0</horstretch>
                  <verstretch>0</verstretch>
                 </sizepolicy>
                </property>
380
381
382
383
384
385
386
                <property name="readOnly">
                 <bool>true</bool>
                </property>
               </widget>
              </item>
              <item row="3" column="2">
               <widget class="QLineEdit" name="diff_z">
387
388
389
390
391
392
                <property name="sizePolicy">
                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
                  <horstretch>0</horstretch>
                  <verstretch>0</verstretch>
                 </sizepolicy>
                </property>
393
394
395
396
397
398
399
                <property name="readOnly">
                 <bool>true</bool>
                </property>
               </widget>
              </item>
              <item row="4" column="2">
               <widget class="QLineEdit" name="diff_yaw">
400
401
402
403
404
405
                <property name="sizePolicy">
                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
                  <horstretch>0</horstretch>
                  <verstretch>0</verstretch>
                 </sizepolicy>
                </property>
406
407
408
409
410
411
412
                <property name="readOnly">
                 <bool>true</bool>
                </property>
               </widget>
              </item>
              <item row="0" column="2">
               <widget class="QLabel" name="label_5">
413
414
415
416
417
418
                <property name="sizePolicy">
                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
                  <horstretch>0</horstretch>
                  <verstretch>0</verstretch>
                 </sizepolicy>
                </property>
419
420
421
                <property name="text">
                 <string>Difference</string>
                </property>
roangel's avatar
roangel committed
422
423
424
                <property name="alignment">
                 <set>Qt::AlignCenter</set>
                </property>
425
426
427
               </widget>
              </item>
             </layout>
428
429
430
            </widget>
           </item>
           <item row="0" column="1">
431
432
433
434
435
436
            <widget class="QGroupBox" name="groupBox_3">
             <property name="title">
              <string/>
             </property>
             <layout class="QGridLayout" name="gridLayout_4">
              <item row="2" column="2">
437
438
439
440
441
442
443
444
               <widget class="QLineEdit" name="new_setpoint_y">
                <property name="sizePolicy">
                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
                  <horstretch>0</horstretch>
                  <verstretch>0</verstretch>
                 </sizepolicy>
                </property>
               </widget>
445
446
              </item>
              <item row="4" column="2">
447
448
449
450
451
452
453
454
               <widget class="QLineEdit" name="new_setpoint_yaw">
                <property name="sizePolicy">
                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
                  <horstretch>0</horstretch>
                  <verstretch>0</verstretch>
                 </sizepolicy>
                </property>
               </widget>
455
456
              </item>
              <item row="1" column="2">
457
458
459
460
461
462
463
464
               <widget class="QLineEdit" name="new_setpoint_x">
                <property name="sizePolicy">
                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
                  <horstretch>0</horstretch>
                  <verstretch>0</verstretch>
                 </sizepolicy>
                </property>
               </widget>
465
466
467
              </item>
              <item row="2" column="1">
               <widget class="QLineEdit" name="current_setpoint_y">
468
469
470
471
472
473
                <property name="sizePolicy">
                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
                  <horstretch>0</horstretch>
                  <verstretch>0</verstretch>
                 </sizepolicy>
                </property>
474
475
476
477
478
479
480
                <property name="readOnly">
                 <bool>true</bool>
                </property>
               </widget>
              </item>
              <item row="1" column="1">
               <widget class="QLineEdit" name="current_setpoint_x">
481
482
483
484
485
486
                <property name="sizePolicy">
                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
                  <horstretch>0</horstretch>
                  <verstretch>0</verstretch>
                 </sizepolicy>
                </property>
487
488
489
490
491
492
493
                <property name="readOnly">
                 <bool>true</bool>
                </property>
               </widget>
              </item>
              <item row="4" column="0">
               <widget class="QLabel" name="label_11">
494
495
496
497
498
499
                <property name="sizePolicy">
                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
                  <horstretch>0</horstretch>
                  <verstretch>0</verstretch>
                 </sizepolicy>
                </property>
500
                <property name="text">
roangel's avatar
roangel committed
501
                 <string>yaw [deg] =</string>
502
503
504
505
506
                </property>
               </widget>
              </item>
              <item row="0" column="1">
               <widget class="QLabel" name="label_12">
507
508
509
510
511
512
                <property name="sizePolicy">
                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
                  <horstretch>0</horstretch>
                  <verstretch>0</verstretch>
                 </sizepolicy>
                </property>
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
                <property name="font">
                 <font>
                  <pointsize>7</pointsize>
                 </font>
                </property>
                <property name="text">
                 <string>Current</string>
                </property>
                <property name="alignment">
                 <set>Qt::AlignCenter</set>
                </property>
               </widget>
              </item>
              <item row="1" column="0">
               <widget class="QLabel" name="label_7">
528
529
530
531
532
533
                <property name="sizePolicy">
                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
                  <horstretch>0</horstretch>
                  <verstretch>0</verstretch>
                 </sizepolicy>
                </property>
534
                <property name="text">
roangel's avatar
roangel committed
535
                 <string>x [m] =</string>
536
537
538
539
540
                </property>
               </widget>
              </item>
              <item row="3" column="0">
               <widget class="QLabel" name="label_9">
541
542
543
544
545
546
                <property name="sizePolicy">
                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
                  <horstretch>0</horstretch>
                  <verstretch>0</verstretch>
                 </sizepolicy>
                </property>
547
                <property name="text">
roangel's avatar
roangel committed
548
                 <string>z [m] =</string>
549
550
551
552
553
                </property>
               </widget>
              </item>
              <item row="2" column="0">
               <widget class="QLabel" name="label_8">
554
555
556
557
558
559
                <property name="sizePolicy">
                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
                  <horstretch>0</horstretch>
                  <verstretch>0</verstretch>
                 </sizepolicy>
                </property>
560
                <property name="text">
roangel's avatar
roangel committed
561
                 <string>y [m] =</string>
562
563
564
565
566
                </property>
               </widget>
              </item>
              <item row="3" column="1">
               <widget class="QLineEdit" name="current_setpoint_z">
567
568
569
570
571
572
                <property name="sizePolicy">
                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
                  <horstretch>0</horstretch>
                  <verstretch>0</verstretch>
                 </sizepolicy>
                </property>
573
574
575
576
577
578
579
                <property name="readOnly">
                 <bool>true</bool>
                </property>
               </widget>
              </item>
              <item row="5" column="2">
               <widget class="QPushButton" name="set_setpoint_button">
580
581
582
583
584
585
                <property name="sizePolicy">
                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
                  <horstretch>0</horstretch>
                  <verstretch>0</verstretch>
                 </sizepolicy>
                </property>
586
587
588
589
590
591
592
593
594
595
596
597
                <property name="font">
                 <font>
                  <pointsize>7</pointsize>
                 </font>
                </property>
                <property name="text">
                 <string>Set setpoint</string>
                </property>
               </widget>
              </item>
              <item row="4" column="1">
               <widget class="QLineEdit" name="current_setpoint_yaw">
598
599
600
601
602
603
                <property name="sizePolicy">
                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
                  <horstretch>0</horstretch>
                  <verstretch>0</verstretch>
                 </sizepolicy>
                </property>
604
605
606
607
608
609
                <property name="readOnly">
                 <bool>true</bool>
                </property>
               </widget>
              </item>
              <item row="3" column="2">
610
611
612
613
614
615
616
617
               <widget class="QLineEdit" name="new_setpoint_z">
                <property name="sizePolicy">
                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
                  <horstretch>0</horstretch>
                  <verstretch>0</verstretch>
                 </sizepolicy>
                </property>
               </widget>
618
619
620
              </item>
              <item row="0" column="0">
               <widget class="QLabel" name="label_3">
621
622
623
624
625
626
                <property name="sizePolicy">
                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
                  <horstretch>0</horstretch>
                  <verstretch>0</verstretch>
                 </sizepolicy>
                </property>
627
628
629
630
631
632
633
                <property name="text">
                 <string>Setpoint:</string>
                </property>
               </widget>
              </item>
              <item row="0" column="2">
               <widget class="QLabel" name="label_13">
634
635
636
637
638
639
                <property name="sizePolicy">
                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
                  <horstretch>0</horstretch>
                  <verstretch>0</verstretch>
                 </sizepolicy>
                </property>
640
641
642
643
644
645
646
647
648
649
650
651
652
653
                <property name="font">
                 <font>
                  <pointsize>7</pointsize>
                 </font>
                </property>
                <property name="text">
                 <string>New</string>
                </property>
                <property name="alignment">
                 <set>Qt::AlignCenter</set>
                </property>
               </widget>
              </item>
             </layout>
654
655
656
            </widget>
           </item>
           <item row="1" column="1">
657
            <widget class="QPushButton" name="en_safe_controller">
658
659
660
661
662
663
664
665
666
667
668
669
             <property name="sizePolicy">
              <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
               <horstretch>0</horstretch>
               <verstretch>0</verstretch>
              </sizepolicy>
             </property>
             <property name="maximumSize">
              <size>
               <width>16777215</width>
               <height>50</height>
              </size>
             </property>
670
             <property name="text">
671
              <string>Enable Safe Controller</string>
672
673
674
             </property>
            </widget>
           </item>
675
676
           <item row="1" column="0">
            <widget class="QPushButton" name="load_safe_yaml_button">
677
678
679
680
681
682
683
684
685
686
687
688
             <property name="sizePolicy">
              <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
               <horstretch>0</horstretch>
               <verstretch>0</verstretch>
              </sizepolicy>
             </property>
             <property name="maximumSize">
              <size>
               <width>16777215</width>
               <height>50</height>
              </size>
             </property>
689
             <property name="text">
690
              <string>Load Safecontroller YAML file</string>
691
692
693
             </property>
            </widget>
           </item>
694
695
          </layout>
         </widget>
696
697
698
699
700
         <widget class="QWidget" name="tab_4">
          <attribute name="title">
           <string>Custom Controller</string>
          </attribute>
          <layout class="QGridLayout" name="gridLayout_9">
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
           <item row="2" column="1">
            <widget class="QPushButton" name="customButton_2">
             <property name="text">
              <string>Custom Command 2</string>
             </property>
            </widget>
           </item>
           <item row="3" column="1">
            <widget class="QPushButton" name="customButton_3">
             <property name="text">
              <string>Custom Command 3</string>
             </property>
            </widget>
           </item>
           <item row="1" column="1">
            <widget class="QPushButton" name="customButton_1">
             <property name="text">
              <string>Custom Command 1</string>
             </property>
            </widget>
           </item>
722
723
724
725
726
727
728
729
           <item row="0" column="0">
            <widget class="QGroupBox" name="groupBox_5">
             <property name="title">
              <string/>
             </property>
             <layout class="QGridLayout" name="gridLayout_7">
              <item row="6" column="1">
               <widget class="QLineEdit" name="current_roll_2">
730
731
732
733
734
735
                <property name="sizePolicy">
                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
                  <horstretch>0</horstretch>
                  <verstretch>0</verstretch>
                 </sizepolicy>
                </property>
736
737
738
739
740
741
742
                <property name="readOnly">
                 <bool>true</bool>
                </property>
               </widget>
              </item>
              <item row="2" column="1">
               <widget class="QLineEdit" name="current_y_2">
roangel's avatar
roangel committed
743
744
745
746
747
748
                <property name="sizePolicy">
                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
                  <horstretch>0</horstretch>
                  <verstretch>0</verstretch>
                 </sizepolicy>
                </property>
749
750
751
752
753
754
755
                <property name="readOnly">
                 <bool>true</bool>
                </property>
               </widget>
              </item>
              <item row="4" column="1">
               <widget class="QLineEdit" name="current_yaw_2">
756
757
758
759
760
761
                <property name="sizePolicy">
                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
                  <horstretch>0</horstretch>
                  <verstretch>0</verstretch>
                 </sizepolicy>
                </property>
762
763
764
765
766
767
768
                <property name="readOnly">
                 <bool>true</bool>
                </property>
               </widget>
              </item>
              <item row="3" column="1">
               <widget class="QLineEdit" name="current_z_2">
769
770
771
772
773
774
                <property name="sizePolicy">
                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
                  <horstretch>0</horstretch>
                  <verstretch>0</verstretch>
                 </sizepolicy>
                </property>
775
776
777
778
779
780
781
                <property name="readOnly">
                 <bool>true</bool>
                </property>
               </widget>
              </item>
              <item row="1" column="0">
               <widget class="QLabel" name="current_x_label_2">
782
783
784
785
786
787
                <property name="sizePolicy">
                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
                  <horstretch>0</horstretch>
                  <verstretch>0</verstretch>
                 </sizepolicy>
                </property>
788
                <property name="text">
roangel's avatar
roangel committed
789
                 <string>x [m] =</string>
790
791
792
793
794
                </property>
               </widget>
              </item>
              <item row="3" column="0">
               <widget class="QLabel" name="current_z_label_2">
795
796
797
798
799
800
                <property name="sizePolicy">
                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
                  <horstretch>0</horstretch>
                  <verstretch>0</verstretch>
                 </sizepolicy>
                </property>
801
                <property name="text">
roangel's avatar
roangel committed
802
                 <string>z [m] =</string>
803
804
805
806
807
808
                </property>
               </widget>
              </item>
              <item row="2" column="0">
               <widget class="QLabel" name="current_y_label_2">
                <property name="text">
roangel's avatar
roangel committed
809
                 <string>y [m] =</string>
810
811
812
813
814
                </property>
               </widget>
              </item>
              <item row="4" column="0">
               <widget class="QLabel" name="current_yaw_label_2">
815
816
817
818
819
820
                <property name="sizePolicy">
                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
                  <horstretch>0</horstretch>
                  <verstretch>0</verstretch>
                 </sizepolicy>
                </property>
821
                <property name="text">
roangel's avatar
roangel committed
822
                 <string>yaw [deg] = </string>
823
824
825
826
827
                </property>
               </widget>
              </item>
              <item row="1" column="1">
               <widget class="QLineEdit" name="current_x_2">
828
829
830
831
832
833
                <property name="sizePolicy">
                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
                  <horstretch>0</horstretch>
                  <verstretch>0</verstretch>
                 </sizepolicy>
                </property>
834
835
836
837
838
839
840
                <property name="readOnly">
                 <bool>true</bool>
                </property>
               </widget>
              </item>
              <item row="5" column="0">
               <widget class="QLabel" name="current_pitch_label_2">
841
842
843
844
845
846
                <property name="sizePolicy">
                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
                  <horstretch>0</horstretch>
                  <verstretch>0</verstretch>
                 </sizepolicy>
                </property>
847
                <property name="text">
roangel's avatar
roangel committed
848
                 <string>pitch [deg] =</string>
849
850
851
852
853
                </property>
               </widget>
              </item>
              <item row="6" column="0">
               <widget class="QLabel" name="current_roll_label_2">
854
855
856
857
858
859
                <property name="sizePolicy">
                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
                  <horstretch>0</horstretch>
                  <verstretch>0</verstretch>
                 </sizepolicy>
                </property>
860
                <property name="text">
roangel's avatar
roangel committed
861
                 <string>roll [deg] =</string>
862
863
864
865
866
                </property>
               </widget>
              </item>
              <item row="5" column="1">
               <widget class="QLineEdit" name="current_pitch_2">
867
868
869
870
871
872
                <property name="sizePolicy">
                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
                  <horstretch>0</horstretch>
                  <verstretch>0</verstretch>
                 </sizepolicy>
                </property>
873
874
875
876
877
878
879
                <property name="readOnly">
                 <bool>true</bool>
                </property>
               </widget>
              </item>
              <item row="0" column="1">
               <widget class="QLabel" name="label_6">
880
881
882
883
884
885
                <property name="sizePolicy">
                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
                  <horstretch>0</horstretch>
                  <verstretch>0</verstretch>
                 </sizepolicy>
                </property>
886
887
888
                <property name="text">
                 <string>Current</string>
                </property>
roangel's avatar
roangel committed
889
890
891
                <property name="alignment">
                 <set>Qt::AlignCenter</set>
                </property>
892
893
894
895
               </widget>
              </item>
              <item row="1" column="2">
               <widget class="QLineEdit" name="diff_x_2">
896
897
898
899
900
901
                <property name="sizePolicy">
                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
                  <horstretch>0</horstretch>
                  <verstretch>0</verstretch>
                 </sizepolicy>
                </property>
902
903
904
905
906
907
908
                <property name="readOnly">
                 <bool>true</bool>
                </property>
               </widget>
              </item>
              <item row="2" column="2">
               <widget class="QLineEdit" name="diff_y_2">
roangel's avatar
roangel committed
909
910
911
912
913
914
                <property name="sizePolicy">
                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
                  <horstretch>0</horstretch>
                  <verstretch>0</verstretch>
                 </sizepolicy>
                </property>
915
916
917
918
919
920
921
                <property name="readOnly">
                 <bool>true</bool>
                </property>
               </widget>
              </item>
              <item row="3" column="2">
               <widget class="QLineEdit" name="diff_z_2">
922
923
924
925
926
927
                <property name="sizePolicy">
                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
                  <horstretch>0</horstretch>
                  <verstretch>0</verstretch>
                 </sizepolicy>
                </property>
928
929
930
931
932
933
934
                <property name="readOnly">
                 <bool>true</bool>
                </property>
               </widget>
              </item>
              <item row="4" column="2">
               <widget class="QLineEdit" name="diff_yaw_2">
935
936
937
938
939
940
                <property name="sizePolicy">
                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
                  <horstretch>0</horstretch>
                  <verstretch>0</verstretch>
                 </sizepolicy>
                </property>
941
942
943
944
945
946
947
                <property name="readOnly">
                 <bool>true</bool>
                </property>
               </widget>
              </item>
              <item row="0" column="2">
               <widget class="QLabel" name="label_10">
948
949
950
951
952
953
                <property name="sizePolicy">
                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
                  <horstretch>0</horstretch>
                  <verstretch>0</verstretch>
                 </sizepolicy>
                </property>
954
955
956
                <property name="text">
                 <string>Difference</string>
                </property>
roangel's avatar
roangel committed
957
958
959
                <property name="alignment">
                 <set>Qt::AlignCenter</set>
                </property>
960
961
962
               </widget>
              </item>
             </layout>
963
964
965
            </widget>
           </item>
           <item row="0" column="1">
966
967
968
969
970
971
            <widget class="QGroupBox" name="groupBox_6">
             <property name="title">
              <string/>
             </property>
             <layout class="QGridLayout" name="gridLayout_8">
              <item row="2" column="2">
972
973
974
975
976
977
978
979
               <widget class="QLineEdit" name="new_setpoint_y_2">
                <property name="sizePolicy">
                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
                  <horstretch>0</horstretch>
                  <verstretch>0</verstretch>
                 </sizepolicy>
                </property>
               </widget>
980
981
              </item>
              <item row="4" column="2">
982
983
984
985
986
987
988
989
               <widget class="QLineEdit" name="new_setpoint_yaw_2">
                <property name="sizePolicy">
                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
                  <horstretch>0</horstretch>
                  <verstretch>0</verstretch>
                 </sizepolicy>
                </property>
               </widget>
990
991
              </item>
              <item row="1" column="2">
992
993
994
995
996
997
998
999
               <widget class="QLineEdit" name="new_setpoint_x_2">
                <property name="sizePolicy">
                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
                  <horstretch>0</horstretch>
                  <verstretch>0</verstretch>
                 </sizepolicy>
                </property>
               </widget>
1000
              </item>
For faster browsing, not all history is shown. View entire blame