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

8321 commits

Author SHA1 Message Date
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
giacomo892
a395d68e2a
adding F4 Nano v6 2018-12-13 15:33:54 +01:00
Michel Pastor
3dc3158aca
Merge pull request #4064 from shellixyz/osd_layout_switch_on_fs
Add option to switch to OSD layout #0 during failsafe
2018-12-09 03:36:41 +01:00
Stewart Loving-Gibbard
ff4a6ecdd5 Seems to be working. Not fancy but effective. 2018-12-08 13:58:19 -08:00
Konstantin Sharlaimov
4d718e2009
Merge pull request #4050 from shellixyz/32bits_debug_array
Make the debug array cells int32 and increase cell count to 8
2018-12-07 14:23:21 +01:00
Paweł Spychalski
17721a0d5e
Merge pull request #4068 from iNavFlight/dzikuvx-boards-docs-update
Boards docs update
2018-12-07 13:50:27 +01:00
Pawel Spychalski (DzikuVx)
cff968afa6 Links for Omnibus F4 2018-12-07 13:08:58 +01:00
Pawel Spychalski (DzikuVx)
3bb4f0a3ac More Matek boards 2018-12-07 13:05:29 +01:00
Pawel Spychalski (DzikuVx)
cf755a3208 Docs for Matek F405Wing 2018-12-07 12:45:05 +01:00
Pawel Spychalski (DzikuVx)
5b6de716bf Matek f405 update 2018-12-07 10:50:02 +01:00
Michel Pastor
f5e3a041ba Add option to switch to layout #0 during failsafe 2018-12-06 22:35:25 +01:00
Michel Pastor
4902472e0b
Merge pull request #4060 from shellixyz/fix_build_warnings
Fix build warnings
2018-12-06 14:56:38 +01:00
Michel Pastor
f732d3a90a Fix build warnings 2018-12-05 00:56:30 +01:00
Konstantin Sharlaimov
b91de3c532
Merge pull request #4054 from iNavFlight/giacomo892-rem_slack_irc
Update Question.md
2018-12-03 20:26:53 +01:00
Konstantin Sharlaimov (DigitalEntity)
739c590823 Fix OMNIBUSF7 NXT DSHOT DMA allocation 2018-12-03 20:23:29 +01:00
giacomo892
45a5581d46
Update Question.md
Removing Slack and IRC from issue template.
2018-12-03 18:57:43 +01:00
Michel Pastor
4ee617771c Make the debug array cells int32 and increase cell count to 8 2018-12-03 14:52:48 +01:00
Michel Pastor
3508e56ed0
Merge pull request #4051 from shellixyz/fix_pr_4044
Fix #4044
2018-12-03 14:40:10 +01:00
Michel Pastor
a76a2ade33 Fix #4044 2018-12-03 02:12:03 +01:00
giacomo892
5b00eb7b6e
Merge pull request #4045 from giacomo892/debug_mode_ACC
add raw accelerometer values "ACC" debug_mode
2018-12-02 21:34:36 +01:00
Konstantin Sharlaimov
bd2f548fa9
Merge pull request #4044 from giacomo892/velned_BB
Log ublox velNED to BB
2018-12-02 21:15:13 +01:00
Paweł Spychalski
f26bd2416b
Merge pull request #4023 from iNavFlight/dzikuvx-fw-iterm-anit-windup
Limit Iterm on FW depending on stick position
2018-12-02 14:03:45 +01:00
Michel Pastor
769e4f08d7 ASGARD32F7 fix RGB LEDs 2018-12-01 23:19:54 +01:00