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

8443 commits

Author SHA1 Message Date
Alberto García Hierro
5326acca2f Output the number of bits used for encoding characters from settings.rb
Instead of hardcoding the number of bits in both settings.c and
settings.rb, make the latter output a constant to the
settings_generated.h file.
2019-01-02 13:40:38 +00:00
Olivier C
a7bd700949 Max7456 symbols cleanup (v2) (#4122)
* OSD symbols cleanup
* Update osd.c
2019-01-02 13:31:58 +00:00
Michel Pastor
7e4a8c8e6c LM75 I²C temperature sensor preliminary support 2019-01-02 01:03:11 +01:00
Konstantin Sharlaimov
6e636e6ea0
Merge pull request #4111 from iNavFlight/de_obf4_dshot
Enable DSHOT on OmnibusF4 and ASGARD boards
2018-12-30 18:35:57 +01:00
Konstantin Sharlaimov
12379d41bb
Merge pull request #4134 from utsxumiao/patch-1
Minor spelling fix
2018-12-30 18:12:07 +01:00
Konstantin Sharlaimov
56f6cd7ab3
Merge pull request #4133 from iNavFlight/de_f7_dma_fixes
Fix incorrect comment for MATEKF722 DMA map
2018-12-30 12:08:56 +01:00
Eric Xu
78a98b6eb5
Minor spelling fix 2018-12-30 20:53:41 +11:00
Konstantin Sharlaimov (DigitalEntity)
e86a337d50 [ASGARD32F4] Fix M1 for DSHOT 2018-12-30 10:50:20 +01:00
Konstantin Sharlaimov (DigitalEntity)
204018df44 [ASGARDF7] Fix M1 DMA for DSHOT 2018-12-30 10:50:20 +01:00
Konstantin Sharlaimov (DigitalEntity)
94f7482d61 [ASGARD] Enable DSHOT 2018-12-30 10:50:20 +01:00
Konstantin Sharlaimov (DigitalEntity)
95ad7fbb78 [OMNIBUSF4] Enable DSHOT 2018-12-30 10:50:20 +01:00
Konstantin Sharlaimov (DigitalEntity)
43dc259b12 Fix comment 2018-12-30 10:49:02 +01:00
Konstantin Sharlaimov
d0e68a3a98
Merge pull request #4128 from iNavFlight/de_f7_dma_fixes
DMA fixes for F7 ADC & Timer; Enable DSHOT on MATEKF722
2018-12-29 19:56:18 +01:00
Konstantin Sharlaimov (DigitalEntity)
a0bc1acd2f [F4] Move ADC to DMA2_Stream0 2018-12-27 21:50:42 +01:00
Konstantin Sharlaimov (DigitalEntity)
12e9d6bffb [FOXEERF722] Fix M4 for DSHOT 2018-12-27 21:47:06 +01:00
Konstantin Sharlaimov (DigitalEntity)
fc026249f1 [MATEKF722] Enable DSHOT; Remap outputs to be DSHOT-compatible 2018-12-27 21:18:25 +01:00
Konstantin Sharlaimov (DigitalEntity)
936cc03f59 [F7] Move ADC to DMA2_Stream0; Clean up F7 timer DMA 2018-12-27 21:18:02 +01:00
Konstantin Sharlaimov (DigitalEntity)
d8924dc8e7 [GPS] Improve handling of SBAS and GALILEO supportability; Increase GPS failure timeout 2018-12-27 18:05:40 +01:00
Alberto García Hierro
40f6861068
Merge pull request #4115 from iNavFlight/agh_cleanup_geo_functions
Cleanup geo* functions
2018-12-26 20:13:25 +01:00
Konstantin Sharlaimov
e45d138294
Merge pull request #3037 from iNavFlight/de_fpv_cam_mix
Port Betaflight FPV camera tilt compensation for ACRO mode
2018-12-26 17:47:19 +01:00
Konstantin Sharlaimov
385afd7cba
Merge pull request #4114 from iNavFlight/agh_bitarray_fixes
Fix bug in bitArrayFindFirstSet(), add functions for setting and clearing the whole array
2018-12-26 17:46:43 +01:00
Olivier C
3c9b7a0f31 Update cms_menu_osd.c 2018-12-26 16:04:26 +01:00
Olivier C
633d561427 Adding altitude / sea (MSL) 2018-12-26 14:53:36 +01:00
Alberto García Hierro
4df6e9aca9 Add navCalculatePathToDestination() function
Calculates distance and bearing to the given location in local
coordinate space.

Added navDestinationPath_t, which encapsulates distance and
bearing.

Refactor calculateDistanceToDestination() and
calculateBearingToDestination() a bit to move the calculations to
static functions that can be reused by navCalculatePathTo()
2018-12-26 12:03:33 +00:00
Alberto García Hierro
c750b5dfd2 Cleanup geo* functions
- Rename gpsOrigin_s type to gpsOrigin_t
- Make geo* conversion functions return wether they succeeded or not
- Reorder geo* functions arguments to follow the (output, inputs)
convention
- Document all the geo* functions
2018-12-26 11:56:37 +00:00
Alberto García Hierro
fe4c215886 Add bitarray functions for setting and clearing all the array
- bitArraySetAll() and bitArrayClrAll() set and clear the whole
array, with the size (in bytes) specified by the caller (to make
them work like bitArrayFindFirstSet())
- macros BITARRAY_SET_ALL() and BITARRAY_CLR_ALL() call those two
new functions using sizeof(array) as its size
2018-12-26 11:53:20 +00:00
Alberto García Hierro
9af8bd1236 Fix incorrect return value in bitArrayFindFirstSet() when using non-zero start
When the first bit set is in the same 4-byte group that the start
(with start > 31), the returned index is off by the last multiple
of 32 <= start. This could cause unnecessary updates in the OSD
driver, since a non-dirty char would be actually updated while
it hadn't changed.
2018-12-26 11:50:20 +00:00
Konstantin Sharlaimov (DigitalEntity)
c408736b07 Port Betaflight fpv_mix_degrees setting and camera mix logic for acro mode 2018-12-25 20:45:26 +01:00
Konstantin Sharlaimov (DigitalEntity)
2d36d5ee98 [FOXEER] Enable DSHOT; Remap S5/S6 of F722 board to adopt 6-channel DSHOT 2018-12-25 18:40:21 +01:00
Konstantin Sharlaimov (DigitalEntity)
81ae222046 Add docs 2018-12-25 18:31:54 +01:00
Konstantin Sharlaimov (DigitalEntity)
f5079cf8f1 [FOXEERF722DUAL] Initial cut on target 2018-12-25 17:25:43 +01:00
Konstantin Sharlaimov
a5a92b5be7
Merge pull request #4109 from iNavFlight/giacomo892-patch-2
Update README [ci skip]
2018-12-25 10:29:54 +01:00
giacomo892
04357570b4
Update README
Quick update
2018-12-25 07:17:51 +01:00
Konstantin Sharlaimov (DigitalEntity)
fab232ffc9 [FOXEERF405] Add new board, initial cut 2018-12-24 19:00:53 +01:00
Konstantin Sharlaimov
6c9344ba94
Merge pull request #4100 from nyway/development
Add new target DALRCF722DUAL and add DALRCF405 board description
2018-12-24 18:07:34 +01:00
Konstantin Sharlaimov
44bcf0182b
Merge pull request #4104 from iNavFlight/de_matek_beeper_leds
[MATEKF722SE] Fix beeper; Enable LEDSTRIP
2018-12-24 14:31:49 +01:00
Konstantin Sharlaimov (DigitalEntity)
cb0a3559a6 [MATEKF722SE] Fix beeper; Enable LEDSTRIP 2018-12-23 19:06:31 +01:00
Alberto García Hierro
fb7384e92a Decrement rem_symbols when a symbol slot is used
Spotted by @alexbirkett
2018-12-22 20:50:15 +00:00
ZhengNingwei
57a5942e7d Add new target DALRCF722DUAL and add DALRCF405 board description
Add new target DALRCF722DUAL and add DALRCF405 board description to development branch
2018-12-22 09:35:13 +08:00
Paweł Spychalski
38c0caa12b
Merge pull request #4098 from iNavFlight/dzikuvx-2.1-cli-update
CLI.md update
2018-12-19 15:56:23 +01:00
Pawel Spychalski (DzikuVx)
fd3f1b6f02 revierw changes 2018-12-19 15:08:59 +01:00
Pawel Spychalski (DzikuVx)
fdfdaef599 CLI.md update 2018-12-19 14:23:02 +01:00
Alberto García Hierro
0e3207dd85 Use 5 bits to encode setting words
Saves 1672 bits on F3 without any lost functionality. Retriving a
setting name is significantly slower, but still not slow enough to be
problematic.
2018-12-17 17:13:35 +00:00
Michel Pastor
be103a6208
Improve AHI: support for -180..180° roll angles (#3641)
* Improve AHI: support for -180..180 roll angles

* Improve AHI: configurable max pitch

* Improve AHI: increase horizontal size

* Improve AHI: add possibility to resize it easily
2018-12-17 14:48:59 +01:00
Konstantin Sharlaimov
2b3a010eff
Merge pull request #3966 from rstephan/omnibusf4
Enable AK8975 mag for OMNIBUSF4
2018-12-16 21:38:04 +01:00
Konstantin Sharlaimov
56cd0f2c59
Merge pull request #4081 from iNavFlight/giacomo892-patch-2
adding F4 Nano v6
2018-12-16 14:55:34 +01:00
Konstantin Sharlaimov
958b49fefb
Merge pull request #4048 from shellixyz/asgard32f7_leds_fix
ASGARD32F7 fix RGB LEDs
2018-12-16 14:51:27 +01:00
giacomo892
9433810b9d
Merge pull request #4082 from giacomo892/fw_launch_idle_spinup
add NAV LAUNCH idle throttle ramp
2018-12-15 18:44:23 +01:00
Konstantin Sharlaimov
83420d0e1e
Merge pull request #4056 from iNavFlight/de_fix_f7nxt_dshot
Fix OMNIBUSF7NXT DSHOT DMA allocation for M6
2018-12-15 17:08:23 +01:00
giacomo892
71581e5b0c Enforce spinup time even for idle throttle 2018-12-13 17:09:54 +01:00