1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-25 01:05:21 +03:00
Commit graph

797 commits

Author SHA1 Message Date
Roman Lut
e4453c36d8 Merge branch 'master' of https://github.com/RomanLut/inav into submit-gps-fix-estimation 2023-10-01 00:05:07 +02:00
breadoven
52f5cffc43 prevent unwanted resets on disarm 2023-09-26 23:33:56 +01:00
breadoven
45272d9a02 Merge remote-tracking branch 'upstream/master' into abo_emerg_flight_rearm 2023-09-25 13:59:44 +01:00
breadoven
93b19500e9 Add Course Hold pitch hold & Cleanup 2023-09-23 13:32:09 +01:00
shota
59e421fba2 Merge branch 'master' into sh_mixer_profile 2023-09-20 00:45:53 +09:00
shota
e51fd7862c Merge remote-tracking branch 'origin/master' into sh_mixer_profile 2023-09-10 15:40:35 +09:00
breadoven
f1afdf8715 failsafe fixes 2023-09-07 21:52:52 +01:00
breadoven
fa60cfda81 fixes 2023-09-06 23:25:13 +01:00
Pawel Spychalski (DzikuVx)
514d53b896 Bump navConfig PG that was forgotten in #9220 2023-09-05 21:38:09 +02:00
Pawel Spychalski (DzikuVx)
c5c1603064 Merge branch 'master' into abo_mc_course_hold_cruise 2023-09-05 20:55:01 +02:00
Roman Lut
9cd68b1470 Merge branch 'master' of https://github.com/RomanLut/inav into submit-gps-fix-estimation 2023-09-03 23:21:36 +02:00
breadoven
1b79cbd232 Add define for functions only 2023-08-30 23:29:46 +01:00
breadoven
2d2195d841 fix landing detector active state logic 2023-08-29 11:41:39 +01:00
breadoven
274bfe6e69 Merge remote-tracking branch 'upstream/master' into abo_multi_function_utility 2023-08-28 12:59:52 +01:00
shota
bf0c0d8a50 Merge remote-tracking branch 'origin/master' into sh_mixer_profile 2023-08-28 17:23:47 +09:00
breadoven
6e58a94cf3 Change logic + add gyro check for MR 2023-08-27 23:28:04 +01:00
Darren Lines
1097012af4 Merge branch 'master' into MrD_Wank-to-Wake-launch-idle 2023-08-27 16:57:11 +01:00
Darren Lines
de2c439b5d Merge branch 'master' into MrD_Add-odometer-to-OSD 2023-08-27 16:47:07 +01:00
Darren Lines
2c05e40048 Tested and working in HITL 2023-08-27 16:46:44 +01:00
Paweł Spychalski
44caafd8db
Merge pull request #9249 from breadoven/abo_blackbox_add_target_heading
Add blackbox target heading + missing Nav auto enabled flight modes
2023-08-25 13:34:57 +02:00
breadoven
7bb9b69a5f Fix logic 2023-08-23 22:16:45 +01:00
breadoven
3b9e2a24ff add MR flight sanity and forced Angle 2023-08-23 15:07:20 +01:00
breadoven
1524cc5c21 Add missing flight modes 2023-08-22 10:15:30 +01:00
breadoven
26deae54bb first build 2023-08-21 23:28:11 +01:00
breadoven
90d8a0ef37 add target heading 2023-08-19 21:26:12 +01:00
breadoven
972527b726 fixes 2023-08-14 22:27:44 +01:00
breadoven
24ad38256c Merge remote-tracking branch 'upstream/master' into abo_mc_althold_throttle_type 2023-08-14 22:24:02 +01:00
shota
c51f15f3ad some cleanup 2023-08-12 17:46:17 +09:00
Roman Lut
599e45c48f added USE_GPS_FIX_ESTIMATION
fixed indentation
2023-08-09 09:48:46 +02:00
breadoven
4f396a39ea Add roll control and OSD message 2023-08-08 22:03:34 +01:00
breadoven
5f1a10ad74
Merge pull request #8920 from breadoven/abo_climb_rate_controller_improvement
Nav altitude control improvements
2023-08-07 12:21:57 +01:00
breadoven
6eb19f2135 first build 2023-08-05 22:28:12 +01:00
Roman Lut
2b9a5a6a8d Merge branch 'master' of https://github.com/RomanLut/inav into submit-gps-fix-estimation 2023-08-04 00:57:19 +02:00
breadoven
505b58f9f0 initial build 2023-08-03 21:33:53 +01:00
shota
1188ff79fe fixes 2023-08-02 20:06:18 +09:00
shota
c9ff9cd099 updates 2023-08-02 18:00:52 +09:00
shota
271c7988c8 minor fix 2023-08-02 11:49:37 +09:00
shota
7c8b9976b7 automatic mixer profile switching on rth and land 2023-08-02 00:44:22 +09:00
shota
384439a809 automated transition 2023-07-31 23:51:23 +09:00
shota
1d34800388 initinal failsafe support for mixer profile 2023-07-30 22:36:24 +09:00
shota
167db6ec59 add sannity check in Platform specific RC modes, Add sanity check in mixer_profile switching 2023-07-27 12:09:26 +09:00
shota
5a14ff7b7b move ENABLE_STATE(FW_HEADING_USE_YAW) from navigation.c to mixer.c 2023-07-26 00:03:49 +09:00
shota
2fb9601dd6 mixprofile transition support 2023-07-01 03:29:10 +09:00
shota
203bb2a471 mixer and pid profile linking 2023-06-30 04:01:01 +09:00
shota
3ad0991125 Merge remote-tracking branch 'origin/master' into sh_mixer_profile 2023-06-26 02:33:09 +09:00
breadoven
3a0e6efb3b Add usage setting 2023-06-15 21:59:30 +01:00
Marcelo Bezerra
69bd3e9d93
[SITL OSX] Fix some of the warnings and add macosx SITL build to workflows (#9063)
clang can be verbose with warnings, but some of it is probably valid when building a 64bit binary.

Highlighted changes:

* Call float versions of math functions to avoid conversion to double by the compiler (absf, sqrtf, roundf, etc)
* Make sure floating point constants are marked as floats, to avoid conversion to double by the compiler. (1.0 is a double, 1.0f is a float and when doing math between float and double, all values get upgraded to double!)
* Changed memcpy_fn in unit test AND SITL builds to be a macro to memcpy (instead of inline function calling memcpy), this fixes linker errors for memcpy as macos compiler mangles the symbol in a different way and would not work with asm("memcpy") call.
* Some simulator code made heavy use of doubles, but since all the data in INAV is float, that is probably overkill and some functions/macros had float in the name, while upconvertting to double.

Open questions:

* Should scale in osdFormatCentiNumber be changed to float? It is currently uint32_t but some of the scale defines are, correctly, not integer numbers.
* I changed CENTIDEGREES_TO_DEGREES to use float on the division path, but the code seems to be ok, or assuming it would be converted to integer anyway. Is this the correct solution?
* This still does not fix the invalid settings issues, I suspect it is related to the lack of linker scripts in clang, to preserve the section data of settings.
* Binary is still not multi platform (arm/x86_64).
2023-05-25 13:12:03 +02:00
breadoven
fb8be51333 Update navigation.c 2023-05-21 21:58:39 +01:00
Roman Lut
221d300468 Merge branch 'master' of https://github.com/RomanLut/inav into submit-gps-fix-estimation 2023-05-20 12:37:16 +02:00
Darren Lines
34e4205f00 Merge branch 'master' into MrD_Increase-channels-to-24-Not-for-F411-or-F722 2023-05-14 13:56:10 +01:00