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

306 commits

Author SHA1 Message Date
Konstantin Sharlaimov (DigitalEntity)
2c65d2273e Initial cut of AGL
Optimize and refactor

Refactoring
2017-11-15 12:40:12 +10:00
teckel12
cc298d075e Don't do home reset if in failsafe mode 2017-10-27 09:42:53 -04:00
Krzysztof Matula
b1282a0416 make RTH climb->cruise transition more robust:
- apply additional "overshoot" height (1m) to assure we actually reach the target alt.
- relax the "margin" to 15%
2017-10-21 10:19:24 +02:00
Krzysztof Matula
3e7c6de226 Correct RTH initial climb end condition. 2017-10-18 19:14:27 +02:00
Alberto García Hierro
26938321d9 Add a 3rd state for nav_rth_allow_landing
New state FS_ONLY allows landing only when RTH is enabled at the
same time as the failsafe mode. This allows the aircraft to land
itself when there's no way to regain control.

Fixes #2344
2017-10-16 11:42:22 +01:00
Konstantin Sharlaimov (DigitalEntity)
0778619547 Disable user-activated motor-stop if navigation system is in autonomous mode (RTH or WP) 2017-10-05 22:37:47 +10:00
Alberto García Hierro
deb3385616 Better detection for THR control from the NAV system
As requested by @digitalentity. Previous code was returning a
false positive on MC when only 2D position hold was active.
2017-10-04 10:36:17 +01:00
Alberto García Hierro
47fc453727 Add OSD_THROTTLE_POS_AUTO_THR indicator
Displays stick THR position when the user controls THR directly,
actual applied THR when the navigation system controls THR.

