diff --git a/docs/user.md b/docs/user.md index 2752327..a00b137 100644 --- a/docs/user.md +++ b/docs/user.md @@ -5,7 +5,8 @@ This page contains user-built drones based on the Flix project. Publish your pro --- Author: [Неруш Михаил](https://t.me/NerushMV).
-Description: custom frame made of 4 mm plywood, 8520 brushed motors, 75 mm propellers, MPU-6500. FlySky FS-i6X with ESP32-based adapter for ESP-NOW communication (using PPM output). +Description: custom frame made of 4 mm plywood, 8520 brushed motors, 75 mm propellers, MPU-6500. FlySky FS-i6X with ESP32-based adapter for ESP-NOW communication (using PPM output).
+Sources and materials: [link](https://drive.google.com/drive/folders/1uWiDcuorLrtVs_IIR7Y13omij-7Q1nx8). diff --git a/flix/flix.ino b/flix/flix.ino index 16b62aa..615664b 100644 --- a/flix/flix.ino +++ b/flix/flix.ino @@ -17,7 +17,7 @@ extern float motors[4]; void setup() { Serial.begin(115200); - print("Initializing flix\n"); + print("Initializing Flix\n"); setupParameters(); setupPower(); setupLED(); diff --git a/flix/motors.ino b/flix/motors.ino index 1540ac4..9654eec 100644 --- a/flix/motors.ino +++ b/flix/motors.ino @@ -17,7 +17,7 @@ int pwmMax = -1; // -1 means duty cycle mode const int MOTOR_REAR_LEFT = 0, MOTOR_REAR_RIGHT = 1, MOTOR_FRONT_RIGHT = 2, MOTOR_FRONT_LEFT = 3; void setupMotors() { - print("Setup Motors\n"); + print("Setup motors\n"); // Configure pins for (int i = 0; i < 4; i++) { if (motorPins[i] < 0) continue; // skip unassigned motors @@ -25,7 +25,6 @@ void setupMotors() { pwmFrequency = ledcChangeFrequency(motorPins[i], pwmFrequency, pwmResolution); // when reconfiguring } sendMotors(); - print("Motors initialized\n"); } void sendMotors() { diff --git a/tools/pyflix/README.md b/tools/pyflix/README.md index 138878f..b5b61d8 100644 --- a/tools/pyflix/README.md +++ b/tools/pyflix/README.md @@ -222,6 +222,13 @@ The following scripts demonstrate how to use the library: * [`log.py`](../log.py) — download flight logs from the drone. * [`example.py`](../example.py) — a simple example, prints telemetry data and waits for events. +> [!TIP] +> Set `FLIX_DEVICE` environment variable to use these tools with ESP-NOW connection, for example: +> +> ```bash +> FLIX_DEVICE=/dev/cu.usbserial-0001 tools/cli.py +> ``` + ## Advanced usage ### MAVLink