Commit Graph

  • 114d2305de Make wi-fi code more consistent between the firmware and simulation Oleg Kalachev 2025-05-10 05:13:57 +03:00
  • 121b50d896 Increase motors pwm frequency to 78Khz 1000 Hz is too low frequency considering the update loop for motors signal is also 1000 Hz. Decrease resolution as it's required to set larger pwm frequencies. This change should vastly improve control jitter and remove audible motors noise. Oleg Kalachev 2025-07-03 03:46:11 +03:00
  • 48c7135efb Return zero rotation vector when converting neutral quaternion Previously it would return nans Oleg Kalachev 2025-07-01 02:48:49 +03:00
  • 9229b743eb Add missing equals and non-equals operators for quaternion lib Oleg Kalachev 2025-07-01 02:47:01 +03:00
  • 52d31ba7a5 Add missing includes to Arduino.h to make build more portable Oleg Kalachev 2025-07-01 02:38:47 +03:00
  • f11ab2dc16 Add info on mpu-6050 Oleg Kalachev 2025-06-30 12:29:07 +03:00
  • 93383cc7f9 Add chkroko's build Oleg Kalachev 2025-06-19 13:25:01 +03:00
  • 389cfb94ab Add missing newlines to initialization prints Oleg Kalachev 2025-06-19 13:17:43 +03:00
  • 045f2c5ed5 Minor docs changes Oleg Kalachev 2025-06-19 13:17:32 +03:00
  • 31f5e1efbb Upload built firmware binaries as artifact Oleg Kalachev 2025-06-02 02:32:27 +03:00
  • 2d77317abc Minor fixes in book Oleg Kalachev 2025-05-31 16:56:05 +03:00
  • 963cbe09dd Minor fix in book Oleg Kalachev 2025-05-31 13:15:25 +03:00
  • 98fc0cf5b4 Add quaternion and vector chapter to book Oleg Kalachev 2025-05-31 12:46:33 +03:00
  • 6b7601c0bd Improve vector and quaternion libraries Make the order or basic methods consistent between Vector and Quaternion. Remove ZYX from Euler method names as this is standard for robotics. Rename angular rates to rotation vector, which is more correct. Make rotation methods static, to keep the arguments order consistent. Make Quaternion::fromAxisAngle accept Vector for axis. Minor fixes. Oleg Kalachev 2025-05-31 04:17:00 +03:00
  • 929bdd1f35 Minor fixes in book Oleg Kalachev 2025-05-31 03:29:44 +03:00
  • 660913f8bb Remove version 0 section from the readme Oleg Kalachev 2025-05-23 17:17:27 +03:00
  • 25e3056891 Add disclaimer to readme Oleg Kalachev 2025-05-23 16:47:04 +03:00
  • be7b6ec0c9 Fix simulator build Oleg Kalachev 2025-05-16 05:02:27 +03:00
  • 9c8c0e2578 Minor code updates Oleg Kalachev 2025-05-15 09:22:17 +03:00
  • 7e5a75a01f Revert sending mavlink udp packets in unicast This requires more complex approach as client ip may change between reconnections Oleg Kalachev 2025-05-10 05:45:57 +03:00
  • 2bcab6edb3 Make cli command case insensitive iOS QGC capitalizes the command by default, so it's more convinient Oleg Kalachev 2025-05-10 05:15:54 +03:00
  • df2b10acd4 Make wi-fi code more consistent between the firmware and simulation Oleg Kalachev 2025-05-10 05:13:57 +03:00
  • 31d6636754 Send mavlink udp packets in unicast after connected Tests and research show this is more efficient way of sending telemetry Oleg Kalachev 2025-05-10 05:08:04 +03:00
  • b143c2f1b3 Add recommended 3D printing settings to readme Oleg Kalachev 2025-05-09 06:55:28 +03:00
  • a93e046117 Make sending udp packets much faster Turns out parsing IP address string is very slow Oleg Kalachev 2025-05-06 04:32:36 +03:00
  • e6e4db0c4f Update ESP32-Core to 3.2.0 Oleg Kalachev 2025-05-06 03:52:46 +03:00
  • d8fbc193c1 Make accelerometer calibration more verbose Print the number of each calibration step Oleg Kalachev 2025-05-05 00:38:08 +03:00
  • a491b28201 Make sending udp packets much faster Turns out parsing IP address string is very slow Oleg Kalachev 2025-05-06 04:32:36 +03:00
  • 4a4642bcf6 Update ESP32-Core to 3.2.0 Oleg Kalachev 2025-05-06 03:52:46 +03:00
  • 81037d94ec Some cli improvements Improve loop rate formatting Show cpu temperature in sys command Oleg Kalachev 2025-05-06 03:16:45 +03:00
  • 965813e8f0 Use interrupts instead of polling for main loop Oleg Kalachev 2025-05-05 13:58:23 +03:00
  • 94c2d399b3 Add sys command Show ESP32 model and free heap Show tasks table with stack and cpu usage Oleg Kalachev 2025-05-05 04:32:41 +03:00
  • 21dc47c472 Make mavlink print buffered Combine all output of each step into one SERIAL_CONTROL message Oleg Kalachev 2025-05-05 00:44:06 +03:00
  • 4b938e8d89 Make accelerometer calibration more verbose Print the number of each calibration step Oleg Kalachev 2025-05-05 00:38:08 +03:00
  • 67efcdd08a Remove unused macro MAVLINK_CONTROL_SCALE is now parameter Oleg Kalachev 2025-05-04 00:03:38 +03:00
  • dcd95176b4 Make low pass filter formula more straightforward Oleg Kalachev 2025-04-29 23:28:56 +03:00
  • b7cebbb3d6 Add some missing operator for vector library Oleg Kalachev 2025-04-29 23:21:12 +03:00
  • d1d10c4c6c Updates to readme and documentation Oleg Kalachev 2025-04-30 00:05:52 +03:00
  • 4e0a1fcdab Update simulator illustration Oleg Kalachev 2025-04-29 23:37:34 +03:00
  • 5165355abc Make low pass filter formula more straightforward Oleg Kalachev 2025-04-29 23:28:56 +03:00
  • a268475f7a Add notice about firewall and vpn to troubleshooting Oleg Kalachev 2025-04-29 23:22:40 +03:00
  • c14fe7c48b Add some missing operator for vector library Oleg Kalachev 2025-04-29 23:21:12 +03:00
  • a6ccd236de Fix simulation build in Actions Switched runner to Ubuntu 22.04 since Gazebo 11 now has binaries for 22.04 (amd64 only). Changed the building tutorial to reflect that. Oleg Kalachev 2025-04-24 19:38:47 +03:00
  • e7a06b9413 Minor code simplifications Oleg Kalachev 2025-04-13 01:42:47 +03:00
  • 678bc7238e Update MAVLink-Arduino to 2.0.16 Oleg Kalachev 2025-04-11 07:01:54 +03:00
  • 6670b4f358 Simplify and improve acc calibration command output Oleg Kalachev 2025-04-29 23:01:09 +03:00
  • 7f80a8a58d Remove twxs.cmake from the list of recommended extensions Oleg Kalachev 2025-03-14 03:24:30 +03:00
  • 2bd74e7f6f Minor code style fix Oleg Kalachev 2025-03-14 03:03:27 +03:00
  • d378d01dbc Encode if the mode in stabilized in heartbeat message Oleg Kalachev 2025-03-14 03:02:43 +03:00
  • b2736e6a5b Fix simulation build in Actions Switched runner to Ubuntu 22.04 since Gazebo 11 now has binaries for 22.04 (amd64 only). Changed the building tutorial to reflect that. Oleg Kalachev 2025-04-24 19:38:47 +03:00
  • f2dec78b16 Fix docker sim build fix-sim-build Oleg Kalachev 2025-04-24 19:21:23 +03:00
  • 31ac562f67 Fix docker sim build again Oleg Kalachev 2025-04-24 19:20:01 +03:00
  • feb686727b Fix Docker sim build Oleg Kalachev 2025-04-24 18:47:51 +03:00
  • 1975ed30b4 Make job using Ubuntu 22.02 Oleg Kalachev 2025-04-24 18:45:25 +03:00
  • 1859fca150 Update APT before installing libsdl2-dev Oleg Kalachev 2025-04-24 18:38:08 +03:00
  • 42d844287e Fix docker run Oleg Kalachev 2025-04-24 18:23:14 +03:00
  • 226da71719 Run sim build in docker using container directive Oleg Kalachev 2025-04-24 18:21:58 +03:00
  • 405777dc46 Use ubuntu-22.04 for sim build, add job with building with docker Oleg Kalachev 2025-04-24 18:20:44 +03:00
  • 962757f46e Update user builds illustration in readme Oleg Kalachev 2025-04-23 20:10:29 +03:00
  • f03dec4fae Update demo video Oleg Kalachev 2025-04-22 11:27:29 +03:00
  • fe98a5bf97 Minor code simplifications Oleg Kalachev 2025-04-13 01:42:47 +03:00
  • 253f2fe3dd Update MAVLink-Arduino to 2.0.16 Oleg Kalachev 2025-04-11 07:01:54 +03:00
  • 94dc566643 Show landed state in imu command output Oleg Kalachev 2025-03-29 16:19:23 +03:00
  • 547f5087ef Pass landed state to mavlink Using EXTENDED_SYS_STATE message Oleg Kalachev 2025-03-29 16:14:37 +03:00
  • 66a43ab246 Continuous gyro bias estimation (#17) Oleg Kalachev 2025-03-29 12:21:40 +03:00
  • 117ae42d1b Add Wi-Fi password to build tutorial Oleg Kalachev 2025-03-29 12:02:59 +03:00
  • 3a61dca102 Simplify and improve acc calibration command output Oleg Kalachev 2025-03-29 01:05:55 +03:00
  • a8fe1324c3 Minor readme update Oleg Kalachev 2025-03-28 20:50:23 +03:00
  • fc0b805cc2 Add cryptokobans's build to user projects Oleg Kalachev 2025-03-28 18:23:09 +03:00
  • d68222953d Simplify user builds article layout: remove tables Tables make photos squeezed in phones Oleg Kalachev 2025-03-27 18:56:35 +03:00
  • bca1312b46 Remove twxs.cmake from the list of recommended extensions Oleg Kalachev 2025-03-14 03:24:30 +03:00
  • d5148d12a1 Minor code style fix Oleg Kalachev 2025-03-14 03:03:27 +03:00
  • 208e50aa15 Encode if the mode in stabilized in heartbeat message Oleg Kalachev 2025-03-14 03:02:43 +03:00
  • 0a87ccf435 Some minor readme updates Oleg Kalachev 2025-03-01 00:27:55 +03:00
  • e8341976f6 Cleanup Oleg Kalachev 2025-03-01 00:02:44 +03:00
  • f2aae92f1e Cleanups and updates Oleg Kalachev 2025-02-28 23:58:31 +03:00
  • 0a7ed1039f Rename flu to frd function to match the code style Oleg Kalachev 2025-02-28 23:39:03 +03:00
  • d4d1797ffc Update main readme for the minimal version Oleg Kalachev 2025-02-28 23:22:03 +03:00
  • 209986b9cd Change accel calibration code style a bit Oleg Kalachev 2025-02-28 23:15:02 +03:00
  • 32cdbba2a1 Remove dt multiplier from acc correction and increase acc weight More classical complementary filter implementation Increase effective accelerometer weight for faster convergence Oleg Kalachev 2025-02-28 00:40:22 +03:00
  • dd1ea4f604 Cleanup mavlink subsystem code Oleg Kalachev 2025-02-28 23:12:57 +03:00
  • 5fc30dbd8a Put last control time in RC control mavlink message instead of send time Oleg Kalachev 2025-02-22 20:07:26 +03:00
  • 51fa5a6cac Simplify and fix code Oleg Kalachev 2025-02-28 23:07:37 +03:00
  • 75127eb6f8 Remove non-nessesary printArray function Oleg Kalachev 2025-02-18 10:26:59 +03:00
  • 89c1ada005 Remove command parsing to simplify the code Oleg Kalachev 2025-02-28 23:02:02 +03:00
  • 6058e8ecab Refactor CLI submodule Move command parsing to doCommand Parse command with splitString instead of stringToken Trim commands Move cliTestMotor to the bottom Rename parseInput to handleInput, which is more clear Move motor test function to motors.ino Remove parameters table functionality to simplify the code Oleg Kalachev 2025-02-28 22:49:37 +03:00
  • 67e4a95697 Minor fix in joystick support for simulation Don't use channels variable as it breaks code isolation Oleg Kalachev 2025-02-15 03:29:09 +03:00
  • fafe630e4c Improve RC reading in calibration process Oleg Kalachev 2025-02-12 10:15:13 +03:00
  • 5ff44db8dd Simplify WIFI_ENABLED macro test Oleg Kalachev 2025-02-08 02:41:09 +03:00
  • 2b15812483 Fix working on ESP32-S3 (#8) Zatupitel 2025-01-24 14:35:44 +03:00
  • dbfbe11478 Add test on building the firmware without Wi-Fi to Actions Oleg Kalachev 2025-01-24 13:40:27 +03:00
  • 41b5932a5d Move SBUS RC declaration to the top Oleg Kalachev 2025-02-28 22:25:27 +03:00
  • add03482aa Minor cleanups and fixes Oleg Kalachev 2025-01-17 12:30:12 +03:00
  • 32c4875ca1 Increase pwm frequency and resolution Oleg Kalachev 2025-02-28 22:22:39 +03:00
  • 07c5ae19dd Update upload-artifact action to fix build Oleg Kalachev 2025-01-31 03:32:09 +03:00
  • d60968ea25 Remove RC_CHANNELS macro Oleg Kalachev 2025-02-28 22:19:52 +03:00
  • 3fdebf39d8 Fix mavlink disconnection in pauses in cli commands Implement pause function that proceeds processing mavlink. Use temporal workaround for simulation, as micros function gives the same result on the same simulation step. v1.1 Oleg Kalachev 2025-02-28 19:25:41 +03:00
  • 5bf2e06c5a Use natural order of ino files includes in simulation In Arduino, ino files are included in alphabetical order. Cleanup unused function declarations in simulation, add missing. Rename flu to frd function to match the code style. Oleg Kalachev 2025-02-28 19:06:58 +03:00
  • 4e3e8c70b0 Update main book illustration Oleg Kalachev 2025-02-28 03:17:09 +03:00
  • bda44fca02 Remove dt multiplier from acc correction and increase acc weight More classical complementary filter implementation Increase effective accelerometer weight for faster convergence Oleg Kalachev 2025-02-28 00:40:22 +03:00