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
Alexey Stankevich
e7faf25917 Add frsky_d.c to source.mk 2018-06-21 23:52:16 +03:00
U-WFM\gbine
38058a28b3 added in USE_MAG_AK8975 conditionals 2018-06-21 21:45:27 +01:00
Alexey Stankevich
28303acb6d
Merge branch 'development' into frsky_d8_telemetry_lua_script 2018-06-21 23:37:55 +03:00
Alexey Stankevich
04479ae174 Add Battery profile feature to frsky_d.c 2018-06-21 23:35:00 +03:00
Alexey Stankevich
13eaaa2713 Resolve conflict with #3207 PR in smartport.c 2018-06-21 23:03:24 +03:00
Alberto García Hierro
6ec336cd48
Merge pull request #3364 from shellixyz/sag_comp_bat_voltage_improved
Improve battery voltage sag compensation / power supply impedance calculation
2018-06-21 20:55:22 +01:00
Michel Pastor
22c0ded2d0 Fix OSD PID factors blinking for simultaneous adjustment of pitch and roll 2018-06-21 20:48:14 +01:00
Alberto García Hierro
67bcfd48c1
Merge pull request #3408 from iNavFlight/agh_fix_osd_display_pid_values
Fix stack overwrite in osdDisplayPIDValues() which could cause a crash
2018-06-21 20:45:35 +01:00
Alberto García Hierro
7e4c50815f Refactor RC adjustments to remove some code duplication
Saves 560 bytes of flash in F3
Also, removed some FIXME comments since they are no longer relevant
2018-06-21 11:12:45 +01:00
Alberto García Hierro
87a1e6cd01 Use osdDisplayPIDValues() to draw pitch and roll PIDs
Saves 384 bytes of flash in F3
2018-06-21 10:24:24 +01:00
Alberto García Hierro
9fa6588c5e Fix stack overwrite in osdDisplayPIDValues() which could cause a crash
buff was declared as char[3], but 3 digits plus null terminator are
written to it. The variable just before it, might be non-zero in some
cases, causing the string to be not null terminated anymore when it's
passed to displayWriteWithAttr().
2018-06-21 10:14:26 +01:00
Alberto García Hierro
406e1dcbc3
Merge pull request #3394 from shellixyz/lighten_omnibus_target
Lighten OMNIBUS (F3) target
2018-06-20 23:42:25 +01:00
Alberto García Hierro
754c907751
Merge pull request #3393 from shellixyz/osd_add_adjustable_values
Add adjustments and corresponding OSD items
2018-06-20 23:34:50 +01:00
Alberto García Hierro
b2a5d20405
Merge pull request #3377 from shellixyz/add_cell_count_setting_to_msp
Add cell count and voltage source settings to MSP
2018-06-20 23:25:29 +01:00
Alberto García Hierro
154d360efb
Merge pull request #3375 from shellixyz/make_throttle_vbat_comp_and_bat_profile_switch_features
Convert throttle vbat compensation and battery profile auto switching settings to features
2018-06-20 23:05:35 +01:00
Cheng Lin
44165a6911 add CLRACINGAIRF4V3 2018-06-20 22:38:43 +03:00
Alberto García Hierro
d3ff9d618f
Merge pull request #3406 from shellixyz/fix_warning_in_navigation_pos_estimator_agl
Fix warning when USE_BARO or USE_RANGEFINDER are not defined
2018-06-20 20:21:49 +01:00
Michel Pastor
abe190acbc Fix warning when USE_BARO or USE_RANGEFINDER are not defined 2018-06-20 18:33:25 +02:00
Alberto García Hierro
7b223eb215 Port new VTX API and settings from Betaflight
- VTX with support for FC control are now totally managed from the
FC. The FC will store the VTX configuration and override any changes
made manually (e.g. with a button). Users can disable VTX control
to manage channels manually.
- OSD VTX item now shows the power level too.
- Added new parameters for VTX configuration: vtx_band, vtx_channel,
vtx_freq, vtx_halfduplex, vtx_low_power_disarm, vtx_pit_mode_freq
and vtx_power.
- Added support for automatically switching the VTX power when
arming (fixes #3112).

Note that there are a several changes from the BF code. We do support
an additional setting for the low power during disarm option and
the MSP messages contain more data to allow users to configure the
VTX channel/power from the configurator. Our MSP messages also work
when the VTX is offline (the settings are stored in the FC and applied
later once the VTX is powered up).

Thanks to Matek (http://www.mateksys.com) for providing an FCHUB-VTX
to test the Tramp protocol.

Thanks to AKK (https://www.akktek.com) for providing an X2-ultimate
to test SmartAudio.
2018-06-20 17:30:54 +01:00
Alberto García Hierro
98e3d0d1de
Merge pull request #2984 from shellixyz/show_nav_modes_when_no_mag_powered_off
Advertise NAV modes through MSP even when mag is powered off (MR)
2018-06-20 17:14:31 +01:00
Alberto García Hierro
f74e09a8e3
Merge pull request #3405 from shellixyz/fix_forgotten_mpu_exi_macros
Rename left MPU_INT_EXTI to GYRO_INT_EXTI in MATEKF405SE and MATEKF411
2018-06-20 16:56:35 +01:00
Alberto García Hierro
a8c403b361
Merge pull request #2945 from shellixyz/change_current_meter_offset_voltage_unit
Change current sensor offset voltage unit to 0.1mV
2018-06-20 16:21:59 +01:00
Alberto García Hierro
0f39aca2f5
Merge pull request #3376 from shellixyz/remove_cms_duplicated_battery_settings
Remove duplicated battery settings in CMS misc menu
2018-06-20 16:04:00 +01:00
Alberto García Hierro
df91e85520
Merge pull request #3390 from shellixyz/update_cli_docs
Update CLI documentation
2018-06-20 16:01:36 +01:00
Alberto García Hierro
a558072727
Merge pull request #3400 from iNavFlight/agh_fix_target_features
Rename some feature flags using the old style in several targets
2018-06-20 16:00:19 +01:00
Michel Pastor
e19b406d74 Rename left MPU_INT_EXTI to GYRO_INT_EXTI in MATEKF405SE and MATEKF411 targets 2018-06-20 15:02:36 +02:00
Alberto García Hierro
477acd7607
Merge pull request #3389 from shellixyz/update_battery_docs
Update battery docs with sag comp. voltage, profiles and time/distance estimations
2018-06-19 23:54:10 +01:00
Michel Pastor
65b7ccc7f7 Add power supply impedance to BB 2018-06-20 00:16:06 +02:00
Michel Pastor
aeaac975e3 Add power supply impedance to the OSD 2018-06-20 00:12:20 +02:00
Michel Pastor
39753d16c6 Improve battery voltage sag compensation / power supply impedance calculation 2018-06-19 23:53:24 +02:00
Michel Pastor
7440114a36 Update battery docs with remaining flight time / distance estimations 2018-06-19 23:06:51 +02:00
Alberto García Hierro
e9ba75839c Rename some feature flags using the old style in several targets
They were missing the USE_ prefix, mostly in USE_LED_STRIP.
Affected targets: BETAFLIGHTF3, FF_FORTINIF4, FF_PIKOF4, SPARKY2
and YUPIF4.
2018-06-19 19:09:11 +01:00
Paweł Spychalski
e08045e285
Merge pull request #3396 from shellixyz/nav_pid_logging_fix
Nav PID logging fixes
2018-06-19 19:59:56 +02:00
Michel Pastor
7545ae57fa Nav PID logging fixes 2018-06-19 15:31:49 +02:00
Paweł Spychalski
eb0366c109
Merge pull request #3382 from danarrib/danarrib_doc_ajustments
nav_fw_pitch2thr description adjustment
2018-06-19 08:29:13 +02:00
Paweł Spychalski
9b2738505a
Merge pull request #3326 from shellixyz/fw_nav_pids_logging
Add BB logging of FW navigation PIDs
2018-06-19 08:27:34 +02:00
Michel Pastor
490519addd Advertise NAV modes through MSP even when mag is powered off 2018-06-19 01:35:53 +02:00
Michel Pastor
bffa07d46b Change current sensor offset voltage unit to 0.1mV 2018-06-19 01:32:02 +02:00
Michel Pastor
1c47fb6051 Add navigation PID controllers logging for FW and MR 2018-06-19 00:10:10 +02:00
Michel Pastor
211e59baef Lighten OMNIBUS (F3) target
The OMNIBUS target (F3) is close to flash saturation.

Remove things probably nobody uses: external I2C baro (already has a baro on board) and HCSR04 rangefinder

Before:
Memory region         Used Size  Region Size  %age Used
           FLASH:      255408 B       252 KB     98.98%
    FLASH_CONFIG:          0 GB         4 KB      0.00%
             RAM:       36744 B        40 KB     89.71%
             CCM:        7804 B         8 KB     95.26%
       MEMORY_B1:          0 GB         0 GB      -nan%

After:
Memory region         Used Size  Region Size  %age Used
           FLASH:      251352 B       252 KB     97.41%
    FLASH_CONFIG:          0 GB         4 KB      0.00%
             RAM:       36352 B        40 KB     88.75%
             CCM:        7800 B         8 KB     95.21%
       MEMORY_B1:          0 GB         0 GB      -nan%
2018-06-18 23:11:32 +02:00
Alberto García Hierro
b665c48616
Merge pull request #3278 from shellixyz/manual_throttle_increase_in_auto_throttle_modes_clean
FW: Allow manual throttle increase in auto controlled modes
2018-06-18 20:03:48 +01:00
Michel Pastor
6c9b5227fc Add adjustments and corresponding OSD items 2018-06-18 20:42:26 +02:00
Michel Pastor
524f3b730f Improve video system selection 2018-06-18 20:18:10 +02:00
Michel Pastor
45cb16500d Update CLI documentation 2018-06-18 20:16:32 +02:00
Alberto García Hierro
5156038d75
Merge pull request #3252 from shellixyz/osd_blink_adjusted_values
Make the ROLL/PITCH/YAW PID values blink in the OSD when the corresponding RC adjustment is selected
2018-06-18 17:04:52 +01:00
Michel Pastor
792a32febb FW: Allow manual increase of throttle in auto controlled modes 2018-06-18 18:03:46 +02:00
Alberto García Hierro
3e18c56c17
Merge pull request #3298 from shellixyz/disable_althold_on_zero_throttle
Disable ALTHOLD on user motor stop request
2018-06-18 17:03:26 +01:00
Alberto García Hierro
71d866e7f8
Merge pull request #3281 from shellixyz/improve_osd_attitude_angle_display
Improve attitude angle OSD display
2018-06-18 17:01:19 +01:00
Alberto García Hierro
512039aa79
Merge pull request #3290 from shellixyz/auto_pitch_down_when_throttle_bellow_cruise
Automatically pitch down in angle mode when throttle is bellow cruise throttle
2018-06-18 16:59:40 +01:00
Michel Pastor
da28715dc8 Update battery docs with sag comp. voltage and profiles 2018-06-18 17:42:22 +02:00