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

361 commits

Author SHA1 Message Date
Darren Lines
b6f8ff98c3 Corrected heading and based off home position 2021-08-01 16:59:16 +01:00
Darren Lines
f06288cce6 Changed method to set climb stage altitude
Climb stage altitude is now set when RTH is initiated. this saves on calculations in each loop.
2021-08-01 16:59:15 +01:00
Darren Lines
9ed0b1d29b Changes to fix EXTRA mode
Initial testing went pretty well. Using the RTH climb stage worked perfectly with the AT_LEAST method. However the EXTRA method didn't work. After reviewing the code, I can see why, and have implemented a fix. This should now work as expected. I'll test ASAP.
2021-08-01 16:59:15 +01:00
Darren Lines
10931fe10d Fixed compile errors 2021-08-01 16:59:15 +01:00
Darren Lines
05199ada70 Allow setting an altitude limit for climb first
This feature adds two CLI commands:
- nav_rth_climb_first_stage_mode
- nav_rth_climb_first_stage_altitude

nav_rth_climb_first_stage_altitude sets an altitude to transition from climb first to turn first. 0 is disabled.

nav_rth_climb_first_stage_mode determines how nav_rth_climb_first_stage_altitude is used. Currently either as an at least altitude or adding to the current altitude.

Initial coding.
2021-08-01 16:59:14 +01:00
Paweł Spychalski
38e6594216
Merge pull request #7107 from breadoven/abo_first_wp_arm_blocker_override
First waypoint too far arm blocker override
2021-07-07 09:17:41 +02:00
Pawel Spychalski (DzikuVx)
ec28dfed54 Merge remote-tracking branch 'origin/master' into release_3.0.1 2021-07-04 20:24:26 +02:00
Jonathan Hudson
a794624248 fix WP MSP regression from #6612, again 2021-06-26 12:32:41 +01:00
Jonathan Hudson
9c6bd6a95f fix WP MSP regression from #6612 2021-06-26 12:23:46 +01:00
Paweł Spychalski
7c96829445
Merge pull request #7082 from JulioCesarMatias/STM32FastProcessingOperations
Change to STM32 faster processing operations
2021-06-15 20:03:09 +02:00
Michel Pastor
7dad0bfa68
Add battery voltage/weight/power density influenced settings to battery profiles (#7074) 2021-06-15 17:13:57 +02:00
Paweł Spychalski
d8dec5bda2
Merge pull request #6977 from iNavFlight/dzikuvx-sqrtf-update
Minor performance update
2021-06-13 15:08:41 +02:00
breadoven
1b2d75dec7
WP mission Home WP option (#6920)
* Initial build

* Add new waypoint type FlyBy Home (FBH)

* Revert "Add new waypoint type FlyBy Home (FBH)"

This reverts commit a37dec5695.

* Remove FBH WP type, use Home flag instead

* Fixes
2021-06-13 14:07:45 +01:00
Pawel Spychalski (DzikuVx)
f737fe1901 Merge branch 'master' into dzikuvx-sqrtf-update 2021-06-13 14:55:09 +02:00
breadoven
ed95ca9d23 Change to function 2021-06-12 11:44:30 +01:00
breadoven
beb72ddf1a First build 2021-06-11 23:36:07 +01:00
Alexander van Saase
b23969019d
Merge pull request #7079 from iNavFlight/avs-continuous-trim-improvement
Add sticks restriction to continuous trim
2021-06-11 09:30:33 +02:00
Alexander van Saase
156c947d3c separate function for only roll/pitch stick deflection 2021-06-09 14:33:34 +02:00
breadoven
1a7ce26197 Change of method
Change to remove array for storing geospatial WP indices. Uses iterative method to determine geospatial WP numbering instead.
2021-06-07 10:49:39 +01:00
breadoven
36974174aa Change Index List
Change from using WP .P3 to dedicated geospatial WP list list array
2021-06-07 10:47:32 +01:00
breadoven
94e199ecd9 Fix white space 2021-06-07 10:47:31 +01:00
breadoven
b0d75aa6cd Update navigation.c 2021-06-07 10:38:48 +01:00
breadoven
ec693daeb6 Update Method
Change from using WP.flag to WP.p3
2021-06-07 10:38:48 +01:00
breadoven
1a104a8f2a Display only geospatial WPs on OSD
Fix to ensure only geospatial WPs are displayed on OSD with sequential numbering maintained around nongeo WPs.
2021-06-07 10:38:47 +01:00
JuliooCesarMDM
79db68dc50 do fast operations 2021-06-05 22:24:49 -03:00
Alexander van Saase
81fdf6d5ae Add sticks restriction to continuous trim 2021-06-05 11:31:16 +02:00
Paweł Spychalski
2a2ad1a617
Merge pull request #6943 from breadoven/abo_launch_idle_delay
FW Launch idle throttle motor start time delay
2021-05-21 08:41:55 +02:00
Pawel Spychalski (DzikuVx)
500c6ab923 Minor performance update 2021-05-17 11:47:37 +02:00
Paweł Spychalski
bde46fb957
Merge pull request #6612 from tonyyng/auto-load-waypoints
Automatically load waypoints during FC boot
2021-05-15 08:50:08 +02:00
Paweł Spychalski
d93c443f6f
Merge pull request #6724 from breadoven/abo_fix_man_mode_WP_mission
Ensure Manual mode activates during active WP mission
2021-05-15 08:44:37 +02:00
Paweł Spychalski
c3a7f72c66
Merge pull request #6564 from iNavFlight/dzikuvx-autolevel
Autolevel flight mode and pitch trim option
2021-05-15 08:40:00 +02:00
Alexander van Saase
11d543f950
rescale deadbanded values to original range (#6925) 2021-05-11 16:11:03 +02:00
Pawel Spychalski (DzikuVx)
1966a23b15 Merge branch 'master' into dzikuvx-autolevel 2021-05-11 14:09:17 +02:00
breadoven
eab816bf74 Initial build 2021-05-10 11:25:38 +01:00
Pawel Spychalski (DzikuVx)
a4116d4399 Merge branch 'master' into dzikuvx-limit-max-altitude-on-mr 2021-05-05 15:12:26 +02:00
Michel Pastor
56286c1698
Add CRUISE mode which is equivalent to CRSH+AH (#6904) 2021-05-04 19:52:27 +02:00
breadoven
40f23445f7
WP Mission Landing Elevation Setting (#6822)
* Initial build

* Fix p1 error + change cm to meters

* Update navigation.c

Add correction if absolute SL landing elevation used (related PR #6662)
2021-05-03 16:14:02 +01:00
breadoven
f4b92bc0f7
WP mission sealevel altitude datum (#6662)
Changed to using WP P3 for altitude datum flag now set individually for each geospatial WP in mission.
2021-05-03 14:44:56 +01:00
breadoven
2f30d96f30 Merge remote-tracking branch 'upstream/master' into abo_fix_man_mode_WP_mission 2021-05-03 13:34:41 +01:00
breadoven
f2692f322b
WP Mission RTH Change (#6524)
* Initial changes

Change WP mission RTH to normal RTH mode

* Cleanup and remove PR6050

* Clean up

* Persistent ID fix + existing bug fix

* Add system message

* Revert "Add system message"

This reverts commit 28ab7f33ba.

* Add System Message

* Update navigation.c
2021-04-28 16:48:28 +01:00
Tony Yeung
4ea76eea0f merge master 2021-04-25 13:50:03 +00:00
Michel Pastor
a008a81a38
Copter: add new setting for final landing vspeed instead of being hardcoded to 25% of set landing vspeed (#6853)
* Copter: add new setting for final landing vspeed instead of being hardcoded to 25% of set landing vspeed

* FC_MSP: add land_minalt_vspd to RTH_AND_LAND_CONFIG

* Update CLI docs

* Fix settings description

* Cosmetic fix

* Homogenize landing settings prefix
2021-04-19 23:42:46 +02:00
breadoven
65f344358a
Update navigation.c (#6852) 2021-04-19 15:17:32 +01:00
Alexander van Saase
e5b2fef65c Merge branch 'master' into delayed_safehome
# Conflicts:
#	docs/Settings.md
#	src/main/fc/settings.yaml
#	src/main/navigation/navigation.c
2021-04-18 13:58:01 +02:00
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