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

31 commits

Author SHA1 Message Date
Konstantin Sharlaimov (DigitalEntity)
6d12c38b6c RTH: Better RTH safety. Prevent RTH from activating on airplanes if close to home. Initiate a land on multirotors when close to home. 2016-03-28 13:05:07 +10:00
Konstantin Sharlaimov (DigitalEntity)
9a36b1ef45 NAV: Use Throttle expo curve midpoint as hover point for multicopters 2016-03-27 21:14:11 +10:00
Konstantin Sharlaimov (DigitalEntity)
235ebf667a NAV: Further improve handling of magless machines 2016-03-12 22:46:12 +10:00
Konstantin (DigitalEntity) Sharlaimov
fbeff0a1be NAV: Allow position control from EzGUI (follow me etc) only if new 'GCS NAV' mode is enabled 2016-03-08 19:35:20 +02:00
Konstantin Sharlaimov (DigitalEntity)
f026603d8b NAV: Fixed an option to compile out navigation while still having GPS for telemetry and OSD (home position, distance and bearing is calculated correctly) 2015-12-23 20:06:47 +10:00
Konstantin Sharlaimov (DigitalEntity)
552f313448 NAV: More generic code. FW: Rework pitch/roll/throttle correction processing code. Pitch compensation for roll now possible 2015-12-22 14:55:43 +10:00
Konstantin Sharlaimov (DigitalEntity)
e321526a3f NAV: Configurable position sensor timeout. Ability to disable emergency landing 2015-12-21 23:24:48 +10:00
Konstantin Sharlaimov (DigitalEntity)
c8b7e8ae74 NAV: Prevent switching to IDLE state on GPS loss - keep activated flight mode and give chance for EMERG controller to kick in. Emergency GPS timeout set to 5 seconds. 2015-12-21 19:46:50 +10:00
Konstantin Sharlaimov (DigitalEntity)
d26c8b0e01 WP: Per-waypoint speed setting 2015-12-21 15:03:08 +10:00
Konstantin Sharlaimov (DigitalEntity)
b049c85084 MC: Position controller expo (controlled by Pos D). Compiled out LEDSTRIP 2015-12-20 23:00:43 +10:00
Konstantin Sharlaimov (DigitalEntity)
ef81aa20c2 Force ANGLE mode for airplanes in ALTHOLD mode 2015-12-16 16:33:55 +10:00
Konstantin Sharlaimov (DigitalEntity)
acd0caf4ec Disabled possibility to switch to WP from RTH 2015-12-12 21:37:19 +10:00
Konstantin Sharlaimov (DigitalEntity)
a63b0a01dc Velocity attenuation for WP mode if not facing the next waypoint. Turn first, accelerate later logic. Don't apply rth_tail_first for airplanes - can't go tail first 2015-12-12 16:40:39 +10:00
Konstantin Sharlaimov (DigitalEntity)
0121d81da9 HIL now outputs rcCommand for multicopters and selects between rcCommand and axisPID for airplanes 2015-12-12 00:00:44 +10:00
Konstantin Sharlaimov (DigitalEntity)
c15512b4da Added a 2 sec timeout before switching into EMERG mode when on a WP mission 2015-12-11 20:29:02 +10:00
Konstantin Sharlaimov (DigitalEntity)
77b53404c3 GPS glitch detection fix. Logging GPS glitch status to blackbox 2015-12-08 23:03:36 +10:00
Konstantin Sharlaimov (DigitalEntity)
5052d5cd1c Configurable maximum banking angle for MC poshold controller. Min flyable throttle parameter for landing detection 2015-12-03 12:50:09 +10:00
Konstantin Sharlaimov (DigitalEntity)
8130be4772 Fixes and optimisations to FSM. Smoother transition from PH to RTH. Option to execute RTH tail first 2015-12-02 23:21:15 +10:00
Konstantin Sharlaimov (DigitalEntity)
490472a45b LTM N-frame with extended navigation status. MultiWii-compatible MSP_NAV_STATUS message 2015-12-02 23:21:09 +10:00
Konstantin Sharlaimov (DigitalEntity)
5ef05268de Waypoint code rework. Upload/download mission works. Waypoint actions RTH and WAYPOINT are supported (untested) 2015-12-01 17:02:58 +10:00
Konstantin Sharlaimov (DigitalEntity)
ce18dc94eb Waypoint storage reworked - store raw waypoint data (MWP-compliant), convert to local coordinates as required 2015-12-01 10:35:51 +10:00
Konstantin Sharlaimov (DigitalEntity)
fd28138535 Added posDecelerationTime (controlled by Pos I) to control braking strength 2015-11-30 20:14:30 +10:00
Konstantin Sharlaimov (DigitalEntity)
b40df56f16 Added GPS failure handling during RTH. Wait for 2 sec for GPS to get online again, if this does not happen, switch to emergency landing 2015-11-30 14:37:47 +10:00
Konstantin Sharlaimov (DigitalEntity)
43de844aca Fix last waypoint issue 2015-11-30 10:49:21 +10:00
Konstantin Sharlaimov (DigitalEntity)
62aaa50f93 Fix for throttle drops/jumps due to not reset throttle LPF filter from last attempt. Uppered throttle LPF cutoff to 4Hz 2015-11-27 12:36:22 +10:00
Konstantin Sharlaimov (DigitalEntity)
51d7babbdd PH braking revisited 2015-11-26 15:08:27 +10:00
Konstantin Sharlaimov (DigitalEntity)
6afd3741b2 Surface sensor (SONAR) assisted landing detection 2015-11-25 16:50:11 +10:00
Konstantin Sharlaimov (DigitalEntity)
e33dda884d Fix a bug in RTH altitude calculation. Bug is observed as RTH never finishing the CLIMB stage 2015-11-24 14:58:21 +10:00
Konstantin Sharlaimov (DigitalEntity)
5e2a537d8c Disable GPS glitch detection. Reason: doesn't work as expected. Needs debugging 2015-11-23 10:24:08 +10:00
Konstantin Sharlaimov (DigitalEntity)
0f417d5246 Kalman filter for sonar readings. Provides surface rate velocity (currently unused) 2015-11-18 16:58:20 +10:00
digitalentity
34046169c7 An implenentaion of nav-rewrite (squashed commit, November 17th).
Automatic magnetic declination from GPS coordinates (approximate to 1-2 degrees) (disabled)
Accelerometer bias compensation
Quaternion-based Mahony's DCM IMU (implementation by S. Madgwick)
Ability to lock heading to GPS cource for airplanes
Faster acquisition by initial attitude by using higher DCM kP gain on powerup
Changes to mag calibration algorithm (@HaukeRa's code). Compass calibration now independent from align_mag.
Changed acc calibration to proper 3-axis offset calculation code (same code as for mag). Changed board alignment angles to decidegrees (configurator incompatibility). Removed accelerometer trims (values passed thru MSP are ignored). Accel trim stick combo now adjusts board alignment directly (real-time, without reboot). Removed inflight acc calibration.
FIR filter implementation for different looptimes. Option gyro_cut_hz replaced with gyro_fir_enable (default gyro_soft_filter=3 preset - a very pessimistic filter with fairly large delay but low cutoff frequency for large or very noisy copters)
iNav-related PIDs renamed in CLI to avoid re-usage of old values when restoring config dumps.
PID with back-calculation and I-term anti-windup. Smarter max acceleration and jerk limiting
Initial support for airplane navigation. ALTHOLD, POSHOLD (circular loiter around the waypoint) and RTH should work. UNTESTED! RTH altitude probably needs some work. Autolanding will NOT function at the moment - the AUTOLAND phase will never complete. Absolutely no throttle control at the moment (fully manual control).
Increase delay for bmp085 baro detection. Resolves an issue with bmp085 not being detected sometimes on powerup
Fixed the missing checks for MIXER_CUSTOM_AIRPLANE
Lots of small fixes
2015-11-17 15:19:46 +10:00