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

571 commits

Author SHA1 Message Date
Pawel Spychalski (DzikuVx)
67572fed9d Add ability to read Programming PID status via MSP 2021-02-21 11:20:07 +01:00
Daniel Arruda Ribeiro
7447beb25d Fix Throttle percent logic and code cleanup 2021-02-01 10:54:06 -03:00
Daniel Arruda Ribeiro
101799952e Moved throttle percent calculation from MSP and OSD to Mixer 2021-01-15 18:12:45 -03:00
Daniel Arruda Ribeiro
2277239215 Add a new MSP2_INAV_MISC2 message type, that allows a peer to fetch the On Time, Flight Time, Throttle percent and Auto Throttle flag. 2021-01-14 21:18:11 -03:00
Pawel Spychalski (DzikuVx)
9c11ceddf1 MSP layer for Programming PIDs 2020-12-24 21:49:50 +01:00
Pawel Spychalski (DzikuVx)
00c4d75892 Merge branch 'master' into dzikuvx-programming-pid 2020-12-24 19:51:41 +01:00
Jonathan Hudson
fbc85d535d
add MSP for setting and getting safe homes (#6420) 2020-12-15 11:33:29 +00:00
Pawel Spychalski (DzikuVx)
d32fe6dea5 Move PID gains to UINT16 instead of UINT8. Keep it compatible on the MSP level 2020-12-04 20:38:34 +01:00
Pawel Spychalski (DzikuVx)
f98f5292da Always use rxGetChannelValue instead of rxGetRawChannelValue 2020-11-25 21:33:42 +01:00
Konstantin (DigitalEntity) Sharlaimov
c91b91ae82 [MSP SENSOR] Add support for MSP Airspeed sensor 2020-10-24 11:02:37 +02:00
Konstantin (DigitalEntity) Sharlaimov
cf99b7dfef [BARO/MAG] Move MSP sensor payload structures to a separate file; Implement MSP-based BARO and MAG 2020-10-24 09:51:46 +02:00
Konstantin (DigitalEntity) Sharlaimov
59b8720306 [GPS] Add MSP_GPS sensor. Enable on F4+ boards; Add extra RTC sanity check 2020-10-24 09:51:34 +02:00
Arvid Stenberg
0ba91601ad
Added tz_automatic_dst to MSP2_COMMON_TZ and MSP2_COMMON_SET_TZ (#6115)
* Added tz_automatic_dst to MSP2_COMMON_TZ and MSP2_COMMON_SET_TZ

* Added logic to handle 2 vs 3 bytes in MSP2_COMMON_SET_TZ
2020-09-17 07:49:15 +01:00
Pawel Spychalski (DzikuVx)
d13ba61d07 Merge branch 'master' into dzikuvx-mag-gain-calibration 2020-08-14 14:59:30 +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
Pawel Spychalski (DzikuVx)
3bdc3dd501 Add magGain to MSP frame 2020-07-24 18:28:44 +02:00
Alberto García Hierro
a25fcd5656 [MSP/CLI] Constrain receive baud rates indices to their valid values
MSP was not restricting anything an accepting any values, while
CLI had some seemingly arbitrary bounds. Now both interfaces accept
the full range of valid values.
2020-07-23 09:49:51 +01:00
Alberto García Hierro
e786889c86 [OSD] Split OSD configuration into osdConfig_t and osdLayoutsConfig_t
osdLayoutsConfig_t stores the config for the layouts, with the visible
items and their positions. osdLayoutsConfig_t stores the rest.
2020-07-23 09:49:50 +01:00
Pawel Spychalski (DzikuVx)
426d21a9fc Cleanup 2020-07-23 10:47:43 +02:00
Michel Pastor
6f76bd5ad9
Add bootloader and firmware update API (#5728)
* Add F765XG MCU support

* Add bootloader and update system

* Fix linker files
2020-07-20 22:46:15 +02:00
Pawel Spychalski (DzikuVx)
47cd8f317d Refactor LC, GF and GVAR to use single scheduler task 2020-07-08 15:18:52 +02:00
Paweł Spychalski
839a877397
Add setpoint derivative feed forward term to PID controller (#5642)
* Add setpoint derivative feed forward term to PID controller

* Drop Dterm setpoint weight, FIR filter and dterm notch

* Fix FALCORE build

* Rename Multirotor FeedForward to Control Derivative

* Apply Control Derivative results

* Free CCM on F3

* Rename CLI name

* Remove Omnibus F3 support

* Update CLI.md and rename setting
2020-06-09 13:37:49 +02:00
Paweł Spychalski
6c4afd8486
Drop gyro Noth 1 (#5736) 2020-06-08 16:10:24 +02:00
Konstantin (DigitalEntity) Sharlaimov
99f6c42d7c Deprecate and remove USE_ACC and USE_GYRO; Replace ACC_xxx_ALIGN/GYRO_xxx_ALIGN with IMU_xxx_ALIGN 2020-05-05 15:18:59 +02:00
Michel Pastor
0551f8743a
Add flash partitioning support (#5474) 2020-04-27 13:23:13 +02:00
Pawel Spychalski (DzikuVx)
ae8d29c025 Add activatorId to CLI and MSP 2020-04-11 23:10:40 +02:00
Pawel Spychalski (DzikuVx)
3f54ba2313 Merge branch 'development' into dzikuvx-global-variables 2020-04-10 19:17:23 +02: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
Konstantin Sharlaimov
01c5e668f3
Merge pull request #5461 from iNavFlight/de_vtx_refactor
VTX/CMS unification
2020-03-02 16:33:58 +01:00
Pawel Spychalski (DzikuVx)
90e9f77a52 Props-In setting as bool 2020-02-27 21:33:53 +01:00
Konstantin (DigitalEntity) Sharlaimov
9c19f0db6a [VTX] Initial cut on unified VTX interface 2020-02-24 23:04:06 +01:00
Pawel Spychalski (DzikuVx)
f480bcf463 Rename settings previously responsible for reversible motors handling 2020-02-19 14:52:54 +01:00
Pawel Spychalski (DzikuVx)
004082b67d add msp frame to get GVAR values 2020-02-17 11:30:00 +01:00
Alberto García Hierro
b6d143c055 [MSP] Add support for setting up serial passthrough via MSP
Change MSP_SET_4WAY_IF to MSP_SET_PASSTHROUGH while also keeping
backwards compatibility.
2020-01-28 21:32:25 +00:00
Paweł Spychalski
c89469216e
Merge pull request #5240 from iNavFlight/dzikuvx-dterm-filters-refactor
Dterm filters refactoring and enhancement
2019-12-29 12:34:19 +01:00
Pawel Spychalski (DzikuVx)
3b2c843f76 Merge remote-tracking branch 'origin/development' into dzikuvx-dterm-filters-refactor 2019-12-28 16:33:19 +01:00
Pawel Spychalski (DzikuVx)
7d19930ac1 Merge remote-tracking branch 'origin/development' into dzikuvx-throttle-idle 2019-12-23 14:08:05 +01:00
Pawel Spychalski (DzikuVx)
4fd2149e2b Drop min_throttle in favor of throttle IDLE percent 2019-12-22 21:33:19 +01:00
Pawel Spychalski (DzikuVx)
61381c4c35 Increase Dterm LPF range 2019-12-02 15:36:06 +01:00
Pawel Spychalski (DzikuVx)
f8717e19d5 Merge remote-tracking branch 'origin/development' into dzikuvx-yaw-handling-cleanup 2019-11-30 09:39:17 +01:00
Pawel Spychalski (DzikuVx)
c538e2eb58 Cleanup debugs and USE_ defines that are always on 2019-10-31 21:04:05 +01:00
Pawel Spychalski (DzikuVx)
33b9c312b9 Merge branch 'development' into dzikuvx-yaw-handling-cleanup 2019-10-24 13:30:56 +02:00
Pawel Spychalski (DzikuVx)
0f4a6cfb39 >Drop yaw_p_limit and replace with pidsum_limit_yaq 2019-10-22 15:46:35 +02:00
Michel Pastor
6e70eee04b
Add setting name to the MSP2_COMMON_SETTING_INFO message (#5133)
Allows to enumerate all the settings and get the setting names. It is
the only way to do so.
2019-10-17 23:44:29 +02:00
Pawel Spychalski (DzikuVx)
80dc0e1d5a Drop yaw_jump_prevention_limit 2019-10-17 19:28:26 +02:00
Konstantin (DigitalEntity) Sharlaimov
4063eb6e07 [ESC] Add battery voltage ESC sensor 2019-10-07 14:00:32 +02:00
Paweł Spychalski
97f3144bd0
Global Functions (#4474)
* First cut on data structure

* fix source.mk

* Dummy task to process global functions

* Early stage of arming safety override

* CLI interface for global functions

* MSP layer for global functions

* arming safety override with a global function

* Integrate throttle limit into global functions

* Fix Omnibus RAM overflow
2019-09-16 11:49:49 +02:00
Pawel Spychalski (DzikuVx)
50bb6c7fe6 MSP to get logic conditions status 2019-09-13 11:11:12 +02:00
Konstantin (DigitalEntity) Sharlaimov
d3b2ae2eac [SDIO] Add support for SDIO to F7 2019-07-16 17:19:56 +02:00
Alberto García Hierro
0a14bd9024 OSD: Add support for uploading 64 byte fonts
Although visible data is only 54 bytes, some drivers can accept
64 bytes and use the remaining 10 for metadata. MAX7456 driver
ignores the extra 10 bytes.
2019-06-02 14:45:29 +01:00