Making an ESP32-based quadcopter from scratch
Python arduinoautopilotcontrol-theorydroneesp32flight-controlflight-controllermavlinkquadcopterquadcopter-firmwareuav
Various minor fixes
Oleg Kalachevca50f7557660
diff --git a/docs/troubleshooting.md b/docs/troubleshooting.mdindex 94ce53c..918116c 100644--- a/docs/troubleshooting.md+++ b/docs/troubleshooting.md@@ -16,7 +16,7 @@ Do the following:* **Check if there are some startup errors**. Connect the ESP32 to the computer and check the Serial Monitor output. Use the Reset button to make sure you see the whole ESP32 output.* **Check the baudrate is correct**. If you see garbage characters in the Serial Monitor, make sure the baudrate is set to 115200.* **Make sure correct IMU model is chosen**. If using ICM-20948/MPU-6050 board, change `MPU9250` to `ICM20948`/`MPU6050` in the `imu.ino` file.-* **Check if the CLI is working**. Perform `help` command in Serial Monitor. You should see the list of available commands. You can also access the CLI using QGroundControl (*Vehicle Setup* ⇒ *Analyze Tools* ⇒ *MAVLink Console*).+* **Check if the console is working**. Perform `help` command in Serial Monitor. You should see the list of available commands. You can also access the console using QGroundControl (*Vehicle Setup* ⇒ *Analyze Tools* ⇒ *MAVLink Console*).* **Configure QGroundControl correctly before connecting to the drone** if you use it to control the drone. Go to the settings and enable *Virtual Joystick*. *Auto-Center Throttle* setting **should be disabled**.* **If QGroundControl doesn't connect**, you might need to disable the firewall and/or VPN on your computer.* **Check the IMU is working**. Perform `imu` command and check its output:diff --git a/flix/flix.ino b/flix/flix.inoindex 370d66a..5d5ee43 100644--- a/flix/flix.ino+++ b/flix/flix.ino@@ -7,7 +7,6 @@#include "quaternion.h"#include "util.h"-extern float t, dt;extern float controlRoll, controlPitch, controlYaw, controlThrottle, controlMode;extern Vector gyro, acc;diff --git a/tools/grab_log.py b/tools/grab_log.pyindex c1e1a94..1f7d0ae 100755--- a/tools/grab_log.py+++ b/tools/grab_log.py@@ -13,7 +13,7 @@ lines = []print('Downloading log...')count = 0-dev.write('log\n'.encode())+dev.write('log dump\n'.encode())while True:line = dev.readline()if not line: