2011

Dependencies:   mbed FastPWM

Revision:
118:af86e883dcb4
Parent:
115:f41863b95e6f
Child:
120:17398540bb1c
diff -r 7141c0517b82 -r af86e883dcb4 setting.h
--- a/setting.h	Mon Sep 14 01:01:10 2020 +0000
+++ b/setting.h	Mon Sep 14 02:06:21 2020 +0000
@@ -434,11 +434,13 @@
 #define     numfuture_f         10
 #define     num_input           22  //numpast_x + 1 + numfuture_x + numpast_f + 1 + numfuture_f
 
-#define     num_array_u_past        1  // numpast_u * 2 + 1
-#define     num_array_f_future      21  // numfuture_f * 2 + 1
-#define     num_array_f_past        11  // numpast_f * 2 + 1        
-#define     num_array_x_past        11  // numpast_x * 2 + 1      
-#define     num_array_x_future      1  // numfuture_x * 2 + 1
+#define     num_array_u_past        1  // numpast_u * time_interval + 1
+#define     num_array_f_future      11  // numfuture_f * time_interval + 1
+#define     num_array_f_past        6  // numpast_f * time_interval + 1        
+#define     num_array_x_past        6  // numpast_x * time_interval + 1      
+#define     num_array_x_future      1  // numfuture_x * time_interval + 1
+
+#define     time_interval           1