Pawel Spychalski (DzikuVx)
c58e28c709
Heading controller
2020-04-13 19:21:05 +02:00
Konstantin Sharlaimov
a36f185a9d
Merge pull request #5575 from iNavFlight/de_vtx_tramp_rewrite
...
[VTX] Refactor/rewrite TRAMP VTX driver code
2020-04-13 17:42:07 +02:00
Pawel Spychalski (DzikuVx)
eff264f515
WIP: 2D position controller
2020-04-13 16:39:28 +02:00
Konstantin (DigitalEntity) Sharlaimov
a5f0d1b123
[VTX] Refactor TRAMP VTX control code
...
[VTX] Make TRAMP driver capable of dynamic power table selection
[VTX] Make sure TRAMP queries the VTX state after reset
2020-04-13 16:22:49 +02:00
Pawel Spychalski (DzikuVx)
f933381d18
Simplified 2D navigation routenes
2020-04-13 14:24:49 +02:00
stronnag
5d787cb5c9
[NAV] allow forward JUMP WPs ( #5591 )
...
Alllow forward as well as backward jumps
2020-04-13 11:08:15 +01:00
Paweł Spychalski
b47d666702
Merge pull request #5431 from iNavFlight/dzikuvx-rover-boat-rth-state-machine-changes
...
Modify NAV state machine for ROVER and BOAT RTH scenario
2020-04-12 16:14:41 +02:00
Pawel Spychalski (DzikuVx)
93b610863d
Modify NAV state machine for ROVER and BOAT RTH scenario
2020-04-12 15:23:29 +02:00
Pawel Spychalski (DzikuVx)
d64620e93b
Conditionally compute logic conditions
2020-04-11 23:27:49 +02:00
Pawel Spychalski (DzikuVx)
ae8d29c025
Add activatorId to CLI and MSP
2020-04-11 23:10:40 +02:00
Paweł Spychalski
e17e12ad03
Merge pull request #5389 from iNavFlight/dzikuvx-global-variables
...
Global Variables aka GVAR
2020-04-11 15:15:59 +02:00
Pawel Spychalski (DzikuVx)
b2eaf46f66
Add an option to have GVAR default value
2020-04-11 14:24:31 +02:00
Pawel Spychalski (DzikuVx)
1f57afa1c5
Switch GVARS to int32_t
2020-04-11 11:23:27 +02:00
stronnag
cd8da994b0
[DOC] reference ublox update rates in Cli.md ( #5585 )
2020-04-10 20:09:46 +01:00
Pawel Spychalski (DzikuVx)
90291bd9b7
Add constrain for math operators
2020-04-10 19:45:53 +02:00
Pawel Spychalski (DzikuVx)
3f54ba2313
Merge branch 'development' into dzikuvx-global-variables
2020-04-10 19:17:23 +02:00
stronnag
2ff5ced4ee
[NAV] store jump targets as indices (vice WP #) for consistency ( #5569 )
...
* [NAV] store jump targets as indices (vice WP #) for consistency
* [NAV] improve JUMP validity test
2020-04-06 18:33:58 +01:00
Paweł Spychalski
fe5ada21ad
Fix expected length of MSP2_INAV_SET_GLOBAL_FUNCTIONS frame ( #5570 )
...
* Fix expected length of MSP2_INAV_SET_GLOBAL_FUNCTIONS frame
* MSP2_INAV_SET_GLOBAL_FUNCTIONS length adjustment
2020-04-05 18:09:42 +02:00
stronnag
db12e87990
update Navigation.md for 2.5.0 features ( #5564 )
...
* update docs/Navigation.md for 2.5 capabilities
2020-04-04 13:47:59 +01:00
Alberto García Hierro
aabbadb1ee
Merge pull request #5558 from iNavFlight/agh_github_ci_pr_only
...
[CI] CI updates
2020-04-01 16:14:14 +01:00
Alberto García Hierro
f30de03672
[CI] Use actions/cache to cache the ARM toolchain
...
This way we avoid having the ARM toolchain as an artifact when
the run ends and it also lets us reuse the cache from different
runs.
Also, make sure the whole file is indented with 2 spaces.
2020-03-31 21:51:35 +01:00
Alberto García Hierro
489d2af639
[CI] Trigger CI on PR only
...
There's no way to trigger CI on push OR PR, since the CI build
on push is triggered immediately and when the PR is created the
push run is already underway.
Also, make some cosmetic changes to the artifact name to include
the date, inav version and git revision.
2020-03-31 21:49:44 +01:00
Konstantin Sharlaimov
eb4bfb4455
Merge pull request #5557 from iNavFlight/de_nvic_cleanup
...
Refactor NVIC; Fix ATOMIC_BLOCK not being actually atomic
2020-03-31 21:14:37 +02:00
Konstantin (DigitalEntity) Sharlaimov
36b06a23c5
Fix tests
2020-03-31 10:16:34 +02:00
Konstantin (DigitalEntity) Sharlaimov
eb2b9d7947
[UTIL] Remove dead code from atomic.h
2020-03-30 21:29:24 +02:00
Konstantin (DigitalEntity) Sharlaimov
6028923991
[NVIC] Refactor NVIC; Fix ATOMIC_BLOCK not being actually atomic
2020-03-30 20:41:36 +02:00
stronnag
a8aa53ec6d
remove obsolete docs/development/Building in Ubuntu.md
which was previously replaced by docs/development/Generic_Linux_development.md
, addressing the embedded SDK ( #5547 )
2020-03-30 18:42:22 +01:00
Konstantin Sharlaimov
37aa0cd9d7
Merge pull request #5555 from gereic/development
...
added support for BME280
2020-03-30 16:48:37 +02:00
gereic
c0439afb20
added support for BME280
2020-03-30 14:27:30 +02:00
Konstantin Sharlaimov
d40bc6782e
Merge pull request #5532 from iNavFlight/agh_fix_log_cli_crash
...
[MSP] Fix crash in mspSerialSendFrame() when MSP port turns into CLI
2020-03-28 19:41:11 +01:00
Alberto García Hierro
3618b11d33
[MSP] Fix crash in mspSerialSendFrame() when MSP port turns into CLI
...
msp->port can become NULL if the port stops being used for MSP
(e.g. it's MSP shared with telemetry or CLI is enabled)
2020-03-28 17:26:18 +00:00
Alberto García Hierro
332ecc415b
[OSD] Wrap stats screen into a transaction
...
Otherwise, the stats won't show sometimes.
2020-03-28 17:26:00 +00:00
Alberto García Hierro
377f5cba7f
[CANVAS] Add alternate AHI style with a single line
2020-03-28 17:25:38 +00:00
Alberto García Hierro
d315e30b09
Merge pull request #5546 from iNavFlight/agh_gh_ci_3
...
[CI] Trigger CI workflow on PRs coming from forks
2020-03-28 14:47:57 +00:00
Alberto García Hierro
ba30bd9ab8
[CI] Trigger CI workflow on PRs coming from forks
2020-03-28 14:16:51 +00:00
Konstantin Sharlaimov
301dd301f2
Merge pull request #5545 from iNavFlight/agh_gh_ci_2
...
[CI] Make the GH CI test job require all the build jobs first
2020-03-28 12:27:06 +01:00
Alberto García Hierro
3ba7452351
[CI] Make the GH CI test job require all the build jobs first
...
This way we only need to mark the test job as required.
2020-03-28 10:11:53 +00:00
Konstantin Sharlaimov
2c6eba4bc6
Merge pull request #5544 from iNavFlight/agh_github_ci
...
[CI] Add GH action for CI
2020-03-28 10:52:42 +01:00
Alberto García Hierro
ace367beb1
[CI] Add GH action for CI
...
Add a workflow file which is triggered on every commit, runs the
tests and tries to compile all targets with -Werror.
On each run of the actions, all the built binaries are saved as
build artifacts, so this can be helpful for providing binaries
for testing.
2020-03-27 17:14:28 +00:00
Konstantin Sharlaimov
b8f4f0cf45
Merge pull request #5542 from iNavFlight/agh_fix_werror
...
[BUILD] Fix compilation with -Werror
2020-03-27 09:23:04 +01:00
Alberto García Hierro
9099634d3d
[BUILD] Fix compilation with -Werror
2020-03-26 23:54:43 +00:00
Alberto García Hierro
5ce0f326f7
Merge pull request #5539 from iNavFlight/agh_fix_double_added_cflags
...
[MAKE] Avoid adding our custom CFLAGS twice
2020-03-26 22:59:37 +00:00
Alberto García Hierro
67c6e9d6c8
[MAKE] Avoid adding our custom CFLAGS twice
...
We don't clear CFLAGS becase we want to allow them to be passed
via command line. However, when building a target we add our
custom ones once in the first parsing of the Makefile and then
again a second time when we invoke make recursively for each target.
This breaks compilation with -Werror.
To workaround this, save the initial CFLAGS in a variable, then
pass them to the recursive invocation of make.
2020-03-26 20:20:55 +00:00
Konstantin Sharlaimov
99949317d3
Merge pull request #5504 from sadsoldier/master
...
added FreeBSD OS identification as Linux
2020-03-26 20:19:56 +01:00
Konstantin Sharlaimov
b3c93ac229
Merge pull request #5487 from iNavFlight/de_vtx_fixes
...
[VTX] Remove unused check; Fix Pit mode CMS
2020-03-26 12:29:09 +01:00
Konstantin Sharlaimov
ef19601b68
Merge pull request #5536 from iNavFlight/agh_speedup_micros
...
[SYSTEM] Avoid performing a 64bit division in micros()
2020-03-26 12:28:47 +01:00
Konstantin (DigitalEntity) Sharlaimov
396f4cceeb
[SYSTEM] Reduce type witdth for usTicks to uint32_t to avoid unneccessary 64-bit math
2020-03-26 10:16:13 +01:00
Alberto García Hierro
ace2c35c5c
[SYSTEM] Avoid performing a 64bit division in micros()
...
Since the sub-ms step fits in an uint32_t, we can do the calculation
using just 32 bits, then perform a 64 bit add to the (ms * 1000)
value. This is way faster because cortex-m[4,7] do have 32 bit
integer division in HW, but not for 64 bit.
This reduces the number of cycles used by micros() from ~177
to ~57 (there's a small 3-4 cycle variance due to pipelining).
2020-03-25 22:16:38 +00:00
Konstantin Sharlaimov
3beaec79c2
Merge pull request #5527 from iNavFlight/de_acc_cal_robustness
...
[ACC] Make accelerometer calibration more robust
2020-03-24 16:36:15 +01:00
stronnag
659fef8338
enable embedded / rearmed JUMPs ( #5515 )
...
* Missions may contain multiple, embedded JUMPs
*The jump counter is reset to the designed value at the end of each jump so JUMP is re-entrant
* Save to EEPROM of a completed JUMP mission is correct and safe
2020-03-24 15:26:21 +00:00