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

7750 commits

Author SHA1 Message Date
Michel Pastor
4920fb3c76 Remove trailing space in CLI servo output lines 2018-07-04 18:48:29 +02:00
giacomo892
c1fc5480d0 Remove posZ constrain 2018-07-04 15:34:08 +02:00
Michel Pastor
884acf7caf Make failsafe_throttle_low_delay default 0 2018-07-03 23:53:40 +02:00
Alberto García Hierro
3f115185b9
Merge pull request #3481 from shellixyz/better_coding_practices_sagCompensatedVBatUpdate
Use better coding practices in sagCompensatedVBatUpdate()
2018-07-03 19:39:37 +01:00
Michel Pastor
2b4c6acbb2 Replace feature(FEATURE_CURRENT_METER) by isAmperageConfigured() where it makes sense
The `CURRENT_METER` feature can be enableb but the current meter type
could have been set to none
2018-07-03 15:58:36 +02:00
Michel Pastor
b846044322 Fix flight timer for fixed wing when not using launch mode 2018-07-03 15:39:02 +02:00
Alberto García Hierro
16616fa1b0
Merge pull request #3493 from shellixyz/update_docs
Update documentation
2018-07-03 11:08:56 +01:00
Alberto García Hierro
6c7eca3395
Merge pull request #3494 from shellixyz/remove_duplicated_setting
Remove duplicated setting
2018-07-03 10:55:52 +01:00
Alberto García Hierro
6ac165ca1b
Merge pull request #3504 from iNavFlight/agh_fix_tests
Fix broken tests, require them to pass in Travis checks
2018-07-03 10:54:50 +01:00
Tim Eckel
461745b59c
Merge pull request #1 from iNavFlight/development
Sync with development
2018-07-02 18:26:14 -04:00
Alberto García Hierro
e4d9425a55 Make calculateRxChannelsAndUpdateFailsafe() return true at the end
This makes it return true when the channels have been updated
2018-07-02 22:12:37 +01:00
Alberto García Hierro
f672affa8e Add missing include in CMS menus that reference setting IDs
Header was accidentally included by cms/cms.h
2018-07-02 22:12:05 +01:00
Alberto García Hierro
ee7bb80505 Require test to actually pass when running make test
The Makefile was returning success via || true even if the tests
failed to run.
2018-07-02 21:58:57 +01:00
Alberto García Hierro
b9259d1df9 Disable rcdevice tests
Unit test now compiles, but unfortunately it seems that the tests
are incorrectly mocking the device responses and a new driver is
on the way, so there's no reason to fix this test for now.
2018-07-02 21:55:37 +01:00
Alberto García Hierro
cbd3fcdbf6 Fix hott telemetry unit tests
openSerial() and getAmperage() needed prototype changes
2018-07-02 21:42:35 +01:00
Alberto García Hierro
59d165e583 Fix gyro unit tests
gyroUpdate(void) changed gyroUpdate(timeDelta_t)

Also, gyro_sync driver no longer exists
2018-07-02 21:42:08 +01:00
Alberto García Hierro
bc6538d221 Fix math unit tests
- fp_vector is now fpVector3_t
- Vector rotation is now done via matrix rather than using rotateV
2018-07-02 20:39:02 +01:00
Alberto García Hierro
7ac7c3f62f Fix sensor alignment tests
alignSensors() was renamed to applySensorAlignment() and now takes
3 arguments.
2018-07-02 20:32:18 +01:00
stronnag
6a0a25a7d8
Merge pull request #3501 from iNavFlight/jh_complete_bbox_GPS_Alt_signed_fix
complete partial fix in #3250 for blackbox recording of GPS altitude
2018-07-02 17:39:12 +01:00
Jonathan Hudson
3cace4da61 complete partial fix in #3250 for blackbox recording of GPS altitude 2018-07-02 15:24:44 +01:00
Alberto García Hierro
851afb3ca2 Remove unneeded and outdated include from serial_uart_hal driver
Driver was including inverter.h without using it, but since that
file no longer exists it wouldn't compile.
2018-07-01 19:17:29 +01:00
Michel Pastor
44b72b4e54 Remove duplicated setting 2018-07-01 19:34:22 +02:00
Michel Pastor
8fab8a2bef Update documentation 2018-07-01 19:32:33 +02:00
Alberto García Hierro
2b3e1df045 Change all targets to separate RX and TX inverters
For now, assume all targets that define a single pin inverter
intend to define an inverter affecting only the RX line.
2018-07-01 16:33:12 +01:00
Alberto García Hierro
f0539b2b51 Refactor the inverter driver
Split INVERTER_PIN_UART<n> into INVERTER_PIN_UART<n>_RX and
INVERTER_PIN_UART<n>_TX. This allows us to invert just one line
of the port in F4 based controllers, like we can do on F3.

