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

9916 commits

Author SHA1 Message Date
Michel Pastor
9866553d85 Disable SPRACINGF3EVO target 2020-08-11 12:34:27 +02:00
Michel Pastor
bf365134f7 Add F.Port2 support 2020-08-11 12:34:27 +02:00
Alberto García Hierro
2fda9ac30a
Merge pull request #6032 from iNavFlight/agh_half_duplex
[RX] Make halfDuplex (exposed as serialrx_halfduplex) a tristate
2020-08-11 10:51:36 +01:00
Alberto García Hierro
a319cd609a [RX] Make halfDuplex (exposed as serialrx_halfduplex) a tristate
This allows us to set the default value to AUTO, so each protocol
can select its default "duplexity". Then the explicit ON and OFF
values can be used to override the default value for the protocol.

Regenerate Settings.md to update the serialrx_halfduplex
documentation. This also regenerates some unrelated settings that
were out of date.

Update Rx.md accordingly.
2020-08-11 10:19:33 +01:00
Michel Pastor
8c38a9284a
Fix the meaning of the serialrx_inverted setting for F.Port (#5454)
`serialrx_inverted` is supposed to be set to OFF for the normal expected
polarity of the signal for the selected protocol. Before this change it
needed to be set to ON when a F.Port receiver was connected directly to
the FC without an inverter or through the inverted S.Port wire present on
some receivers. This change uniformizes the meaning of this setting with
its meaning for the protocols others than F.Port
2020-08-11 09:34:41 +02:00
Paweł Spychalski
b3cd978a6c
Merge pull request #6030 from iNavFlight/dzikuvx-throttle-idle-update
Allow throttle_idle to be 0 for better 3D compatibility
2020-08-10 11:51:52 +02:00
Alberto García Hierro
5c51930fab
Merge pull request #6011 from iNavFlight/agh_speedybee_pinio
[SPEEDYBEEF7] Add support for disabling BT via PINIO, add to RELEASE_TARGETS
2020-08-10 08:13:29 +01:00
Konstantin Sharlaimov
d825ed60a0
Merge pull request #6029 from iNavFlight/dzikuvx-os125-default
Set OneShot125 as a default ESC protocol
2020-08-09 19:25:51 +02:00
Pawel Spychalski (DzikuVx)
7083b122cb Allow throttle_idle to be 0 for better 3D compatibility 2020-08-09 17:37:21 +02:00
Pawel Spychalski (DzikuVx)
8d61f4f6df PG version bump 2020-08-09 16:56:02 +02:00
Pawel Spychalski (DzikuVx)
8e6ed88c35 Set OneShgot125 as a default ESC protocol 2020-08-09 16:55:31 +02:00
Alberto García Hierro
fd7e382eda [TARGETS] Add SPEEDYBEEF7 to release targets 2020-08-07 11:02:02 +01:00
Alberto García Hierro
b9c221cc50 [SPEEDYBEEF7] Add support for disabling BT via PINIO
USER1 box will disable BT when it's active. If the user doesn't
configure the box, BT will always be enabled.
2020-08-07 11:01:40 +01:00
Michel Pastor
d946907af2
Increase MAX_ADJUSTMENT_RANGE_COUNT to 20 (#6018) 2020-08-04 12:02:05 +02:00
Konstantin Sharlaimov
b7b75cd66f
Merge pull request #5974 from iNavFlight/de_nav_controller_cleanup
[NAV] Cleanup pos/vel controllers
2020-08-03 18:23:51 +02:00
Konstantin Sharlaimov
0a716e07b3
Merge pull request #5964 from amfern/fix-flashfs-halts-msp
bulk erase if single sector
2020-08-03 09:43:47 +02:00
Alberto García Hierro
5ed01a8170
Merge pull request #5991 from iNavFlight/agh_speedybeef7
[TARGETS] Add SPEEDYBEEF7
2020-08-02 09:40:40 +01:00
Alberto García Hierro
47822c0941
Merge pull request #5993 from iNavFlight/agh_pinio_flags
[PINIO] Add support to targets to define PINIO pin flags
2020-08-02 09:40:03 +01:00
Alberto García Hierro
591156e7bd
Merge pull request #5992 from iNavFlight/agh_box_id_constants
[BOXES] Expose constants for permanent box IDs for USER1 and USER2
2020-08-02 09:39:49 +01:00
Paweł Spychalski
3ad5d03dfa
Merge pull request #6006 from iNavFlight/dzikuvx-iterm-relax-simplification
Drop gyro method of ITerm relax
2020-08-01 19:49:31 +02:00
Pawel Spychalski (DzikuVx)
f812d5c6ac Drop gyro method of ITerm relax 2020-08-01 15:29:33 +02:00
Paweł Spychalski
2025c15c3c
Merge pull request #6009 from giacomo892/rpmfilterfix_giacomo892
Fix frequency calculation for RPM filter
2020-08-01 15:21:33 +02:00
giacomo892
6c5323a941 fix frequency calculation 2020-08-01 11:07:23 +02:00
tonyyng
f3da1c210d
Add safehomes (#5995)
* Merge Safehome feature from development repo

* Remove set nav_rth_home_offset_* to avoid confusion
2020-07-31 15:05:21 +01:00
Paweł Spychalski
9cd076df47
Merge pull request #6001 from iNavFlight/dzikuvx-increase-logic-condition-count
Bump the number of logic conditions to 32
2020-07-31 15:42:23 +02:00
Konstantin Sharlaimov
e4fe51cfe1
Merge pull request #5997 from iNavFlight/de_wp_rth_fallback
Improvements to RTH/WP handling
2020-07-31 15:31:49 +02:00
Pawel Spychalski (DzikuVx)
316b39147d Bump PG version 2020-07-31 11:50:23 +02:00
Pawel Spychalski (DzikuVx)
101e98aaeb MSP2_BLACKBOX_CONFIG 2020-07-31 11:48:14 +02:00
Pawel Spychalski (DzikuVx)
03a014d0e1 Bump the number of logic conditions to 32 2020-07-31 10:30:16 +02:00
Paweł Spychalski
d487b64dfe
Merge pull request #5928 from iNavFlight/dzikuvx-gyro-ekf-refactor
Gyro EKF refactor
2020-07-30 17:35:32 +02:00
Pawel Spychalski (DzikuVx)
e4752db5ba Move Kalman setting to PID profile 2020-07-30 11:06:26 +02:00
Konstantin (DigitalEntity) Sharlaimov
4b148920b9 [NAV] Fallback to RTH in case of WP activation with no mission loaded; Fix the bug when RTH will terminate if GPS is briefly lost even if FSM logic accounts for that 2020-07-30 10:09:06 +02:00
Pawel Spychalski (DzikuVx)
fbb7dc3a5d Merge branch 'master' into dzikuvx-gyro-ekf-refactor 2020-07-30 09:53:55 +02:00
Konstantin Sharlaimov
9da3327292
Merge pull request #5970 from craigmunday/craigmunday_craftname_osd_armed_page
Added craft name to the osd armed page
2020-07-29 19:27:00 +02:00
Alberto García Hierro
b6f26ffc76 [PINIO] Add support to targets to define PINIO pin flags
This way a target can declare a PINIO pin as inverted
2020-07-28 21:56:48 +01:00
Alberto García Hierro
ae842aaece [SPEEDYBEEF7] Fix target compilation 2020-07-28 21:40:33 +01:00
Alberto García Hierro
9576fa3035 [BOXES] Expose constants for permanent box IDs for USER1 and USER2
This way targets can reference them by the constant name instead of
having to hardcode 47 and 48.
2020-07-28 21:36:34 +01:00
azol
b5633bb28a add speedy bee f7 target 2020-07-28 16:32:26 +01:00
Konstantin Sharlaimov
56be63d5f1
Merge pull request #5880 from iNavFlight/de_gps_alt_always
Allow using GPS altitude instead of barometer
2020-07-27 13:05:36 +02:00
stronnag
72c6c682a0
[DOCS] document flash_ commands (#5983) 2020-07-25 21:22:23 +01:00
Konstantin (DigitalEntity) Sharlaimov
764f2b61c4 [NAV] Bump PG_POSITION_ESTIMATION_CONFIG version 2020-07-25 14:18:17 +02:00
Konstantin (DigitalEntity) Sharlaimov
8611b37563 [NAV] Allow using GPS altitude instead of barometer 2020-07-25 14:17:20 +02:00
Konstantin Sharlaimov
a41a4de247
Merge pull request #5980 from snaewe/sn/fix-cms-mixer-weight
[CMS] fix editing of negative servo weights
2020-07-25 13:24:45 +02:00
Stefan Naewe
9c1bc1afc2 [CMS] fix editing of negative servo weights
The OSD/CMS doesn't allow correct editing of negative servo mixer weights.
The value can only be made larger (towards positive) but not smaller.
Fix that by setting the min. value for the weight to -1000.

Signed-off-by: Stefan Naewe <stefan.naewe@gmail.com>
2020-07-25 10:51:57 +02:00
Alberto García Hierro
17e559e3ef
Merge pull request #5857 from iNavFlight/agh_frskyosd_v2
Add support for FrSkyOSD version 2
2020-07-25 07:57:57 +01:00
Alberto García Hierro
ce3e5391ef
Merge pull request #5729 from iNavFlight/agh_cmake_tests
[TEST] Use CMake to build and run tests
2020-07-24 22:28:27 +01:00
Alberto García Hierro
8035a59639 [BUILD] Initial and very basic support for CMake
Only F411 based targets have been ported for now
2020-07-24 21:41:51 +01:00
Alberto García Hierro
30146b482e [SETTINGS] Add missing headers in PG_GENERAL_SETTINGS and PG_RPM_FILTER_CONFIG
Otherwise some constants might fail to be resolved depending on the
compilation order.
2020-07-24 21:41:51 +01:00
Alberto García Hierro
55943a0630 [SETTINGS] Cleanup the settings generator a bit
- Don't include target.h explicitely, it's already included
by platform.h
- Fix an error in compiled file as a test for discovering
contstants. Since we rely on compiler errors to give us the
resolved value, that lets us get one extra value on each run
- Always compile the test files for setting discovery in c++11
even if no -std=XXX argument is passed from the caller.
2020-07-24 21:41:51 +01:00
Alberto García Hierro
074c4dec1c [TESTS] Use CMake to build and run tests
Tests are now managed with cmake, with the intention of eventually
moving the whole build system to it. The root Makefile still has
a test target that has been adjusted to call into the appropriate
cmake commands.

Also, GTest library is now downloaded on demand the first time the
tests are run, so we can delete it from the repository.
2020-07-24 21:41:51 +01:00