114 Commits

Author SHA1 Message Date
Oleg Kalachev
1ed05a94dd Minor code cleanups 2024-01-08 22:33:11 +03:00
Oleg Kalachev
e1e747969b Add .gitattributes so linguist would detect languages correctly 2024-01-06 14:41:24 +03:00
Oleg Kalachev
48ea797a47 Make simulator read RC through real drone code 2024-01-06 00:09:29 +03:00
Oleg Kalachev
476f24f774 Clarify rates control code 2024-01-06 00:08:30 +03:00
Oleg Kalachev
7a62229125 Minor cleanups 2024-01-05 15:11:07 +03:00
Oleg Kalachev
e7864b1e55 #2 Use official MPU9250 library 1.0.2
The release was fixed https://github.com/bolderflight/invensense-imu/issues/123
2024-01-05 14:25:19 +03:00
Oleg Kalachev
f72745a2e7 Add a link to full circuit diagram variant to readme #3 2024-01-04 23:32:17 +03:00
Oleg Kalachev
317ecc95cc Update libraries index before installing libraries 2024-01-04 19:35:55 +03:00
Oleg Kalachev
d3700d5784 Add note to readme that SBUS inverter is actually not needed 2024-01-04 18:14:13 +03:00
Oleg Kalachev
d84ed99996 Loose port detection wildcard to catch both CP2102 and CP2104 USB-UART bridges 2024-01-04 15:49:43 +03:00
Oleg Kalachev
82f3ab563a #1 - use MAVLink Arduino library 2024-01-04 12:57:15 +03:00
Oleg Kalachev
2fbebe102e Define ESP32 Dev Module LED pin 2024-01-03 16:09:43 +03:00
Oleg Kalachev
fe7c06666f Enchase building instructions for Arduino IDE 2024-01-03 15:36:16 +03:00
Oleg Kalachev
f520b57abe Implement RC calibration, common for the real drone and the simulation 2024-01-02 11:54:09 +03:00
Oleg Kalachev
78f3f6e3b3 More simulation code minor updates 2023-12-29 19:10:37 +03:00
Oleg Kalachev
46ba00fca7 Add forgotten file 2023-12-29 18:56:32 +03:00
Oleg Kalachev
d2296fea76 Change C++ code style: put curly brace on the same line 2023-12-29 18:56:25 +03:00
Oleg Kalachev
645b148564 Cleanup simulation code, remove debug model showing current attitude estimation 2023-12-29 18:45:19 +03:00
Oleg Kalachev
3207fdb43c Minor changes 2023-12-29 18:43:34 +03:00
Oleg Kalachev
c58a16e4df More clear file name for simulation plugin, cleanup in CMakeLists 2023-12-29 13:33:03 +03:00
Oleg Kalachev
adeea474c6 Some updates to build instructions 2023-12-28 13:25:51 +03:00
Oleg Kalachev
fc006d43e2 Fix cmake warning 2023-12-22 02:35:28 +03:00
Oleg Kalachev
776967038c Remove unused make target 2023-12-21 00:43:02 +03:00
Oleg Kalachev
93bfc5d258 Fix macos build 2023-12-20 12:30:53 +03:00
Oleg Kalachev
d73cfe0c59 Update readme 2023-12-20 09:58:25 +03:00
Oleg Kalachev
343935f98c Minor fixes 2023-12-19 22:00:30 +03:00
Oleg Kalachev
886e592a20 Enable building simulator for macOS on push 2023-12-19 13:21:25 +03:00
Oleg Kalachev
b278d7cfc1 Add introduction video to readme v0.1 2023-12-19 13:12:05 +03:00
Oleg Kalachev
189eac95ef Enable gyro calibration on the start 2023-12-19 11:36:27 +03:00
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