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

306 commits

Author SHA1 Message Date
breadoven
e8dc880b5c Update navigation.c
Reduced stick hold delay time to 1s and limited climb first override to fixed wing only
2021-04-13 23:16:03 +01:00
breadoven
2a01175e0e Update navigation.c 2021-04-13 00:15:09 +01:00
breadoven
99e787c96b Merge remote-tracking branch 'upstream/master' into RTH-Altitude-Override 2021-04-12 23:57:54 +01:00
breadoven
df8bccd973 Merge remote-tracking branch 'upstream/master' into RTH-Altitude-Override 2021-04-10 13:44:02 +01:00
breadoven
cef308bc31 Merge remote-tracking branch 'upstream/master' into abo_RTH_spiral_climb 2021-04-10 13:00:29 +01:00
Michel Pastor
fc0e5e2741
Get setting default values from settings.yaml (#6595)
* Get setting default values from settings.yaml

* settings: Make the generator more robust and versatile

- Add support for resolving types and values in multiple compilers
- Add support for resolving types and values in clang 10
- Add support for using the host compiler for resolving the settings

This allows us to run the generator for the unit tests, since they now
need the settings_generated.h file to get the default setting values
from it.

* Fix regexps in settings.rb and add execution bit

* Fix git revision issue

* Fix issue with settings validation

* Fix issue with targets not defining USE_MAG

Co-authored-by: Alberto García Hierro <alberto@garciahierro.com>
2021-04-07 17:48:09 +02:00
Michel Pastor
3aadc493c0
Rename NAV CRUISE mode to NAV COURSE HOLD (#6297) 2021-04-06 22:21:49 +02:00
breadoven
814dc4924c
Merge pull request #19 from iNavFlight/master
Update INAV master
2021-04-03 17:35:44 +01:00
Pawel Spychalski (DzikuVx)
303ba84353 Add an ability not to slow down when switching to the next waypoint 2021-03-03 21:25:10 +01:00
breadoven
e48b762d7a Update navigation.c
Trim white space
2021-02-11 00:05:36 +00:00
breadoven
585e559b61 Revert "Update navigation.c"
This reverts commit 3706a0928b.
2021-02-11 00:02:22 +00:00
breadoven
edc98ab6c1
Merge branch 'master' into RTH-Altitude-Override 2021-02-10 23:39:42 +00:00
breadoven
0a93b8b64a Fix white space 2021-02-10 23:20:05 +00:00
breadoven
3706a0928b Update navigation.c
Remove white space
2021-02-10 22:45:30 +00:00
Darren Lines
9130152fab
Increased fw loiter radius default
Changed the default loiter radius, as have seen a lot of issues with loiter recently. The larger radius will give more of a buffer for larger models and people who have forgotten to/haven't tuned the model correctly.
2021-02-07 10:55:31 +00:00
Pawel Spychalski (DzikuVx)
fdc8db6a91 Extract navigation PID controller to separate module 2021-02-03 20:09:38 +01:00
breadoven
8286502517
Merge branch 'master' into abo_RTH_spiral_climb 2021-01-19 13:42:29 +00:00
breadoven
55113eea65 Setting Change
Added Spiral setting to nav_rth_climb_first setting.
2021-01-19 13:35:16 +00:00
breadoven
8ece8be419 Merge branch 'master' into abo_RTH_spiral_climb 2020-12-31 12:46:59 +00:00
Pawel Spychalski (DzikuVx)
00c4d75892 Merge branch 'master' into dzikuvx-programming-pid 2020-12-24 19:51:41 +01:00
breadoven
e18ecdddaf FW RTH Spiral Climb
Uses loiter climb (spiral) for FW RTH with Climb First option.
2020-12-21 09:57:20 +00:00
Airwide
4c32c596f9 Added pitch2thr smoothing defaults to pg_reset_template 2020-12-07 20:00:56 +01:00
breadoven
6f787f01e5
Merge branch 'master' into RTH-Altitude-Override 2020-12-05 23:02:41 +00:00
Arvid Stenberg
18e13c8e72
Added state NAV_STATE_WAYPOINT_HOVER_ABOVE_HOME (#6050) 2020-12-05 11:05:49 +00:00
tonyyng
64c64c3d05
Add safehome_max_distance option. Choose nearest safehome. (#6333)
* Add safehome_max_distance option.  Choose nearest safehome.

* Correct safehome_max_distance default value.
2020-12-05 08:37:04 +00:00
Pawel Spychalski (DzikuVx)
d32fe6dea5 Move PID gains to UINT16 instead of UINT8. Keep it compatible on the MSP level 2020-12-04 20:38:34 +01:00
Michel Pastor
c3e0b447e5 Remove new setting and instead add new option OFF_ALWAYS for nav_overrides_motor_stop 2020-12-01 22:56:43 +01:00
Michel Pastor
7dc1f3f9d5 Add setting nav_overrides_motor_stop_on_fs 2020-12-01 19:16:36 +01:00
breadoven
fcedba8618 Improved Code
Cleaned up code removing Climb First flag. Tested in flight, works as expected.
2020-11-29 13:06:29 +00:00
breadoven
b3005fbc3c Update navigation.c
Fix ABS build error
2020-11-25 22:24:57 +00:00
breadoven
7dbc27c81a Update to add RTH Climb First override
RTH Climb First override added using roll stick.
RTH altitude override - pitch down stick
RTH Climb First override - roll right stick
Stick hold for > 2 seconds.
2020-11-25 18:53:16 +00:00
breadoven
011533be52 Update navigation.c
Fix tabs
2020-11-17 22:10:27 +00:00
breadoven
2d0c92b605 Merge branch 'master' into OSD-Nav-Message-Update 2020-11-17 21:47:14 +00:00
breadoven
8f2c2620ef Change Control to Pitch Stick
Override trigger changed from AlfHold mode to pitch stick input.
2020-11-17 21:15:37 +00:00
Konstantin (DigitalEntity) Sharlaimov
94332bc286 [NAV/MIXER] Refactor getMotorStop() code; Avoid recursion and crash when nav_overrides_motor_stop is set to NOMS_ALL_NAV 2020-11-16 20:46:50 +01:00
Konstantin Sharlaimov
c1c5ed1500
Revert "Revert "Autolaunch - Added a smooth end launch feature and code refactor"" 2020-11-16 20:12:48 +01:00
Konstantin Sharlaimov
d028b19ec7
Revert "Autolaunch - Added a smooth end launch feature and code refactor" 2020-11-16 14:04:13 +01:00
breadoven
181a1ce9e5 Fix Merge Correction Errors 2020-11-15 21:49:12 +00:00
breadoven
efb31fcbde
Merge branch 'master' into RTH-Altitude-Override 2020-11-15 10:02:34 +00:00
Konstantin Sharlaimov
efeefd9eb8
Merge pull request #6104 from Airwide/aw-fw-nav-smooth-throttle
Smooth throttle in navigation modes on FW
2020-11-15 08:36:42 +00:00
DESKTOP-N53JVUO\mix
6d1a7f0f44 Merge branch 'master' of https://github.com/dragnea/inav into dragnea_autolaunch_refactor
# Conflicts:
#	src/main/io/beeper.c
#	src/main/io/beeper.h
#	src/main/navigation/navigation_fw_launch.c
2020-11-14 22:30:09 +02:00
Konstantin Sharlaimov
c07386c3e0
Merge pull request #6067 from shellixyz/improvement/make_nav_overrides_motor_stop_tristate
Make nav_overrides_motor_stop tristate: OFF | AUTO_ONLY | ALL_NAV
2020-11-14 17:40:09 +00:00
Airwide
cc47513004 Changed to PT1 filter in fixedWingPitchToThrottleCorrection 2020-11-11 23:07:42 +01:00
Airwide
8b1f7e3b13 Changed centidegrees to decidegrees in comments and docs 2020-11-05 08:47:52 +01:00
Michel Pastor
20efd8939c Make nav_overrides_motor_stop tristate: OFF | AUTO_ONLY | ALL_NAV 2020-10-29 22:26:48 +01:00
root
91e69c9614 Merge branch 'master' of https://github.com/dragnea/inav into dragnea_autolaunch_refactor 2020-10-17 13:47:12 +03:00
breadoven
0b38af6250 OSD Nav Message Update
System Messages for:
RTH Climb Phase
To WP number countdown
WP Hold countdown timer
2020-10-13 22:04:10 +01:00
breadoven
ca05206cce
Update navigation.c 2020-10-13 17:41:16 +01:00
breadoven
fba427f632 Revert "Revert "Update navigation.c""
This reverts commit 61d1e416ba.
2020-10-13 17:04:40 +01:00
breadoven
61d1e416ba Revert "Update navigation.c"
This reverts commit d24cbb161b.
2020-10-13 16:55:40 +01:00