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

404 commits

Author SHA1 Message Date
Martin Budden
dda73ff689 Tidy up of all nrf24 protocols. 2016-06-14 12:36:23 +01:00
Martin Budden
63525433c4 Added soft spi feature and configuration. 2016-06-14 12:36:23 +01:00
Martin Budden
38fc2752e9 Tidied protocols and added H8_3D protocol. 2016-06-14 12:36:23 +01:00
Martin Budden
918e2ffd3d NRF24 support for iNav. 2016-06-14 12:36:10 +01:00
Martin Budden
1de62aa1ed Fixed up sensor names. 2016-06-12 09:06:21 +01:00
Martin Budden
b45c38f286 Tidied cliStatus function. 2016-06-12 09:06:21 +01:00
Martin Budden
533d272845 Sonar initialisation cleanup - part 3 2016-06-12 09:04:25 +01:00
theArchLadder
e01e951ab1 Removed mc_min_fly_throttle, added mc_auto_disarm_delay 2016-06-02 11:29:21 +02:00
Martin Budden
779d047cdf Fixed USE_SERVOS build flag. 2016-05-26 07:41:37 +01:00
Pawel Spychalski (DzikuVx)
0818bad36e comments and docs updated for new meaning of rates 2016-05-25 19:32:10 +02:00
Pawel Spychalski (DzikuVx)
0f19dcc70f rc_rate setting removed 2016-05-25 19:32:10 +02:00
Pawel Spychalski (DzikuVx)
d534f99fb3 rates constrained to new min and max 2016-05-25 19:32:10 +02:00
Konstantin Sharlaimov
2564924ba5 Merge pull request #203 from theArchLadder/helpful-cli
CLI: give help when trying to set invalid value
2016-05-16 08:49:02 +10:00
Konstantin Sharlaimov
9c9b79ee78 Merge pull request #211 from iNavFlight/gcc-6.1.1-tidyup
Clean up gcc 6.1.1 warnings, some minor tigying up
2016-05-16 08:46:30 +10:00
Paweł Spychalski
dd8a8aead5 MAG_HOLD diff limiting and MAG controller refactoring (#195)
* MAGHOLD constrained to 30 degrees
* mag_hold_heading_diff_limit CLI setting added to allow custom MAG_HOLD diff limit
* magHeading moved to pid.c and real interface created to inject data into it
* mag hold controller with current logic moved to pid.c
* 2Hz LPF filter added to magHold error to smoothen controller response
* variable name changed to clearly state its purpose
* LPF filter in MAG_HOLD controller moved after error limiting
* yaw_control_direction passed to pidController as argument, mag_hold_heading_diff_limit moved to pidProfile
* yaw_control_direction setting removed
* pidMagHold translates directly to rotation rate in dps
* pidMagHold refactored to the new principles and limiting
* name of filter changed to reflect its purpose
* HEADING_LOCK mode can be used only when MAG_HOLD is not enabled
* compiler warning supressed
* new MAG_HOLD defaults, RATE_LIMIT increased to 80dps, MAG_HOLD P to 60
* mag_rate_limit 90dps
2016-05-15 22:46:55 +10:00
stronnag
eb9cd8de23 clean up gcc 6.1.1 warnings 2016-05-13 20:24:06 +01:00
Konstantin Sharlaimov
3cd1f758df Merge pull request #201 from iNavFlight/pid-loose-dterm-filtering
Improve PID LPF filtering - revert to IIR filter for D-term for lower phase shift, use LPF on Yaw axis.
2016-05-13 19:07:59 +10:00
theArchLadder
cf42943a11 CLI: improved zero length value check 2016-05-13 09:28:01 +02:00
theArchLadder
032b38d7f5 CLI: null values should give invalid value, not 0 2016-05-12 15:43:50 +02:00
theArchLadder
d93abe9475 CLI: non-digit values should give invalid value, not 0 2016-05-12 15:35:44 +02:00
Konstantin Sharlaimov
50d2ca58f1 Merge pull request #194 from iNavFlight/sbas-none
GPS: Add possibility to disable ground assistance. Closes #193
2016-05-12 21:00:36 +10:00
theArchLadder
f6a03a3c00 CLI: improved invalid value message 2016-05-12 01:17:03 +02:00
theArchLadder
ea34fa4366 CLI: give help when trying to set invalid value 2016-05-12 00:54:23 +02:00
Konstantin Sharlaimov (DigitalEntity)
f2aa40dac3 PID: P-term LPF on Yaw axis 2016-05-11 21:18:32 +10:00
Konstantin Sharlaimov (DigitalEntity)
744e2a857f Buffer size fix for float point values >= 100.00 in CLI 2016-05-11 20:04:34 +10:00
Konstantin Sharlaimov (DigitalEntity)
1f49891144 GPS: gps_nav_model replaced by gps_dyn_model with 3 settings - PEDESTRIAN, AIR_1G, AIR_4G with default of AIR_1G 2016-05-11 11:23:11 +10:00
Konstantin Sharlaimov (DigitalEntity)
4640391e09 GPS: Disable ublox setting for 'apply integrity information' for SBAS to prevent GLONASS sat dropouts 2016-05-10 08:36:56 +10:00
Konstantin Sharlaimov (DigitalEntity)
0037380fc0 GPS: Add possibility to disable ground assistance 2016-05-10 01:06:05 +10:00
Konstantin Sharlaimov (DigitalEntity)
bd7ee5ae96 Merge branch 'smooth-rth-decend' of https://github.com/theArchLadder/inav into theArchLadder-smooth-rth-decend 2016-05-04 19:45:00 +10:00
theArchLadder
c2b38ba6ce Added settings for nav_land_slowdown_minalt and maxalt 2016-05-04 11:01:47 +02:00
Konstantin Sharlaimov (DigitalEntity)
dfa58ef9d3 NAV: Fixed compilation errors for automatic mag declination. #define name is now NAV_AUTO_MAG_DECLINATION. Closes #182 2016-05-04 12:00:07 +10:00
Konstantin Sharlaimov (DigitalEntity)
89f7b45c76 NAV: Reduced default wp radius to 1m; allowed smaller waypoint radius. 2016-04-21 20:56:14 +10:00
Konstantin Sharlaimov (DigitalEntity)
e564d18e38 RTH: Upped max possible rth altitude to 650m 2016-04-13 22:21:15 +10:00
Konstantin Sharlaimov (DigitalEntity)
2d2d1e27a5 FLIGHT: Make maximum inclination selectable for roll and pitch independantly. Closes #144 2016-04-08 17:57:50 +10:00
Konstantin Sharlaimov (DigitalEntity)
197ee2bb78 FW: Elevator compensation for banked turnes now adjustable. Controlled by 'nav_fw_roll2pitch' setting. Closes #142 2016-04-08 17:36:28 +10:00
Konstantin Sharlaimov (DigitalEntity)
9c5794bdee NAV: Disarm after landing. Controlled by 'nav_disarm_on_landing' setting. Closes #21 2016-04-08 17:28:34 +10:00
Konstantin Sharlaimov (DigitalEntity)
ec3c7d056b BEEPER: Fix not working beeper section in cli dump 2016-04-08 17:00:27 +10:00
Konstantin Sharlaimov (DigitalEntity)
f1aa9e6f44 PID: LuxFloat rewritten from scratch. New I-term back-tracking for anti-windup prevention
AIRMODE: Air mode anti-windup improvements

PID: Remove integer PID (leave only one PID controller), remove pid_controller setting, remove float-point PID parameters (scale integer parameters to use in float-point PIDC)

PID: New set of PID tuning multipliers for better tuning range

PID: Make max_angle_inclination a PID-profile variable

PID: Reinstate yaw_p_limit

PID: Switch to a noise-robust differentiator

Remove GTUNE

PID: Use same self-leveling strength for ANGLE and HORIZON

PID: Self-leveling LPF to smooth out leveling response to rapid attitude or target angle change
2016-04-07 18:44:03 +10:00
Konstantin Sharlaimov (DigitalEntity)
8472a31f83 Merge remote-tracking branch 'origin/gps-remove-svinfo'
Post-merge fixups - lost some commits from gps-remove-svinfo branch
2016-04-03 22:11:33 +10:00
Konstantin Sharlaimov (DigitalEntity)
c180856b4f BARO: Remove averaging and extra LPF filtering. Changed defaults for sensor fusion for INAV 2016-03-29 11:13:15 +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
Pawel
d48a4166e5 Status page added
only status page left in cycle

fixed screen flicker when page was not changed

cleanup and bugfixes to status page and cycling mechanism
2016-03-23 20:09:20 +10:00
Konstantin Sharlaimov (DigitalEntity)
0d041950e8 BEEPER: Bugfix for cliPrintf 2016-03-18 11:39:01 +10:00
Pierre-A
7208561d68 new "beeper" CLI command
beeperCount in beeperOffSetAll for config_unittest

including suggestions by ledvinap

add BEEPER_SYSTEM_INIT condition
2016-03-18 11:25:30 +10:00
Konstantin Sharlaimov (DigitalEntity)
ddc75033ef Merge branch 'scheduler-queue' 2016-03-18 10:50:00 +10:00
Michael Hope
a7e2e2c7b2 serial: add writeBuf() and implement for USB.
This lets USB send up to 32 bytes in a frame instead of 32 one byte
frames.  Add a fallback for drivers that don't implement writeBuf().

serial: allow buffering to speed up USB virtual COM ports.

Add begin write and end write hints.  If implemented by the serial
driver, then the driver can buffer up data sent via serialWrite() and
flush it when serialEndWrite() is called.

Implemented at the buffer level as it requires the least change to how
serial_msp and serial_cli are architected.

Also tidy up the visibility in the VCP driver.

Prevent serial tx buffer overflow.

Note: this is likely not the best solution, we can investigate further
in due course.

drivers: add a buffering writer.

This wraps around the serial API and buffers a configurable number of
characters before flushing.

cli: add buffering.

This greatly speeds up the CLI when running over USB VCP under a
virtual machine.

msp: add buffering around the writes.

This bulks up the writes and lets the USB VCP driver send one 20 byte
frame instead of 20 one byte frames.  This speeds up the blackbox
download and makes VCP much more reliable when running under a virtual
machine.

Fix for: serial buffer broke BLHeli 1wire pass through
2016-03-18 10:40:58 +10:00
Martin Budden
3a6a27e4bd Improved formatting of tasks statistics in CLI. 2016-03-17 15:55:04 +10:00
Konstantin Sharlaimov (DigitalEntity)
324711ddda SCHEDULER: Move scheduler code to a separate directory 2016-03-17 15:55:04 +10:00
Konstantin (DigitalEntity) Sharlaimov
d3f2df499d FW: Increase default banking angle to 30 deg, add 'nav_fw_loiter_radius' parameter (cm) to control the radius of a circle in PH/RTH modes 2016-03-08 20:36:19 +02:00
Konstantin (DigitalEntity) Sharlaimov
a8cc9a6be8 ALTHOLD: Remove use_midrc_for_althold. Now throttle center is always assumed as 'hover' 2016-03-05 21:00:29 +02:00