Fixes #2031
2017-10-03 13:08:38 +01:00
Konstantin Sharlaimov
d40fb2bdf4 Merge pull request #1978 from iNavFlight/de_fw_tecs_1
Fixed wing TECS controller preparation (stage 1)
2017-09-06 10:08:39 +10:00
Konstantin Sharlaimov (DigitalEntity)
8666edc80e Fix bugs in gain scaling; Allow gain scaling for NAV PID 2017-09-05 23:52:42 +10:00
Konstantin Sharlaimov (DigitalEntity)
c03c7d6bce Add bitarray support; Migrage rcModeActivationMask to bitArray 2017-08-08 23:14:10 +10:00
Konstantin Sharlaimov (DigitalEntity)
9524fd7f7e Airspeed gain 2017-08-06 20:52:13 +10:00
Konstantin Sharlaimov (DigitalEntity)
cda5940838 Change FW altitude controller to operate energy balance instead of raw altitude 2017-08-06 20:13:13 +10:00
Konstantin Sharlaimov (DigitalEntity)
9baede1ab7 Fix failsafe & navigation clash 2017-07-08 21:46:21 +10:00
Martin Budden
fd7d770fb1 Whitespace tidy 2017-07-05 07:42:07 +01:00
Pawel Spychalski (DzikuVx)
c917685718 last step of cleanup 2017-07-03 16:49:43 +02:00
Pawel Spychalski (DzikuVx)
280e1895af Landing: configurable dive angle 2017-06-02 09:31:37 +02:00
Pawel Spychalski (DzikuVx)
65f685ccff refactoring 2017-06-02 09:31:37 +02:00
Pawel Spychalski (DzikuVx)
df619eb551 Do not raise THROTTLE during NAV_CTL_LAND when nose is UP 2017-06-02 09:31:37 +02:00
Konstantin Sharlaimov
205e8b690c Merge pull request #1728 from iNavFlight/de_nav_time_overflow
Fix incorrect time types
2017-05-27 21:07:49 +10:00
Konstantin Sharlaimov (DigitalEntity)
87e0253615 Add a setting for max launch detection angle 2017-05-26 22:07:20 +10:00
Konstantin Sharlaimov (DigitalEntity)
fc7c073b79 Fix incorrect time types 2017-05-26 18:26:43 +10:00
Pawel Spychalski (DzikuVx)
f0a95f3d22 fixed bug in updateClimbRateToAltitudeController and added logging 2017-05-22 11:44:46 +02:00
Giacomo
b6321cde9e naivation to navigation typo fixed 2017-05-18 19:12:26 +02:00
Konstantin Sharlaimov (DigitalEntity)
ba5c870e94 Refactor and fix RoC/RoD -> altitude controller; Remove surface tracking controller 2017-05-13 00:56:47 +10:00
Martin Budden
52f32d9381 Subsumed navDebug into debug 2017-05-08 09:02:00 +01:00
Konstantin Sharlaimov (DigitalEntity)
cc9e407895 Improve climb-out logic for RTH. Different margin for airplane and copter 2017-04-19 23:10:20 +10:00
Konstantin Sharlaimov
c5616f55c8 Merge pull request #1512 from iNavFlight/fw-coordinated-turn
Fixed wing coordinated turn
2017-04-14 00:04:52 +10:00
Konstantin Sharlaimov (DigitalEntity)
dc123d09ec Deprecate nav_fw_roll2pitch 2017-04-12 23:48:12 +10:00
Konstantin Sharlaimov (DigitalEntity)
0d3bec4a02 Fix non-working logging of taret position in manual mode 2017-04-10 00:51:22 +10:00
Konstantin Sharlaimov (DigitalEntity)
27a907eab5 Use TURN_ASSIST for navigation 2017-04-08 16:25:33 +10:00
Konstantin Sharlaimov (DigitalEntity)
d3147b71e8 Log last disarm reason to blackbox, report via LTM 2017-04-05 14:49:20 +10:00
Konstantin Sharlaimov
44cfad464b Merge pull request #1401 from iNavFlight/nav-cleanups-fixes
Speed control and RTH/FAILSAFE improvements
2017-03-30 18:38:44 +10:00
Konstantin Sharlaimov (DigitalEntity)
df83fe8d0f Load mission from vehicle 2017-03-26 23:11:04 +10:00
Konstantin Sharlaimov (DigitalEntity)
1076fc13c3 Update MAVLink library; Initial cut on bi-directional MAVLink; Mission upload 2017-03-26 21:46:08 +10:00
Konstantin Sharlaimov (DigitalEntity)
b38d6e3148 Protection from activating RTH w/o altitude sensor 2017-03-13 23:48:30 +10:00
Konstantin Sharlaimov (DigitalEntity)
7ce1872b25 Some cleanups 2017-03-13 21:22:42 +10:00
Konstantin Sharlaimov (DigitalEntity)
8b7a14aea7 Split auto/manual speed and climb rate limitation; Remove 2D RTH; RTH safety refactoring 2017-03-13 21:14:42 +10:00
Konstantin Sharlaimov (DigitalEntity)
c52501aade Surface estimtion refactoring 2017-03-12 20:43:32 +10:00
Konstantin Sharlaimov (DigitalEntity)
cf73ab9a39 Surface estimation tweaks 2017-03-08 22:07:26 +10:00
Konstantin Sharlaimov (DigitalEntity)
5fbeff2ee7 Only allow HOME_RESET to reset home position once. Consecutive reset has to be done by turning off HOMERESET switch 2017-02-28 18:31:25 +10:00
oleost
578b4cf0e7 Update navigation.c 2017-02-27 12:07:55 +01:00
oleost
70b28df273 Update navigation.c 2017-02-27 12:06:24 +01:00
oleost
b6f4b5760c Update navigation.c 2017-02-27 08:47:48 +01:00
Konstantin Sharlaimov (DigitalEntity)
cfca306eca Fix RTH landing on airplanes 2017-02-14 21:52:54 +10:00
Konstantin Sharlaimov (DigitalEntity)
25d486d03e Fix missing #ifdef causing the PG_WAYPOINT_MISSION_STORAGE to be allocated and consume EEPROM regardless of target configuration 2017-02-11 10:44:01 +10:00
Konstantin Sharlaimov (DigitalEntity)
b0dd35417c Initial cut on storing waypoints in configuration. Not supported on F1 targets 2017-02-08 23:38:37 +10:00
Martin Budden
5fcd222cc7 Split time declarations out of system.h into time.h 2017-02-07 17:01:02 +00:00
Konstantin Sharlaimov (DigitalEntity)
7b9c5e0dae Calculate total trip distance 2017-02-07 23:20:23 +10:00
Konstantin Sharlaimov
dcc163f185 Merge pull request #1229 from iNavFlight/nav-improvements
Navigation and GPS improvements
2017-02-05 21:07:23 +10:00