Subversion Repositories Projects

Rev

Rev 440 | Rev 449 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 440 Rev 442
Line 14... Line 14...
14
 
14
 
15
class Handler {
15
class Handler {
16
    private:
16
    private:
Line 17... Line -...
17
        Communication * com;
-
 
18
 
17
        Communication * com;
19
        KopterData * data;
18
 
20
        sRxData rxData;
-
 
-
 
19
        sRxData rxData;
21
    public:
20
    public:
22
 
21
        KopterData * data;
23
        Handler(Communication * com, KopterData * data);
22
        Handler(Communication * com, KopterData * data);
24
        //FlightCtrl commands
23
        //FlightCtrl commands
25
        void get_flightctrl_settings(int index);
24
        void get_flightctrl_settings(int index);
26
        void set_flightctrl_settings(char * tx_data);
25
        void set_flightctrl_settings(char * tx_data);
27
        void motor_test(sMotor motor);
26
        void motor_test(sMotorData motor);
28
        void reset_motor();
27
        void reset_motor();
29
        void read_motor_mixer();
28
        void read_motor_mixer();