Commit Graph
85 Commits
Author SHA1 Message Date
Oleg Kalachev fde9c1cf36 Minor changes and cleanups 2023-12-19 05:25:57 +03:00
Oleg Kalachev 77dd02dbeb Make components table smaller, fixes 2023-12-19 05:13:15 +03:00
Oleg Kalachev c3cdb58070 Remove non-existent file include 2023-12-19 05:11:22 +03:00
Oleg Kalachev ab43ebf7b6 Update readme, add building instructions 2023-12-19 05:09:48 +03:00
Oleg Kalachev a174d5cd7d Headers cleanups 2023-12-19 05:06:19 +03:00
Oleg Kalachev d3e7291197 Guard for angleBetweenVectors function to ensure it doesn't return NaN 2023-12-19 04:58:20 +03:00
Oleg Kalachev fcd695fdd7 Apply LPF to Gazebo's accel data to remove collision detector glitches, minor cleanups 2023-12-19 04:49:36 +03:00
Oleg Kalachev 57e83040b8 Apply accelerometer in estimation only when we're landed and stable
Accelerometer gives only motors specific force in flight, which makes
it useless to determine the current vertial
2023-12-19 04:46:59 +03:00
Oleg Kalachev 415f0e9ad5 Use model name as topics namespace in simulation 2023-12-15 10:03:07 +03:00
Oleg Kalachev a9bcec2fa5 Main sdf cleanups, minor fix 2023-12-15 09:43:54 +03:00
Oleg Kalachev f118bca6d1 Correctly fill armed field in heartbeat mavlink message 2023-12-15 09:35:54 +03:00
Oleg Kalachev 32d69cb4a0 Main world file fixes and cleanups, temporarily remove the table 2023-12-15 09:35:09 +03:00
Oleg Kalachev d3e715ae53 Quaternion library cleanups and code style 2023-12-13 08:42:03 +03:00
Oleg Kalachev 997af183f0 Implement lacking vector division operator 2023-12-13 08:38:26 +03:00
Oleg Kalachev 2c21114540 Refactor control, remake controlManual to controlTorque 2023-12-13 08:33:35 +03:00
Oleg Kalachev 4fcf2109ce Simplify code using angularRatesBetweenVectors 2023-12-13 08:25:11 +03:00
Oleg Kalachev 24b62e5145 Move controlManual down 2023-12-13 08:06:15 +03:00
Oleg Kalachev f37015a97f Temporary remove controlManual to paste it bellow 2023-12-13 08:05:44 +03:00
Oleg Kalachev cb27e0f61f Cleanups 2023-12-13 07:59:08 +03:00
Oleg Kalachev 46579ce8a4 Better code for yaw target 2023-12-13 07:49:57 +03:00
Oleg Kalachev 860db237b7 Add reset command to cli 2023-12-13 07:48:23 +03:00
Oleg Kalachev 2a06155cbe Fix timestamp in mavlink, add imu message, cleanup 2023-12-10 05:51:10 +03:00
Oleg Kalachev 2df8c608d5 Fix mavlink module 2023-12-10 03:41:01 +03:00
Oleg Kalachev 02aac609ab Fix attitude error calculation in sim 2023-12-04 20:22:32 +03:00
Oleg Kalachev e360110430 Use simulated IMU noise values from MPU9250 datasheet 2023-12-04 00:29:21 +03:00
Oleg Kalachev 89bf8a7f14 Cleanup 2023-12-04 00:28:02 +03:00
Oleg Kalachev c77c25ef4e dt can be negative on simulator reset 2023-12-04 00:27:55 +03:00
Oleg Kalachev 94b483cda6 Transfer fullMotorTest function to motors.ino 2023-12-03 20:43:55 +03:00
Oleg Kalachev 80ecba8337 Update illustration one more time 2023-11-25 22:40:11 +03:00
Oleg Kalachev 88f7615089 Add tool for plotting fft graphs of log entries 2023-11-15 19:38:11 +03:00
Oleg Kalachev dbd413c234 Minor code cleanups and fixes 2023-11-12 10:51:56 +03:00
Oleg Kalachev 160e300566 Enable sky and disable origin visual in Gazebo world 2023-11-11 06:21:37 +03:00
Oleg Kalachev 6dae4abaa2 Print low pass filters parameters and current mode in cli 2023-11-11 06:21:06 +03:00
Oleg Kalachev 6d2518e635 Minor readme updates 2023-11-11 06:20:19 +03:00
Oleg Kalachev 7cabdc5e62 Implement low pass filter in separate module 2023-11-11 06:19:51 +03:00
Oleg Kalachev a04d713157 Fix log period computation 2023-11-11 06:18:06 +03:00
Oleg Kalachev 8df71b078d Cleanups and minor changes 2023-11-11 06:17:50 +03:00
Oleg Kalachev c4ac5eb9d0 Update ESP32 core version 2023-11-11 06:15:43 +03:00
Oleg Kalachev 70eae3e556 Some cleanups 2023-11-11 06:15:20 +03:00
Oleg Kalachev 8dad0a0918 Fix CMake warning 2023-11-04 01:36:16 +03:00
Oleg Kalachev b1dae8c33d Minor cleanup 2023-05-31 23:51:28 +03:00
Oleg Kalachev 9eaa45c1d9 Consistently use defines to set parameters 2023-05-31 20:16:43 +03:00
Oleg Kalachev 39875cafb9 Remove non-effective statics 2023-05-31 20:12:45 +03:00
Oleg Kalachev 9a93367629 Make dt=0 on first step, simplify code 2023-05-31 20:07:38 +03:00
Oleg Kalachev 4160b8da07 Minor code rearrange 2023-05-29 18:46:29 +03:00
Oleg Kalachev f84d1e95dd More cleanups 2023-05-26 16:46:22 +03:00
Oleg Kalachev 88cc792287 Cleanups 2023-05-26 16:24:19 +03:00
Oleg Kalachev c1aa0d9869 Store current time in float variable 2023-05-26 16:23:30 +03:00
Oleg Kalachev c5323f5723 Add accel calibration command 2023-05-26 16:21:54 +03:00
Oleg Kalachev 147eef0af7 Cleanups 2023-05-25 11:42:13 +03:00
Oleg Kalachev 7b81cfbe90 Fix util.ino 2023-05-24 11:32:42 +03:00
Oleg Kalachev d6cca7dcf7 Some unification of the headers 2023-05-24 11:26:30 +03:00
Oleg Kalachev 1125335b16 Cleanup, use printf 2023-05-24 11:22:59 +03:00
Oleg Kalachev 17edd0ee00 Show imu data in cli 2023-05-24 11:05:11 +03:00
Oleg Kalachev 34fd303027 Restore accidentally removed files 2023-05-24 10:58:34 +03:00
Oleg Kalachev 82276ddb92 Cleanups 2023-05-24 10:56:59 +03:00
Oleg Kalachev 87c75842f9 Change .hpp to .h 2023-05-24 10:40:12 +03:00
Oleg Kalachev f58bcbf75c turnigy.hpp -> joystick.h 2023-05-24 10:33:20 +03:00
Oleg Kalachev 1019d6d4bb Code cleanups 2023-05-24 10:28:32 +03:00
Oleg Kalachev aaa8f70166 Enable Serial input and output in simulator, refactor 2023-05-24 10:23:12 +03:00
Oleg Kalachev 3a05403068 Use printf in cli 2023-05-23 11:52:03 +03:00
Oleg Kalachev d3338ac90e Simplify Makefile 2023-05-23 11:51:41 +03:00
Oleg Kalachev 4f0e75008e Update illustration 2023-04-13 04:20:40 +03:00
Oleg Kalachev 2e16844e36 Fix make clean 2023-04-13 04:05:15 +03:00
Oleg Kalachev d537f7c0b2 Add illustration 2023-04-13 04:04:58 +03:00
Oleg Kalachev f9558e164c Add grab_log script 2023-04-12 23:04:24 +03:00
Oleg Kalachev 4a045d89a4 Include SPI library to IMU module 2023-04-10 23:37:11 +03:00
Oleg Kalachev 1e9dc4a144 Temporarily disable simulator macos job 2023-04-10 23:30:33 +03:00
Oleg Kalachev 898fcfe181 Install dependencies automatically 2023-04-10 21:45:48 +03:00
Oleg Kalachev c983396bf4 Add CH9102X based ESP32 to Makefile auto detection 2023-04-10 21:44:50 +03:00
Oleg Kalachev aefd6dc51c Fix the broken build related to arduino/arduino-cli#758 2023-04-10 04:25:12 +03:00
Oleg Kalachev 7ba70dceea Add job for building the firmware on macos 2023-04-09 16:21:50 +03:00
Oleg Kalachev a19ab30d0a Use own table model 2023-04-08 23:24:43 +03:00
Oleg Kalachev 52d19e6b11 Add attitude to log 2023-04-05 02:37:51 +03:00
Oleg Kalachev 4dc8118c95 Add help/motd command 2023-04-05 02:37:30 +03:00
Oleg Kalachev a7fec3d919 Use double quotes in Makefile 2023-04-05 02:37:15 +03:00
Oleg Kalachev da4cd661d4 Add job for building firmware on Windows 2023-04-03 12:47:46 +03:00
Oleg Kalachev 3c9e87b0b9 Auto detect port for uploading, cleanup Makefile 2023-04-03 01:45:15 +03:00
Oleg Kalachev adc1f3faff Add job for macos build 2023-04-02 22:49:59 +03:00
Oleg Kalachev 44ef91be33 Upload plugin binary as artifact 2023-03-26 11:43:04 +03:00
Oleg Kalachev fca6c27a16 Add some links 2023-03-26 11:20:36 +03:00
Oleg Kalachev c7422d12a2 Fix logging pointer overflow check 2023-03-26 10:50:19 +03:00
Oleg Kalachev 24912c13c0 Minor readme fix 2023-03-26 10:50:05 +03:00
Oleg Kalachev 127cd58d16 CALIBRATE_GYRO_ON_START constant 2023-03-26 10:49:43 +03:00
Oleg Kalachev e039055c8e Initial commit 2023-03-26 10:23:30 +03:00