Wirtek Robotics Workshop / RWR_Utils
Revision:
2:821ffc555d49
Parent:
1:755da47160cb
Child:
3:2ae8e437d637
--- a/RWR_Utils.hxx	Wed Jul 14 08:49:04 2021 +0300
+++ b/RWR_Utils.hxx	Wed Jul 21 00:03:24 2021 +0300
@@ -37,12 +37,13 @@
 #define PID_SETPOINT 0.0f
 #define PID_KP 0.6f
 // #define PID_KP 0.25f
+#define PID_KI 0.0f
 #define PID_KD 0.0f
-#define PID_KI 0.0f
 #define NO_LINE_SPEED_MOTOR_A 0.0f
 #define NO_LINE_SPEED_MOTOR_B 1.0f
 
 // web interface parameters
+#define WEB_ESP_BAUD            115200
 #define WEB_RECEIVE_BUFFER_SIZE 2048
 #define WEB_SEND_BUFFER_SIZE    2048
 #define WEB_RECEIVE_TIMEOUT     10000
@@ -51,7 +52,7 @@
 #define WEB_PASSWORD            "RWRWRWRW"
 #define WEB_CHANNEL             "1"
 #define WEB_ECN                 "3"
-#define WEB_MAX_CONNECTIONS     "2"
+#define WEB_MAX_CONNECTIONS     "1"
 #define WEB_HIDDEN              "0"
 #define WEB_AP_IP               "192.168.0.1"
 #define WEB_AP_GATEWAY          "192.168.0.1"