Chun Feng Huang / CURRENT_CONTROL

Fork of CURRENT_CONTROL by LDSC_Robotics_TAs

Files at this revision

API Documentation at this revision

Comitter:
benson516
Date:
Wed Jan 04 10:43:41 2017 +0000
Parent:
15:d9ccd6c92a21
Child:
17:7f16cc2e46fc
Commit message:
Remove the LPF class and use the LPF class in "FILTER_LIB" instead

Changed in this revision

CURRENT_CONTROL.cpp Show annotated file Show diff for this revision Revisions of this file
CURRENT_CONTROL.h Show annotated file Show diff for this revision Revisions of this file
--- a/CURRENT_CONTROL.cpp	Mon Dec 26 08:53:09 2016 +0000
+++ b/CURRENT_CONTROL.cpp	Wed Jan 04 10:43:41 2017 +0000
@@ -1,6 +1,7 @@
 #include "mbed.h"
 #include "CURRENT_CONTROL.h"
 
+/*
 //=====================LPF ====================//
 LPF::LPF(float samplingTime, float cutOff_freq_Hz_in)
 {
@@ -34,7 +35,7 @@
     output = input;
     return;
 }
-
+*/
 
 //================== CURRENT_CONTROL =================//
 CURRENT_CONTROL::CURRENT_CONTROL(PinName curChannel,
--- a/CURRENT_CONTROL.h	Mon Dec 26 08:53:09 2016 +0000
+++ b/CURRENT_CONTROL.h	Wed Jan 04 10:43:41 2017 +0000
@@ -10,10 +10,12 @@
 #include "mbed.h"
 #include "PID.h"
 #include "QEI.h"
+//
+#include "FILTER_LIB.h" // Filter library
 
 
 
-
+/*
 class LPF
 {public:
     float output;
@@ -31,7 +33,7 @@
     // Flag
     bool Flag_Init;
 };
-
+*/
 
 class CURRENT_CONTROL
 {