]> rtime.felk.cvut.cz Git - eurobot/public.git/blob - src/display-qt/ortesignals.h
Merge branch 'maint-demo'
[eurobot/public.git] / src / display-qt / ortesignals.h
1 #ifndef ORTESIGNALS_H
2 #define ORTESIGNALS_H
3
4
5 #include <QObject>
6 #include <orte.h>
7 #include <robottype.h>
8 #include <roboorte_robottype.h>
9 #include "display_orte.h"
10 #include "promene.h"
11
12
13 class OrteSignals : public QObject
14 {
15
16 Q_OBJECT
17
18 public:
19         OrteSignals();
20
21         struct robottype_orte_data orte;
22
23         void createOrte();
24
25         //metody pro emitovani signalu
26         void fsm_con(UDE_fsm_t fsm, QString state);
27         void status_con(UDE_component_t c, UDE_hw_status_t s);
28         void position_con(void);
29         void pwr_con(void);
30         void color_con(char color);
31         void time_con(void);
32
33 signals:
34         void fsm_sig(UDE_fsm_t fsm, QString state);
35         void status_sig(UDE_component_t c, UDE_hw_status_t s);
36         void position_sig(double x, double y, double phi);
37         void pwr_sig(double voltage33, double voltage50, double voltage80, double voltageBAT);
38         void color_sig(char color);
39         void time_sig(double time);
40 };
41
42 #endif