Commit Graph

  • 70f5186c1b Use double for storing time instead of float Float precision may be not enough after some time of operating Oleg Kalachev 2025-01-12 19:58:36 +03:00
  • d4e04c46cd Add time command to cli Oleg Kalachev 2025-01-12 19:50:00 +03:00
  • 48d21a911f Add missing const qualifiers Oleg Kalachev 2025-01-12 19:46:50 +03:00
  • f456e10177 Increase motors PWM frequency to 1000 To match the main loop frequency Oleg Kalachev 2025-01-12 15:35:05 +03:00
  • ac54c954aa Cleanup Oleg Kalachev 2025-01-11 04:31:53 +03:00
  • 03c6576b72 Move controlsTime variable to rc.ino Oleg Kalachev 2025-01-11 00:28:31 +03:00
  • 9e4a2c5ffc Move controlsTime variable to rc.ino Oleg Kalachev 2025-01-11 00:28:31 +03:00
  • 7bf5ee330b Add link to contributed circuit diagram to readme Oleg Kalachev 2025-01-10 10:52:31 +03:00
  • b9e30be98c Better support for ESCs, add PWM_STOP parameter Oleg Kalachev 2025-01-10 10:49:40 +03:00
  • 821e6b105e Make channels definition to rc.ino It's also planned to parametrize them later Oleg Kalachev 2025-01-10 09:37:48 +03:00
  • 568f9dd5b1 Minor code improvements Oleg Kalachev 2025-01-10 08:59:09 +03:00
  • 59a8a80cce Minor cleanup Oleg Kalachev 2025-01-10 07:15:38 +03:00
  • 5530ad2981 Move loopRate to time.ino Oleg Kalachev 2025-01-10 07:15:15 +03:00
  • 698cc3d9b8 Global variables cleanups Remove unused PID objects for cli Move loopRate to time.ino Oleg Kalachev 2025-01-10 07:10:30 +03:00
  • f9e1802bc0 Make util module header instead of .ino-file Oleg Kalachev 2025-01-10 06:51:14 +03:00
  • 85172cdcc8 Make util module header instead of .ino-file Oleg Kalachev 2025-01-10 06:51:14 +03:00
  • 08b14d1d76 Minor cleanup Oleg Kalachev 2025-01-10 06:04:32 +03:00
  • 95824e3b75 Make max tilt and max angle rates MAVLink parameters Also decrease default max yaw rate to 300 degrees Oleg Kalachev 2025-01-10 06:00:06 +03:00
  • ddc46c049f Make ONE_G definition const and move to utils.ino Oleg Kalachev 2025-01-09 11:24:40 +03:00
  • 0a45614751 Move motorsActive function to motors.ino Oleg Kalachev 2025-01-09 11:30:04 +03:00
  • c8109af04f Make ONE_G definition const and move to utils.ino Oleg Kalachev 2025-01-09 11:24:40 +03:00
  • 8c9bff0813 Make motor indexes definition const int and move them to motors.ino Remove motor indexes definitions from flix.ino Add motors.ino to simulation code and implement required mocks Oleg Kalachev 2025-01-09 11:14:18 +03:00
  • 404ceed851 Make motor indexes definition const int and move them to motors.ino Remove motor indexes definitions from flix.ino Add motors.ino to simulation code and implement required mocks Oleg Kalachev 2025-01-09 11:14:18 +03:00
  • e3873c99c5 Fix getDutyCycle return type to make it possible to increase resolution Oleg Kalachev 2025-01-09 11:02:21 +03:00
  • 72033cdd75 Increase motors PWM resolution to 12 bits Oleg Kalachev 2025-01-09 11:02:38 +03:00
  • 3088ade743 Fix getDutyCycle return type to make it possible to increase resolution Oleg Kalachev 2025-01-09 11:02:21 +03:00
  • c2a9d36d4e Add small delay before gyro calibration Oleg Kalachev 2025-01-09 10:06:15 +03:00
  • fd437b96d3 Add missing const qualifiers to some quaternion methods Oleg Kalachev 2025-01-09 10:02:53 +03:00
  • ca409396c7 Add missing const qualifiers to some quaternion methods Oleg Kalachev 2025-01-09 10:02:53 +03:00
  • 9a977e85c8 Implement rotate method for quaternions as replace for multiplication Vector rotating method is renamed from rotate to rotateVector to avoid inconsistent object and argument order in different rotate methods Oleg Kalachev 2025-01-09 09:56:49 +03:00
  • e66cadbb57 Some fixes and updates to readme and other articles Oleg Kalachev 2025-01-09 03:46:54 +03:00
  • abfb3fea05 Update ESP32-core to 3.1.0 Oleg Kalachev 2025-01-06 21:01:39 +03:00
  • 672149bd34 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
  • 6c76d339e0 Add battery connector cable to components list Oleg Kalachev 2025-01-06 00:21:59 +03:00
  • a76f5a2299 Remove redundant inline specifiers In-class defined methods are specified as inline by default Oleg Kalachev 2025-01-04 04:09:51 +03:00
  • 8e8c8d05bb Some minor cleanups and fixes Oleg Kalachev 2024-12-28 23:57:44 +03:00
  • ca032abc03 Implement rotate method for quaternions as replace for multiplication Vector rotating method is renamed from rotate to rotateVector to avoid inconsistent object and argument order in different rotate methods Oleg Kalachev 2025-01-09 09:56:49 +03:00
  • 5d10446aaf Bring back possibility to use ESCs for motors Oleg Kalachev 2025-01-09 07:43:49 +03:00
  • 87cf44371b Some fixes and updates to readme and other articles Oleg Kalachev 2025-01-09 03:46:54 +03:00
  • 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