Commit Graph

  • 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
  • 5613028678 Enable Wi-Fi by default Oleg Kalachev 2024-10-21 03:39:34 +03:00
  • a0cca80980 Some fixes to VSCode config Oleg Kalachev 2024-07-30 09:28:20 +03:00
  • bed5d79db8 Add comments to motor pins Oleg Kalachev 2024-07-30 07:49:21 +03:00
  • da51ebab38 Add some C++ code style settings to VSCode settings Oleg Kalachev 2024-07-30 07:46:40 +03:00
  • 0b977aee28 Add json rules to .editorconfig Oleg Kalachev 2024-07-30 07:46:15 +03:00
  • 6ef8820770 Add VSCode configuration Oleg Kalachev 2024-07-25 06:51:47 +03:00
  • e993dde355 Update ESP32 Arduino Core to v3.0.3 Oleg Kalachev 2024-07-25 02:45:59 +03:00
  • 627233f862 Minor updates Oleg Kalachev 2024-07-25 02:44:47 +03:00
  • ce87234a51 Add link to Android QGroundControl download to building instructions Oleg Kalachev 2024-06-18 14:43:40 +03:00
  • e40fbd0ce2 Install arduino-cli without sudo in instructions Oleg Kalachev 2024-06-18 13:51:07 +03:00
  • 0b2496231a Update website gh-pages Oleg Kalachev 2024-06-17 10:13:04 +03:00
  • 0938609dc7 Update checkout action to v4 v3 is deprecated Oleg Kalachev 2024-06-12 03:26:17 +03:00
  • 1a22350775 Add article on analyzing the logs Oleg Kalachev 2024-06-02 11:46:32 +03:00
  • 72b2cf49d5 Add tools for conversion svg logs to mcap Oleg Kalachev 2024-06-02 01:45:49 +03:00
  • 63d602dd7a Add C++ tool for conversion csv logs to ulog Oleg Kalachev 2024-06-02 01:45:05 +03:00
  • d0eb2dd9ba Merge branch 'master' into run-sim run-sim Oleg Kalachev 2024-05-24 22:35:36 +03:00
  • 1119c77cca Remove unneeded abs for motors thrust in simulation Oleg Kalachev 2024-05-24 14:47:26 +03:00
  • fbe33eac1b Set gyro limits to 2000 DPS by default Oleg Kalachev 2024-05-24 14:46:38 +03:00
  • 7cfcf5b63b Use more natural torqueTarget order in mixer (xyz) Oleg Kalachev 2024-05-21 10:52:39 +03:00
  • 94d24cbd28 Fix PWM values for reverse rotations Oleg Kalachev 2024-05-21 10:51:45 +03:00
  • be3d2be9d3 Fix Vector::angularRatesBetweenVectors return NaNs on opposite vectors Oleg Kalachev 2024-05-21 10:50:47 +03:00
  • ad6bc02643 Minor fixes and changes Oleg Kalachev 2024-05-21 10:49:57 +03:00
  • b91f4d3b6d Install arduino-cli to /usr/local/bin The Arduino docs probably has mistake offering non-existent ~/local/bin path instead of ~/.local/bin. Some systems lack ~/.local/bin as well, so simply use /usr/local/bin. Also install arduino-cli in CI the same way as in the docs to check them. Oleg Kalachev 2024-05-21 10:34:05 +03:00
  • 28da7baf61 Add link to Habr article to readme Oleg Kalachev 2024-05-17 07:59:18 +03:00
  • 7516279132 Add requirements.txt for tools Oleg Kalachev 2024-05-10 22:28:42 +03:00
  • a383c83a29 Minor update to .editorconfig Oleg Kalachev 2024-05-02 21:22:13 +03:00
  • 6392c4a97a Update dataflow diagram to reflect newly introduced gyro variable Oleg Kalachev 2024-05-01 02:35:30 +03:00
  • cfb2e60310 Add correct rules to yml files editor config Oleg Kalachev 2024-05-01 02:33:44 +03:00
  • 41a9a95747 Transfer gyro low pass filter to estimate.ino Separate raw gyro data and filtered rates to different variables Oleg Kalachev 2024-04-20 14:52:01 +03:00
  • 24e8569905 Make Vector methods arguments more consistent Oleg Kalachev 2024-04-20 10:57:32 +03:00
  • fb80b899e0 Refine Gazebo installation instructions for macOS Oleg Kalachev 2024-04-09 02:45:21 +03:00
  • d095b81d7e Print out loop frequency on imu command Oleg Kalachev 2024-04-02 22:28:02 +03:00
  • 28a6bf2230 Add info about motors testing commands to intro message Oleg Kalachev 2024-03-30 18:23:42 +03:00
  • fff7262d1b Minor fix for SBUS dummy for simulator Oleg Kalachev 2024-03-23 09:20:08 +03:00
  • 646fa46f6b Use FlixPeriph library for SBUS Oleg Kalachev 2024-03-17 02:29:37 +03:00
  • f782f647cb Correctly restore IMU settings after accel calibration Oleg Kalachev 2024-03-15 13:26:59 +03:00
  • 32f29dc1a4 Use default SPI CS pin for IMU Oleg Kalachev 2024-03-15 13:14:28 +03:00
  • 2cf1c7abb3 Use FlixPeriph library for IMU, implement own IMU calibration Oleg Kalachev 2024-03-15 10:38:48 +03:00
  • d752cce0cc Fix accel calibration upside down wait time Oleg Kalachev 2024-03-12 00:36:53 +03:00
  • e1ff92c5f0 Website Oleg Kalachev 2024-03-04 03:18:04 +03:00
  • aeec8e34eb Add auto-center throttle setting notice to QGC usage documentation Oleg Kalachev 2024-03-03 21:08:43 +03:00
  • 34a81536c2 Fix reverse motors pwm Oleg Kalachev 2024-03-02 15:37:38 +03:00
  • 1c9b10a674 Use default recommended chip-select pin (GPIO5) for SPI Update link to the schematics #3 to the most recent version Oleg Kalachev 2024-02-24 15:28:41 +03:00
  • ab2f99ab59 Simplify making user modes for control, add USER mode Oleg Kalachev 2024-02-22 03:09:12 +03:00
  • 5b6ef9c50e Add warning about shaft diameter for the motors Oleg Kalachev 2024-02-21 18:24:35 +03:00
  • 5ec6b5e665 Make fromEulerZYX accept Vector instead of x, y, z Oleg Kalachev 2024-02-20 04:51:59 +03:00
  • 85182ac2b8 Use more correct implementation of toEulerZYX fixing some yaw issues We actually need to use Tait–Bryan Z-Y-X angles, not classic Euler's Oleg Kalachev 2024-02-20 04:47:13 +03:00
  • 455729fdb4 Improve log download: remove empty records, sort by timestamp To make Plotjuggler not to warn about unsorted records everytime Oleg Kalachev 2024-02-18 01:23:33 +03:00
  • 4eec63adfa Add info about input group for joystick usage in building instructions Oleg Kalachev 2024-02-17 22:17:27 +03:00
  • e0db3bee38 Read mode stick using axis read in simulation Oleg Kalachev 2024-02-16 01:13:32 +03:00
  • bf803cf345 Display MAVLink remote port in simulator Oleg Kalachev 2024-02-10 14:12:09 +03:00
  • 33319db1fa Make rates LPF cut-off frequency equal to 40 Hz Oleg Kalachev 2024-02-07 10:49:31 +03:00
  • ba6e63b50b Correctly set output parameters of simulated SBUS::read, minor name fix Oleg Kalachev 2024-02-06 21:02:20 +03:00
  • 410fccf015 Fix vector, quaternion, pid and lpf libraries curly braces code style Oleg Kalachev 2024-02-06 13:50:56 +03:00
  • 31d382dd86 Simplify motors pwm calculation using unified value for all motors Oleg Kalachev 2024-02-06 10:49:48 +03:00
  • 0661aecccf Remove unneeded INVERT_SERIAL define Oleg Kalachev 2024-02-04 14:42:57 +03:00
  • 44ed3cf42c Merge branch 'master' into run-sim Oleg Kalachev 2024-01-31 17:23:07 +03:00
  • 0f83e8ed80 Add info on how to control the simulated drone to build instructions Oleg Kalachev 2024-01-31 17:20:59 +03:00
  • f718af7f0e Support MAVLink usage in simulation Oleg Kalachev 2024-01-31 12:10:18 +03:00
  • 4850b95029 Add a readme to gazebo directory Oleg Kalachev 2024-01-31 12:07:37 +03:00
  • 2694f68b87 Add yaw dead zone in mavlink control Oleg Kalachev 2024-01-31 12:05:49 +03:00
  • 033e74a375 Minor code cleanups Oleg Kalachev 2024-01-31 12:05:25 +03:00
  • a24f039f1d Fix RC_CHANNELS_SCALED inactive channel values They should be INT16_MAX not UINT16_MAX Oleg Kalachev 2024-01-31 12:04:44 +03:00
  • 6b52ad562b Minor const clarification Oleg Kalachev 2024-01-31 12:00:23 +03:00
  • 69cfc9e5fa Utilize internal ESP32 UART invertor for SBUS Oleg Kalachev 2024-01-26 13:46:13 +03:00
  • 1b54b3fa25 Enable macOS build https://github.com/osrf/homebrew-simulation/pull/2526#issuecomment-1904384070 Oleg Kalachev 2024-01-26 13:16:17 +03:00
  • aa02e6344b Test simulator run in CI Oleg Kalachev 2024-01-25 23:53:08 +03:00
  • f794da916d Disable macos build for now as it takes too long to execute Oleg Kalachev 2024-01-19 05:29:52 +03:00
  • ed6d09061b Rename RC_CHANNEL_AUX to RC_CHANNEL_ARMED Oleg Kalachev 2024-01-19 05:19:41 +03:00
  • 26a028ff66 Use only STAB mode by default Oleg Kalachev 2024-01-19 05:16:44 +03:00
  • 2d365dcffe Minor fixes Oleg Kalachev 2024-01-19 05:14:12 +03:00
  • c22961e5ff Don't calibrate gyro on start since MPU9250 library does that on begin Oleg Kalachev 2024-01-19 05:05:49 +03:00
  • 9ad718cb85 Fix macOS build Oleg Kalachev 2024-01-19 05:04:40 +03:00
  • 172f6b173a MAVLink input support (control using mobile phone) Oleg Kalachev 2024-01-17 15:39:40 +03:00
  • 8e629e3eea Minor cleanups Oleg Kalachev 2024-01-17 15:20:38 +03:00
  • 482bb8ed71 Disable ESP32 reset on low voltage Oleg Kalachev 2024-01-17 15:18:11 +03:00
  • 4ec6ff3f37 Update main schematics diagram Oleg Kalachev 2024-01-14 17:07:49 +03:00
  • 9ed41e50a1 Fix actuator_output mavlink message generation Oleg Kalachev 2024-01-13 22:53:30 +03:00
  • 344835cba8 Add firmware overview article Oleg Kalachev 2024-01-13 14:08:02 +03:00
  • 654badd097 Fix macos simulator build Oleg Kalachev 2024-01-12 18:34:05 +03:00
  • a8cd72e654 Add dataflow diagram to images Oleg Kalachev 2024-01-12 00:44:01 +03:00
  • f4aaf0f4f3 Use radians macro, minor change Oleg Kalachev 2024-01-12 00:43:52 +03:00
  • 1ed05a94dd Minor code cleanups Oleg Kalachev 2024-01-08 22:33:11 +03:00
  • e1e747969b Add .gitattributes so linguist would detect languages correctly Oleg Kalachev 2024-01-06 14:41:24 +03:00
  • 48ea797a47 Make simulator read RC through real drone code Oleg Kalachev 2024-01-06 00:09:29 +03:00
  • 476f24f774 Clarify rates control code Oleg Kalachev 2024-01-06 00:08:30 +03:00
  • 7a62229125 Minor cleanups Oleg Kalachev 2024-01-05 15:11:07 +03:00
  • e7864b1e55 #2 Use official MPU9250 library 1.0.2 The release was fixed https://github.com/bolderflight/invensense-imu/issues/123 Oleg Kalachev 2024-01-05 14:25:19 +03:00
  • f72745a2e7 Add a link to full circuit diagram variant to readme #3 Oleg Kalachev 2024-01-04 23:32:17 +03:00