Commit Graph

  • 5ee407af8d Update ESP32-core to 3.1.0 Oleg Kalachev 2025-01-06 21:01:39 +03:00
  • 59cb55cf94 Use ubuntu-20.04 runner to build simulator in CI The latest Ubuntu Gazebo 11 officially supports is Ubuntu 20.04 Oleg Kalachev 2025-01-06 00:56:25 +03:00
  • 5db1258f78 Add battery connector cable to components list Oleg Kalachev 2025-01-06 00:21:59 +03:00
  • 732de2a5d6 Remove redundant inline specifiers In-class defined methods are specified as inline by default Oleg Kalachev 2025-01-04 04:09:51 +03:00
  • e10475a5e0 Some minor cleanups and fixes Oleg Kalachev 2024-12-28 23:57:44 +03:00
  • 7ae5457bb4 Improve logging code Make it easer to add and remove log entries Oleg Kalachev 2024-12-28 22:10:43 +03:00
  • 1582238abc Various minor fixes Oleg Kalachev 2024-12-27 21:52:21 +03:00
  • 299c8a6a02 Various minor fixes Oleg Kalachev 2024-12-27 21:52:21 +03:00
  • f7434921e5 Fix joystick work in simulation Logic was broken as joystickGet never got called Oleg Kalachev 2024-12-27 15:34:33 +03:00
  • 43be27c43d Fix joystick work in simulation Logic was broken as joystickGet never got called Oleg Kalachev 2024-12-27 15:34:33 +03:00
  • 2440c65c46 Remove unused include Oleg Kalachev 2024-12-26 16:07:01 +03:00
  • 8d7a4595f5 Rename flushParameters to more clear syncParameters Oleg Kalachev 2024-12-26 01:14:26 +03:00
  • 3c28d0e950 Minor fix Oleg Kalachev 2024-12-25 02:21:17 +03:00
  • acc0274175 Minor fix Oleg Kalachev 2024-12-25 02:21:17 +03:00
  • 77c621100f Increase motors output frequency Oleg Kalachev 2024-12-25 02:13:57 +03:00
  • 1ef1ed5fc4 Simplify motors duty cycle computation Oleg Kalachev 2024-12-25 02:13:33 +03:00
  • ce67baae89 Minor fixes Oleg Kalachev 2024-12-25 02:18:52 +03:00
  • ad9259810f Fix SBUS simulation logic Don't consider zero values from not connected joystick Oleg Kalachev 2024-12-23 04:04:00 +03:00
  • c43624734d Move ONE_G definition to flix.ino Oleg Kalachev 2024-12-23 02:37:03 +03:00
  • 292b10197f Improve logic of passing channels data in simulated SBUS Return the data the same way as on the real drone without touching channels global vairable Oleg Kalachev 2024-12-23 02:04:22 +03:00
  • 16c9d8fe8a Minor change Oleg Kalachev 2024-12-23 02:01:55 +03:00
  • 931f46b92d Don't let throttle be less than 0 in failsafe Oleg Kalachev 2024-12-23 01:32:25 +03:00
  • 441f82af95 Add notice on removing props in motor test commands in help Oleg Kalachev 2024-12-23 01:14:05 +03:00
  • edd249566e Increase motors output frequency Oleg Kalachev 2024-12-25 02:13:57 +03:00
  • ca355e0162 Simplify motors duty cycle computation Oleg Kalachev 2024-12-25 02:13:33 +03:00
  • 2efae82177 Minor fixes Oleg Kalachev 2024-12-25 01:41:45 +03:00
  • 073c860b90 Calibrate gyro continuously when landed and stationary gyro-calib2 Oleg Kalachev 2024-12-24 22:19:54 +03:00
  • fd30027ea4 Support AUTOPILOT_VERSION message request to make qgc connection faster Don't have to wait until the request is timed out. Oleg Kalachev 2024-12-23 17:59:35 +03:00
  • 6f190295cf Fix building article regarding new parameters subsystem Oleg Kalachev 2024-12-23 13:59:44 +03:00
  • ae349fb73c Implement parameters subsystem * Unified parameters storage. * Store parameters in flash on the hardware. * Store parameters in text file in simulation. * Work with parameters in command line. * Support parameters in MAVLink for working with parameters in QGC. Oleg Kalachev 2024-12-23 13:00:02 +03:00
  • 28f6cfff60 Fix SBUS simulation logic Don't consider zero values from not connected joystick Oleg Kalachev 2024-12-23 04:04:00 +03:00
  • 7533a9cbfa Move ONE_G definition to flix.ino Oleg Kalachev 2024-12-23 02:37:03 +03:00
  • 3cc3014ca0 Improve logic of passing channels data in simulated SBUS Return the data the same way as on the real drone without touching channels global vairable Oleg Kalachev 2024-12-23 02:04:22 +03:00
  • b6286a50b2 Minor change Oleg Kalachev 2024-12-23 02:01:55 +03:00
  • 4f2cf0c0b1 Don't let throttle be less than 0 in failsafe Oleg Kalachev 2024-12-23 01:32:25 +03:00
  • f06a9301df Add notice on removing props in motor test commands in help Oleg Kalachev 2024-12-23 01:14:05 +03:00
  • 41cde3261a Minor troubleshooting article fix Oleg Kalachev 2024-12-21 13:53:04 +03:00
  • f54da5bf42 Add CLI command for rebooting the drone Oleg Kalachev 2024-12-20 20:59:59 +03:00
  • d01d5b7ecb Improve Markdown linting * Move .markdownlint to the root so it applies to the main readme. * Improve .markdownlint, enable proper names checks. * Use markdownlint-cli2 instead of markdownlint-cli as it's more compatible with VSCode extension. Oleg Kalachev 2024-12-17 17:16:19 +03:00
  • 0608765347 Add link to textbook website to readme Oleg Kalachev 2024-12-17 11:27:14 +03:00
  • b70d16c1f7 Update deploy-pages version to fix website deploy Oleg Kalachev 2024-12-16 12:13:36 +03:00
  • f7253bed70 Temporarily disable macOS simulation build Oleg Kalachev 2024-12-16 11:59:49 +03:00
  • 9957205d8f Fix website deploy Oleg Kalachev 2024-12-16 11:58:35 +03:00
  • 8440ddd3ee Create book and deploy it to the website (#6) Oleg Kalachev 2024-12-16 11:53:43 +03:00
  • 66ba9518ae Minor readme fix Oleg Kalachev 2024-12-16 11:30:33 +03:00
  • d273b77ce2 Bring back macOS simulation build in Actions Oleg Kalachev 2024-12-12 09:07:09 +03:00
  • 77effa5577 Rotate IMU data to support standard axes orientation in new FlixPeriph Oleg Kalachev 2024-12-11 06:17:37 +03:00
  • 00286c3b67 Try to build the sim on the latest macos fix-macos-ci Oleg Kalachev 2024-12-10 09:36:36 +03:00
  • 09466b1d61 Remove verbosity and debug Oleg Kalachev 2024-12-10 09:36:19 +03:00
  • d46438baaa Merge branch 'master' into fix-macos-ci Oleg Kalachev 2024-12-10 06:15:23 +03:00
  • 6e7aa78680 Try different version of new Gazebo to install on macOS Oleg Kalachev 2024-12-10 06:02:09 +03:00
  • fcb426a16f Update MAVLink-Arduino to 2.0.11 Oleg Kalachev 2024-12-09 08:04:36 +03:00
  • eea1a6a83c Minor fix in troubleshooting article Oleg Kalachev 2024-12-08 07:40:24 +03:00
  • 9d470cbdfa Add info on required version of Ubuntu for the simulation Oleg Kalachev 2024-12-05 09:28:44 +03:00
  • 6e140d673c Cleanup unused utility functions Oleg Kalachev 2024-12-05 08:29:21 +03:00
  • c75760e9e6 Some readme change regarding using different IMU board Oleg Kalachev 2024-12-04 23:00:26 +03:00
  • 172b6becc6 Use new FlixPeriph library with ICM-20948 support Oleg Kalachev 2024-12-04 14:41:23 +03:00
  • 475e9a87ba Configure IMU before calibrating the gyro which improves calibration Oleg Kalachev 2024-12-04 12:25:07 +03:00
  • ea141f851f Use 'loop rate' term instead of misleading 'loop frequency' Oleg Kalachev 2024-12-04 07:00:00 +03:00
  • 7fa3baa76a Add some minor clarification under the IMU orientation picture Oleg Kalachev 2024-11-30 04:59:04 +03:00
  • 2c5eac92ea Add diagram for IMU orientation Oleg Kalachev 2024-11-29 10:14:11 +03:00
  • 048a3c6375 Use the new UART2 pins for RC by default To make it consistent with the documentation Oleg Kalachev 2024-11-27 23:02:20 +03:00
  • a65ec946c0 Update ESP32 core to 3.0.7 Oleg Kalachev 2024-11-24 01:38:40 +03:00
  • 429aecbbad Temporarily disable macOS simulation build in CI Oleg Kalachev 2024-11-24 01:08:03 +03:00
  • a7b69f99d0 Fix non-working motor control commands Oleg Kalachev 2024-11-24 00:17:47 +03:00
  • b015c15a7e Remove non-working fullmot command Oleg Kalachev 2024-11-24 00:10:37 +03:00
  • 0c59188c6c Try to debug and fix macos simulation build failure Oleg Kalachev 2024-11-23 19:32:43 +03:00
  • bb6d5aa2f0 Use macos-14 to build simulator Oleg Kalachev 2024-11-23 18:57:38 +03:00
  • 7a2f2d955b Minor fix to the troubleshooting Oleg Kalachev 2024-11-23 18:18:19 +03:00
  • c611549f67 Update link to the troubleshooting article Oleg Kalachev 2024-11-23 18:16:46 +03:00
  • be3c5bf312 Add troubleshooting article Oleg Kalachev 2024-11-23 18:13:41 +03:00
  • f6ddeb4689 Clarify GY-91 pin names Oleg Kalachev 2024-11-12 21:02:47 +03:00
  • f6006d3305 Fix c_cpp_properties.json to match updated ESP32 core version Oleg Kalachev 2024-11-04 16:35:22 +03:00
  • eca48c6546 Minor fix Oleg Kalachev 2024-11-04 16:28:54 +03:00
  • cd5f6721dc Updates to LED control code Don't call digitaWrite on each setLED call Oleg Kalachev 2024-11-04 16:28:43 +03:00
  • e7445599cc Update core and libraries to the most recent versions Oleg Kalachev 2024-11-04 16:28:13 +03:00
  • 6327585754 Print accel calibration parameters in more convenient way Oleg Kalachev 2024-11-04 14:37:05 +03:00
  • ec832d4e37 Implement RC fail-safe Oleg Kalachev 2024-11-04 11:51:17 +03:00
  • 2fdad7bdb6 Remove LED horizontality signalization It's better to control the attitude estimation using QGC Oleg Kalachev 2024-11-03 17:41:13 +03:00
  • c5c889679b Fix simulation build Oleg Kalachev 2024-10-31 19:27:27 +03:00
  • ad2c64625c Print the IMU information in imu command Oleg Kalachev 2024-10-31 10:24:00 +03:00
  • 39d4f39932 Some updates in docs Oleg Kalachev 2024-10-30 09:45:27 +03:00
  • 57fe3fef2a Upload STEP files for models Oleg Kalachev 2024-10-29 14:18:03 +03:00
  • 4ba9accf4b Fix image for washer-m3 model Oleg Kalachev 2024-10-29 14:04:42 +03:00
  • 99c891e1cd Add explanation on installing the right ESP32 core in build insutrctions v1.0 Oleg Kalachev 2024-10-27 11:07:53 +03:00
  • 378db51de9 Get rid of simulator build warnings Oleg Kalachev 2024-10-24 03:50:03 +03:00
  • 8a83d70bb6 Update MAVLink-Arduino to 2.0.10 Oleg Kalachev 2024-10-24 03:49:28 +03:00
  • ba5ac30136 Adjust the default camera position in the simulator Oleg Kalachev 2024-10-24 03:48:31 +03:00
  • baf724ed6e Minor README fixes Oleg Kalachev 2024-10-23 14:45:57 +03:00
  • af58d56138 README fixes Oleg Kalachev 2024-10-23 14:35:28 +03:00
  • 13341602f0 Fix Gazebo stl model orientation Oleg Kalachev 2024-10-23 14:30:25 +03:00
  • 84368738b4 Major documentation update, the new drone version files released Oleg Kalachev 2024-10-23 10:17:47 +03:00
  • 0397b3a736 Move the visual part of the gazebo model to the bottom of the file Oleg Kalachev 2024-10-23 08:54:46 +03:00
  • c41c96a96d Update visual of the Gazebo model to the new version Use STL instead of DAE, make props separated visuals Oleg Kalachev 2024-10-23 09:41:16 +03:00
  • a94687bd56 Keep the t variable monotonic in the simulation Otherwise it causes stopping sending MAVLink and other bugs Oleg Kalachev 2024-10-23 06:15:18 +03:00
  • abcc9b96de Use FLU as the main coordinate system instead of FRD Corresponding to the IMU orientation in the new version Oleg Kalachev 2024-10-23 09:30:49 +03:00
  • f46460e53d Make RC_CHANNELS=16 corresponding the number of SBUS channels Oleg Kalachev 2024-10-23 06:13:18 +03:00
  • 23f3295439 Remove ESC support and add MOSFET support in motors code The new version uses MOSFETs Oleg Kalachev 2024-10-23 09:27:54 +03:00
  • b0b6eb9a97 Minor code cleanups and clarifications Oleg Kalachev 2024-10-21 03:41:47 +03:00
  • 84a329cca7 More clean yaw error calculation Oleg Kalachev 2024-10-20 10:32:35 +03:00