Easy Training / Mbed 2 deprecated Teach_demo

Dependencies:   mbed Teach memory

Revision:
0:ad924d8a2f98
Child:
1:33fdaabcdeda
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/teach.h	Wed Mar 25 21:36:24 2020 +0000
@@ -0,0 +1,43 @@
+/*
+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
+    
+    
+    
+    
+    
\ No newline at end of file