Easy Training / Mbed 2 deprecated Teach_demo

Dependencies:   mbed Teach memory

teach.h

Committer:
MarcelPortmann
Date:
2020-03-25
Revision:
0:ad924d8a2f98
Child:
1:33fdaabcdeda

File content as of revision 0:ad924d8a2f98:

/*
teach function:
Class to aquier new tranings for the EasyFit Device.
It Records a position in the 3d room and puts the them in serie to create a "hose" to
be repeated in the mode Training.

when questions ask someone else
the autor is not responsible for any spelling mistakes

*/

#ifndef teach_H                                         // no idea what this does
#define teach_H                                         // seems important


class teach
{
public:
    teach(void);                                        // Sets all parameters for the class teach constructor

    //values to be used outside of class --> aka global variabels
    //int initvalue;                                    //startvalue for sum
    //int inc;                                          //the value to increment by
                    
    //functions to be used outside of class            
    void start(void);                                   //Starts the teach function
    void decide(bool b);                                //wen calld from main skips out of pause decides
    void stop(void);                                    //abort abord danger
    
private:
    int k,i;                                             // Counters for data recording
    void temp_store(int k, int i, float* Data);          // Stors data temporary; Data==Pointer to a Data Array (position(x,y,z),time)
    void hose_builder(float*,float*,int length);         // Creates a hose out of al the points in th room
    // objekte von display,memory,position               // für interaktion mit anderen Klassen
    
};

#endif