Konstantin Sharlaimov
da94e5efbe
Merge pull request #4245 from iNavFlight/de_fix_roc_rod_rate_limiting
...
[NAV] Restrict MC RoC/RoD rate-limiting to the case where we actually accelerate
2019-01-25 13:22:46 +01:00
Niccolò Maggioni
01350bc922
Invalid value spacing
2019-01-24 21:57:53 +01:00
Konstantin Sharlaimov
83bee7aee1
Merge pull request #4249 from iNavFlight/de_i2c_raw_bus_access_per_dev
...
Per-device setting to access I2C bus directly
2019-01-23 23:22:08 +01:00
Konstantin Sharlaimov (DigitalEntity)
ffbd6ef72d
Fix SoftI2C
2019-01-23 20:23:47 +01:00
Konstantin Sharlaimov (DigitalEntity)
3f46bd4323
Use signbit()
2019-01-23 19:40:37 +01:00
Konstantin Sharlaimov (DigitalEntity)
cf443e5495
[I2C] Make usage of 0xFF register address to access bus directly per-device setting
2019-01-23 19:17:31 +01:00
Konstantin Sharlaimov (DigitalEntity)
280ad78494
[NAV] Restrict MC RoC/RoD rate-limiting to the case where we actually accelerate
2019-01-21 22:53:00 +01:00
Konstantin Sharlaimov
7bdd5967e7
Merge pull request #4242 from shellixyz/change_previousHeadingError_type
...
Change previousHeadingError type from float to int32_t
2019-01-21 22:50:12 +01:00
Alberto García Hierro
4d52bf0570
Fix compilation without USE_DTERM_NOTCH
...
notchFilterApplyFn is only defined when USE_DTERM_NOTCH is enabled
2019-01-21 19:43:12 +00:00
Michel Pastor
4675d95637
Change previousHeadingError type from float to int32_t
2019-01-21 20:42:20 +01:00
Konstantin Sharlaimov
2d33091399
Merge pull request #4236 from danarrib/da_fix_fake_gps
...
Fix Fake GPS
2019-01-20 20:53:29 +01:00
Daniel Arruda Ribeiro
097d171d14
Fix Fake GPS
2019-01-19 22:16:31 -02:00
Konstantin Sharlaimov
bfba2c5f78
Merge pull request #4233 from iNavFlight/agh_fabsf
...
Replace ABS(float) with fabsf(float)
2019-01-19 21:42:15 +01:00
Konstantin Sharlaimov
0d0d256073
Merge pull request #4235 from iNavFlight/de_timer_fixes
...
Fixes to timer DMA and DSHOT code
2019-01-19 21:23:14 +01:00
Konstantin Sharlaimov
70129b8d1f
Merge pull request #4234 from iNavFlight/de_matekf722_mini
...
Add missing files for MATEKF722MINI
2019-01-19 21:07:21 +01:00
Konstantin Sharlaimov (DigitalEntity)
b93113d2b5
Add missing files for MATEKF722MINI
2019-01-19 19:06:35 +01:00
Konstantin Sharlaimov
3334d28d54
Merge pull request #4231 from giacomo892/giacomo892_sa_fix
...
TASK_VTXCTRL revert to 5Hz
2019-01-19 19:05:59 +01:00
Konstantin Sharlaimov (DigitalEntity)
8744c09c9d
[DSHOT] Make sure DSHOT scheduler doesn't use stale currentTimeUs
2019-01-19 19:04:57 +01:00
Konstantin Sharlaimov (DigitalEntity)
69ccf534b7
[TIMER] Fix race condition in timer DMA
2019-01-19 19:04:31 +01:00
Alberto García Hierro
0f4e74cd04
Replace ABS(float) with fabsf(float)
...
Disregarding loads and stores, fabfs() compiles to a single vabs.f32
instruction, which completes in 1 cycle. ABS(float), however, compiles
to vcmpe.f32, a branch and vneg.f32, which needs 2 cycles + branching.
The compiler is not able to perform this transformation because
(f < 0 ? -f : f) doesn't always yield the absolute value for
floats (e.g. ABS(-0) will yield -0).
2019-01-19 17:33:33 +00:00
Konstantin Sharlaimov
b0d285d66d
Merge pull request #4208 from iNavFlight/agh_fix_ntsc_blink
...
Fix detection of NTSC signal after 1.5s
2019-01-19 17:26:02 +01:00
giacomo892
28684b046a
TASK_VTXCTRL revert to 5Hz
2019-01-19 16:39:52 +01:00
Konstantin Sharlaimov (DigitalEntity)
8c617b5057
[TARGET] MATEKF722MINI target (a variant of F722SE with SPIFLASH); A temporary solution until SPI mode is defined per device in device registry
2019-01-18 20:42:25 +01:00
Konstantin Sharlaimov
6b2a4f772f
Merge pull request #4211 from MATEKSYS/development
...
Add flash blackbox to MATEKF722SE target
2019-01-18 20:30:24 +01:00
Konstantin Sharlaimov
ab2174afa2
Merge pull request #4224 from iNavFlight/agh_fix_warnings
...
Fix a few compilation warnings
2019-01-18 20:24:49 +01:00
Alberto García Hierro
ac961e4225
Fix a few compilation warnings
2019-01-18 12:14:13 +00:00
Pawel Spychalski (DzikuVx)
dbfae7efa3
DSHOT enabled on AirbotF4
2019-01-17 20:12:50 +01:00
MATEKSYS
190b75c3d4
Add flash blackbox to MATEKF722SE target
2019-01-16 12:21:07 +08:00
Alberto García Hierro
cc6baedf5f
Fix detection of NTSC signal after 1.5s
...
Due to a logic error during refactor, signal was always being stored
internally as PAL when more than 1.5s had elapsed since boot. The
MAX7456 kept reporting that the signal was actually NTSC, causing the
reinitialization sequence to trigger and the OSD to blink once every
second, but since the data cached in RAM was always stored as PAL
this continued forever.
Fixes #4183
2019-01-15 18:26:05 +00:00
Pawel Spychalski (DzikuVx)
34779c6019
Updated target defaults for F722SE
2019-01-13 11:25:14 +01:00
Konstantin Sharlaimov
4eb3fb6995
Merge pull request #4196 from iNavFlight/de_agl_fix
...
Fix non-working AGL estimation
2019-01-12 20:02:35 +01:00
Konstantin Sharlaimov
831216be71
Merge pull request #4193 from iNavFlight/de_ubx_gps_autobaud_fix
...
[GPS] Change autobaud logic for UBX protocol to send baud change command in bulk
2019-01-12 19:59:07 +01:00
Konstantin Sharlaimov (DigitalEntity)
0124be5efb
[AGL] Fix non-working AGL estimation
2019-01-12 17:34:26 +01:00
Konstantin Sharlaimov (DigitalEntity)
dd5bf8be98
[GPS] Change autobaud logic for UBX protocol to send baud change command in bulk
2019-01-12 09:39:00 +01:00
Konstantin Sharlaimov
c0ad99c630
Merge pull request #4186 from iNavFlight/de_enable_rangefinders
...
[RANGEFINDER] Enable rangefinder by default on all targets
2019-01-10 17:07:47 +01:00
Konstantin Sharlaimov
532f709b80
Merge pull request #4185 from iNavFlight/de_increase_f7_vcp_buffer
...
[USB] Increase CDC buffer on F7 boards to accomodate max MSP packet size
2019-01-10 13:43:28 +01:00
Konstantin Sharlaimov (DigitalEntity)
82d3dbe234
[RANGEFINDER] Enable rangefinder by default on all targets
2019-01-09 21:45:12 +01:00
Konstantin Sharlaimov (DigitalEntity)
d83573f41e
[USB] Increase CDC buffer on F7 boards to accomodate max MSP packet size
2019-01-09 21:15:22 +01:00
Konstantin Sharlaimov
22f010f297
Merge pull request #4177 from OlivierC-FR/oc_add_pluscode_at_arming
...
Adding the +code in the OSD arming screen
2019-01-09 20:01:47 +01:00
Olivier C
2c9a758387
1 extra row needed
2019-01-09 11:41:47 +01:00
Olivier C
4ec6414a86
Adding the +code in the OSD arming screen
2019-01-09 11:35:27 +01:00
Olivier C
b21c0bcc89
OSD fixing & into +
...
Changed the "&" in CMS home, so it does not use ASCII char 38 that is actually the left side of the default crossair.
2019-01-09 09:50:26 +01:00
Konstantin Sharlaimov
0de7f538fb
Disable PWM servo driver on SPRF3NEO
2019-01-08 11:12:18 +01:00
Konstantin Sharlaimov (DigitalEntity)
8ceb9c7324
[F3] Disable PCA9685 drifer for targets with <256K Flash (F3)
2019-01-08 08:27:22 +01:00
Konstantin Sharlaimov (DigitalEntity)
8918a1281e
Experimental biquad RC fitler instead of RC interpolation
2019-01-08 08:27:22 +01:00
Konstantin Sharlaimov
df2cb36efd
Merge pull request #4170 from iNavFlight/agh_fix_olc
...
Make sure olc_encode() uses the same units as the GPS
2019-01-08 08:26:59 +01:00
hali9
69970a2b95
Loiter direction ( #4036 )
...
* Loiter direction
https://github.com/iNavFlight/inav/issues/3002
2019-01-08 08:26:06 +01:00
Konstantin Sharlaimov
b1e7f71bd9
Merge pull request #4171 from iNavFlight/agh_reenable_msp_displayport
...
Enable MSP_DISPLAYPORT on targets with flash > 128 and no OSD
2019-01-08 08:25:05 +01:00
Alberto García Hierro
f75b2b7d32
Enable MSP_DISPLAYPORT on targets with flash > 128 and no OSD
...
MSP_DISPLAYPORT is used to display CMS on MWOSD, which is useful
for targets without a builtin OSD. Since those targets also have
a bit more flash/ram to spare, we have room for this feature as
long as no builtin OSD is present.
2019-01-07 23:59:42 +00:00
Alberto García Hierro
c9554f367a
Make sure olc_encode() uses the same units as the GPS
...
Namely, 1e7. To accomplish this, we need to carefully convert
the values to unsigned after the initial normalization, because
OLC normalizes all values to lat to [0, 180] and lon to [0, 360]
and 360 * 1e7 overflows an int32.
Also, import all the tests from the original OLC C library.
2019-01-07 23:18:21 +00:00