1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-16 12:55:16 +03:00
Commit graph

162 commits

Author SHA1 Message Date
Scavanger
9370fdd49f FW-Autoland 2024-02-07 08:54:58 -03:00
Darren Lines
b39a2dcde4
Merge pull request #9428 from iNavFlight/MrD_Make-min-ground-speed-a-parameter 2023-12-06 23:33:02 +00:00
breadoven
9c01d065b3 Update navigation_fixedwing.c 2023-11-08 18:57:28 +00:00
MrD-RC
298f45e7f7 Move parameter out of battery profile, in to normal settings. 2023-11-02 12:50:12 +00:00
MrD-RC
13d8fbab90 Move minimum ground speed to a changeable parameter 2023-10-30 13:24:55 +00:00
breadoven
ea2b1897f0 Merge remote-tracking branch 'upstream/master' into abo_emerg_flight_rearm 2023-10-23 20:19:04 +01:00
breadoven
45272d9a02 Merge remote-tracking branch 'upstream/master' into abo_emerg_flight_rearm 2023-09-25 13:59:44 +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
1c76c0b3d0 first build 2023-09-06 12:40:11 +01:00
Pawel Spychalski (DzikuVx)
c5c1603064 Merge branch 'master' into abo_mc_course_hold_cruise 2023-09-05 20:55:01 +02:00
shota
bf0c0d8a50 Merge remote-tracking branch 'origin/master' into sh_mixer_profile 2023-08-28 17:23:47 +09:00
breadoven
26deae54bb first build 2023-08-21 23:28:11 +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
505b58f9f0 initial build 2023-08-03 21:33:53 +01:00
shota
258a88ce15 no loiter waypoint for vtol 2023-08-03 20:31:34 +09: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
0b7632d4c4 fixes 2023-03-28 11:29:50 +01:00
breadoven
a0456565ac fix loiter detection FW + tweaks 2023-03-27 21:42:01 +01:00
breadoven
5a454a3400 update 2023-03-26 23:24:26 +01:00
breadoven
f8da237e28 first build 2023-03-24 13:40:49 +00:00
Roman Lut
936a7fd3a2 use pitot values only if healty 2023-02-27 18:03:17 +01:00
breadoven
4a7a2a75b6 update 2023-01-27 21:39:23 +00:00
Paweł Spychalski
bb79ad8f02
Merge pull request #8686 from breadoven/abo_manual_emerg_landing
Manual emergency landing FW and MR
2023-01-27 16:11:05 +01:00
breadoven
5a4f3190d5 update 2023-01-26 21:09:34 +00:00
breadoven
3560bb57ea landing tweaks 2023-01-24 14:21:13 +00:00
breadoven
eaf42803c3 Merge remote-tracking branch 'upstream/master' into abo_fw_coursehold_change 2023-01-13 11:38:57 +00:00
breadoven
1d292b1925 Update navigation_fixedwing.c 2022-12-19 11:48:50 +00:00
breadoven
d86ff58c94 Update navigation_fixedwing.c 2022-12-19 00:28:08 +00:00
breadoven
e7f9f6e135 remove redundant function + update 2022-12-19 00:16:16 +00:00
breadoven
a366ae4671 first cut 2022-12-19 00:06:01 +00:00
breadoven
ce7ee28677 first build 2022-12-15 22:46:25 +00:00
breadoven
7b53373921
Merge pull request #8601 from breadoven/abo_throttle_low_cleanup
Throttle low clean up
2022-12-08 14:34:11 +00:00
breadoven
67fec7260b Update navigation_fixedwing.c 2022-12-08 10:51:15 +00:00
breadoven
24917556c2 add osd items 2022-12-04 18:18:14 +00:00
breadoven
a7cef4708e first update 2022-12-01 12:38:54 +00:00
breadoven
1015e19c81 Add missing code 2022-11-29 14:08:05 +00:00
Darren Lines
151798b1a5
Merge pull request #8451 from iNavFlight/MrD_Remove-unneccesary-parameters-from-profiles
Remove unnecessary parameters from profiles
2022-11-27 12:15:58 +00:00
breadoven
5cdaab4c28 Update navigation_fixedwing.c 2022-11-02 20:45:01 +00:00
breadoven
235e4d90c3 Update navigation_fixedwing.c 2022-11-02 19:53:04 +00:00
breadoven
1b3013b570 initial build 2022-11-02 16:26:17 +00:00
Darren Lines
541bbd856f Remove unnecessary parameters from profiles
`fw_loiter_direction` was in control profiles. There's no reason why this would want to be changed with different control parameters. It's purely a pilot preference. This has been moved to `navConfig.fw`

'fw_min_throttle_down_pitch` was in the battery profiles. This command is really something that is set based on the airframe and it's glide ratio. Battery type or performance does not effect this. Moved to `navConfig.fw`
2022-10-06 21:36:25 +01:00
breadoven
0fb8897eb9 remove duplicate settings 2022-09-27 21:42:31 +01:00
breadoven
16be85975a build 2022-09-27 13:36:05 +01:00
breadoven
a939453c74 Update navigation_fixedwing.c 2022-08-25 22:33:48 +01:00
breadoven
8ceec5b304 fix landing 2022-08-25 22:12:38 +01:00
Paweł Spychalski
cdaf835822
Merge pull request #8330 from JulioCesarMatias/RenameASFunction
Rename pitotCalculateAirSpeed()
2022-08-22 13:56:54 +02:00
JuliooCesarMDM
9b5106aafe Rename pitotCalculateAirSpeed 2022-08-16 21:11:53 -03:00
breadoven
15b82352b4 Add setting max convergence angle 2022-08-14 13:32:21 +01:00
breadoven
67adc42e75
Merge branch 'master' into abo_waypoint_tracking 2022-08-12 13:02:36 +01:00