Fixes #3466
2018-07-01 12:46:31 +01:00
Konstantin Sharlaimov
8f16ac1ffa
Merge pull request #3478 from iNavFlight/jh_min_switch_delay
set switch_disarm_delay / .switchDisarmDelayMs default to 250ms
2018-06-30 21:39:09 +02:00
Michel Pastor
a2c40199c6 Use better coding practices in sagCompensatedVBatUpdate() 2018-06-30 16:48:38 +02:00
Jonathan Hudson
20c00aadd6 set switch_disarm_delay / .switchDisarmDelayMs default to 250ms for better safety 2018-06-29 22:09:26 +01:00
Alberto García Hierro
bea730c252
Merge pull request #3475 from Garogat/spracingf3neo-led
Add LEDSTRIP support to SPRACINGF3NEO target
2018-06-29 18:31:47 +01:00
Anton Bracke
f74b30c8b5 Removed commented led defines from SPRacingF3NEO 2018-06-29 15:16:02 +02:00
Anton Bracke
9a0837f220 Add LEDSTRIP support to SPRACINGF3NEO target 2018-06-29 00:34:04 +02:00
Alberto García Hierro
a8415e89c2
Merge pull request #3469 from shellixyz/fix_msp2_inav_analog
Fix compiler bug, MSP2_INAV_ANALOG and convert amperage from int32_t to int16_t
2018-06-28 21:54:37 +01:00
Michel Pastor
af360257b9 Compiler bug workaround for mAh and mWh calculations 2018-06-28 15:30:17 +02:00
Michel Pastor
cd3793ccbc Fix MSP2_INAV_ANALOG and convert amperage from int32_t to int16_t
- Fix MSP2_INAV_ANALOG to return possible negative values of `power`, `mAhDrawn` and `mWhDrawn`
- int16_t should be enough for amperage (+-325A)
2018-06-28 01:07:39 +02:00
Alberto García Hierro
e0c0d5ceb8
Merge pull request #3465 from shellixyz/fix_osd_remaining_distance_element
Fix remaining distance OSD element
2018-06-27 20:14:03 +01:00
Alberto García Hierro
53110d0b18
Merge pull request #3379 from shellixyz/require_turn_assistant_for_NAV_CTL_ALT
FW: Require turn assistant for nav modes using NAV_CTL_ALT
2018-06-27 19:13:40 +01:00
Alberto García Hierro
8c9562d8a3
Merge pull request #3458 from shellixyz/fix_poshold
Fix POSHOLD mode
2018-06-27 19:13:24 +01:00
Michel Pastor
7ba7cb4011 Fix remaining distance OSD element 2018-06-27 19:49:55 +02:00
Michel Pastor
2d8c289b21 Fix POSHOLD mode 2018-06-27 17:40:19 +02:00
Alberto García Hierro
3a56c81dc8
Merge pull request #3446 from teckel12/te_frsky_telemetry_gps_accuracy_hdop
Better GPS accuracy reading for FrSky telemetry
2018-06-27 14:18:28 +01:00
Alberto García Hierro
1722296103
Merge pull request #3460 from iNavFlight/agh_makefile_version_suffix
Add support for builds with a version suffix
2018-06-27 14:11:53 +01:00
Alberto García Hierro
27ca993c93
Merge pull request #3461 from iNavFlight/agh_check_string_setting_defaults
Properly check if string settings have their default values
2018-06-27 14:11:33 +01:00
Alberto García Hierro
1ce24f064b Properly check if string settings have their default values
This prevents name from always appearing in diff outputs.

References #3453
2018-06-27 09:52:18 +01:00
Alberto García Hierro
78311cba20 Add support for builds with a version suffix
To build setting a release suffix of "rc1" use:

FC_VER_SUFFIX=rc1 make <target>

The generated files will use a - to separate the version from its
suffix, respecting semver.
2018-06-27 09:48:58 +01:00
Alberto García Hierro
9ebdb83175
Merge pull request #3455 from shellixyz/fix_osdDisplayBatteryVoltage
Fix osdDisplayBatteryVoltage() displayed decimals
2018-06-26 16:26:34 +01:00
Alberto García Hierro
d4ba874967
Merge pull request #3454 from shellixyz/fix_osdDisplayPIDValues
Fix osdDisplayPIDValues()
2018-06-26 16:26:23 +01:00
Michel Pastor
1e198a54bc Fix osdDisplayPIDValues() 2018-06-26 14:57:58 +02:00
Michel Pastor
7b3a79f550 Fix osdDisplayBatteryVoltage() displayed decimals 2018-06-26 14:57:13 +02:00
Paweł Spychalski
cda6567338
Merge pull request #3452 from iNavFlight/agh_matekf722_s6
MATEKF722 updates from @MATEKSYS
2018-06-26 14:56:24 +02:00
Alberto García Hierro
457d29432b MATEKF722 updates from @MATEKSYS
As requested in #3073

- Add servo output on S6
- Add support for pitot
2018-06-26 11:17:49 +01:00