breadoven
df8bccd973
Merge remote-tracking branch 'upstream/master' into RTH-Altitude-Override
2021-04-10 13:44:02 +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
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
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
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
Pawel Spychalski (DzikuVx)
00c4d75892
Merge branch 'master' into dzikuvx-programming-pid
2020-12-24 19:51:41 +01: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
breadoven
73ca0184ce
Fix Naming
2020-10-02 12:33:26 +01:00
breadoven
d24cbb161b
Update navigation.c
2020-09-30 14:34:15 +01:00
breadoven
6db2549246
Update navigation.c
2020-09-30 14:24:15 +01:00
breadoven
55454ae391
Merge branch 'master' of https://github.com/breadoven/inav
2020-09-30 14:15:34 +01:00
breadoven
3b34fb4195
Update navigation.c
2020-09-30 14:00:26 +01:00
Airwide
845de37651
Added nav_fw_pitch2thr_smoothing to cli settings and osd menu
2020-09-28 23:02:55 +02:00
breadoven
e09724bd3a
Update navigation.c
...
RTH Alt Override
2020-09-25 13:50:40 +01:00
Airwide
a1c7149414
Renamed variable and added new setting nav_fw_pitch2thr_threshold
2020-09-06 10:10:06 +02:00
Yuxin Pan
3951a7a793
Waypoint 254 access in any 3D-guided mode
...
Access current target position in any 3D-guided mode for waypoint 254
2020-09-03 17:22:50 +08:00
Yuxin Pan
c64753cdc8
Move max waypoint STATIC_ASSERT to navigation.c to ensure it is properly triggered
2020-09-03 13:18:11 +08:00
Yuxin
2a76ce302c
add new special waypoint 254 to facilitate desiredPosition in GCS assisted mode
2020-09-02 22:27:56 +08:00
Yuxin
b8db639a2a
Returns GCS waypoint in the case of waypoint 255
...
For MSP query in the case of waypoint 255, in this commit the ground control station waypoint is returned, which is consistent with its waypoint set behavior. This is also the desired behavior to affirm users that the correct waypoint is loaded. If GCS assist mode is not enabled, the current position is returned to preserve compatibility.
2020-09-01 23:02:59 +08:00