Dependencies:   mbed

verwerking/goto.h

Committer:
pd0wm
Date:
2011-09-27
Revision:
0:bec310bde899

File content as of revision 0:bec310bde899:

#ifndef GOTO_H
#define GOTO_H

#include "pws.h"
#include "gps_wrapper.h"
#include "route.h"
#include "vaantje.h"
#include "kompas.h"
#include "rhumb.h"
#include <math.h>

class Goto{
    Gps * huidig;
    Route * doel;
    Vaantje * vaantje;
    Kompas * kompas;
    
    int opkruisen;
    int eerste;
    int reset;
    int rak;
    int hys;
    
    pos begin_opkruisen;
    pos begin_rak;
    double koers_begin;
    int boeg;
    
    int holdcourse;
    int course;
    
    int minhoek;
    
    public:
        Goto(Gps *, Route *, Kompas *, Vaantje *);
        double get(void);
        void manual(int,int);
        void setminhoek(int m){minhoek = m;}
        void sethys(int h){hys = h;}
        int getminhoek(void){return minhoek;}
        
};
    

    
    
    
#endif