Browse Source

Debug messages disabled for rc control and receiver. Increased the send interval of the flight control script.

klaute 1 year ago
parent
commit
8ebd824740
4 changed files with 4 additions and 3 deletions
  1. 1
    1
      esp_rc_ctrl/esp_rc_ctrl.ino
  2. 1
    1
      esp_rc_receiver/esp_rc_receiver.ino
  3. 1
    0
      tools/fctrl.bat
  4. 1
    1
      tools/fctrl.py

+ 1
- 1
esp_rc_ctrl/esp_rc_ctrl.ino View File

@@ -7,7 +7,7 @@
7 7
 
8 8
 /*****************************************************************************/
9 9
 
10
-#define DEBUG
10
+//#define DEBUG
11 11
 
12 12
 #define LED_PIN 2
13 13
 

+ 1
- 1
esp_rc_receiver/esp_rc_receiver.ino View File

@@ -8,7 +8,7 @@
8 8
 
9 9
 /*****************************************************************************/
10 10
 
11
-#define DEBUG
11
+//#define DEBUG
12 12
 
13 13
 #define LED_PIN 2
14 14
 

+ 1
- 0
tools/fctrl.bat View File

@@ -2,6 +2,7 @@ python fctrl.py -nonet -debug -ser COM25
2 2
 python fctrl.py -nonet -debug -ser COM26
3 3
 python fctrl.py -debug -ser COM3
4 4
 python fctrl.py -debug -ser COM4
5
+rem python fctrl.py -test -debug -ser COM18
5 6
 python fctrl.py -debug -ser COM18
6 7
 
7 8
 pause

+ 1
- 1
tools/fctrl.py View File

@@ -14,7 +14,7 @@ import threading
14 14
 
15 15
 MAIN_LOOP_DELAY = 20 # time in ms
16 16
 
17
-SEND_THREAD_UPDATE_DELAY = 200 # time in ms
17
+SEND_THREAD_UPDATE_DELAY = 40 # time in ms
18 18
 
19 19
 ################################################################################
20 20
 

Loading…
Cancel
Save