1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 16:55:36 +03:00
Commit graph

274 commits

Author SHA1 Message Date
Steve Evans
565de1b68b
Use the cached value of useDshotTelemetry to ensure consistent runtime use if dshot_bidir is changed (#13589) 2024-04-28 09:31:50 +10:00
ctzsnooze
5457032838
Use PDOP consistently, since it replaces HDOP (#13477) 2024-04-04 09:08:40 +11:00
Károly Kiripolszky
9f36b400c9
Fix MSP version comment (#13471) 2024-03-26 23:18:49 +01:00
Károly Kiripolszky
9dfa09a07e
Extend build info with defined flags (#13333)
* Extend build info with defined flags

* Fix CI

* Formatting

* Update license header

* Build options (WIP)

* Review fixes

* Add MSP build info generator

* Review fixes

* Add input hash

* Fix for PascalCase

* Add comment about MSP version
2024-03-21 18:29:22 +01:00
Mark Haslinghuis
d84ec8da63
Do not return MSP_RESULT_ERROR when succesful (#13328) 2024-02-04 11:52:52 +01:00
Steve Evans
17e43e3363
Fix OSD defaults based on SD/HD (#13320)
Fix OSD defaults based on SD/HD and validate changing video_system to/from HD
2024-01-23 00:56:25 +01:00
Steve Evans
70e70c5d7b
Scale heading appropriately (#13269) 2024-01-06 12:12:03 +01:00
Mark Haslinghuis
9b078c0b1f
Fix arming when GPS included in build but no active GNSS device attached + revert msp request for SatInfo (#13244)
* Fix arming when GPS included in build but not active

* Fixes per review from Chris

* Move PG change to new PR

* Restore changing GPS PG version
2023-12-28 00:14:02 +01:00
Mark Haslinghuis
22ce586550
Add MSP request for UBLOX SatInfo and disable SatInfo on ARMING. (#13240) 2023-12-25 10:50:34 +11:00
Mark Haslinghuis
58933f9972
Revive MSP message for mag declination (#13232)
Add MSP message for mag declination
2023-12-19 13:26:15 +01:00
Mark Haslinghuis
65aaf732f9
Remove custom defaults and enable features on boot (#13216)
* Remove custom defaults

* Fixes per review

* Fixes per review (thanks ledvinap)

* Fix copy pasta
2023-12-17 07:58:15 +01:00
Flavio Pinzarrone
4c86e31d1e
Fixed incorrect accelerometer scaling in MSP (#13026) 2023-12-04 16:50:08 +01:00
Mark Haslinghuis
b199e65000
Remove unused servos header file (#13182) 2023-12-04 13:21:17 +11:00
Jan Post
5769b3021e
Dshot RPM Telemetry Refactoring (#13012) 2023-12-03 15:16:35 +11:00
Míguel Ángel Mulero Martínez
65357e51bd
Add OSD Link Quality alarm value to the MSP (#13121) 2023-12-02 10:15:37 +01:00
Mark Haslinghuis
6fe81a9445
Fix disabling sensor configuration (when device needs battery power) (#13177)
* Fix sensor config

* Encapsulate code

* Add new message for detectedSensors

* Add SENSOR_NOT_AVAILABLE

* Move comment

* Add gyro
2023-11-28 10:42:31 +01:00
Steve Evans
a72ad8b2b6
Add support for MSP2_SENSOR_GPS message from RemoteID module (#13062) 2023-09-09 01:02:09 +02:00
ASDosjani
5cd2ab50e4
Add LED strip config values to MSP (#12995)
* Add LED strip config values to MSP

* change hue calculation + higher max frequency

* higher rainbow frequency

* define LED Strip task rate

* msp2

* fix delta size

* Update src/main/msp/msp.c

Co-authored-by: Mark Haslinghuis <mark@numloq.nl>

* Update src/main/msp/msp.c

Co-authored-by: Mark Haslinghuis <mark@numloq.nl>

---------

Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
2023-09-05 17:09:31 +02:00
Mark Haslinghuis
7780880139
Fix GPS Rescue parameters confusion (#13047)
* Fix GPS Rescue parameters

* Fixes per review

* more renames

* Refactor setReturnAltitude

* Change return altitude to 5 - 1000

* Rename return speed

* Change groundSpeed to groundSpeedCmS
2023-08-31 11:50:15 +02:00
J Blackman
d5d3ee88be
Removing STM specific defines from common_pre, and other cleanups (#12982)
Removing STM specific defines from common_pre, and other cleanup
2023-07-27 11:34:28 +02:00
Eike Ahmels
214946bc3f
AT32F435 camera control (#12913)
* [AT32] camera control

* remove comments

* change to mcu specific implementation

* fix includes
2023-07-10 15:54:20 +10:00
Andrey Mironov
a98364fa55
Separate resources for SOFTSERIAL_TX & SOFTSERIAL_RX (#11786)
* Addressed review comments

* Unify USE_SOFTSERIAL

---------

Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
2023-06-18 02:25:01 +02:00
Mark Haslinghuis
7d1007ea03
Enables retrieval of the RELEASE_NAME using MSP2 (#12878)
Retrieve releasename
2023-06-11 02:28:52 +02:00
Steve Evans
445758f3ec
Fix handling of attribute byte (#12701) 2023-04-21 00:15:04 +02:00
HThuren
29ef811fa2
Add more info for sensor in (get) MSP_SENSOR_CONFIG (#12626)
* more info for sensor

* moved comment
2023-04-06 23:49:33 +02:00
HThuren
2878ad4e72
add getCoreTemp (#12608)
* add getCoreTemp

* add ifdef

* Update msp.c

Now also repported from MSP_STATUS

* Update src/main/msp/msp.c

Co-authored-by: Míguel Ángel Mulero Martínez <mcgivergim@gmail.com>

---------

Co-authored-by: Míguel Ángel Mulero Martínez <mcgivergim@gmail.com>
2023-04-06 22:22:05 +02:00
ctzsnooze
241e9a9b94
Angle and Horizon Mode improvements (#12231)
* Angle and Horizon Update for 4.5

* BugFix FF noise Angle Mode on yaw and in level _race mode

* use time constant in ms for angle feedforward smoothing

* refactor to remove unnecessary definition

---------

Co-authored-by: ChrisRosser <chrisrosser91@gmail.com>
2023-03-15 09:46:24 +11:00
Hans Christian Olaussen
9b4e6136d9
Exclude MSP_OSD_CONFIG if USE_OSD not defined (#12513) 2023-03-14 12:38:32 +01:00
J Blackman
50de91730f
FIX: Missing USE_BLACKBOX (#12504) 2023-03-11 19:46:08 +11:00
ctzsnooze
e957f0dfa6
Improve GPS Rescue Pitch smoothing and disarming (#12343) 2023-03-08 16:10:25 +11:00
J Blackman
ee77239db1
Removing Custom Defaults (#12425) 2023-03-02 19:39:44 +01:00
Alejandro Hernández Cordero
9dc9c51d3e
Added SITL Gazebo (#12346) 2023-02-19 06:39:54 +11:00
J Blackman
7604b05a00
Enable retrieval of the BUILD_KEY using MSP2 (#12264)
* Enable retrieval of the BUILD_KEY using MSP2

* Repositioning
2023-01-31 17:50:55 +01:00
Steve Evans
040a519ecd
Automatically apply HD settings if HD VTX is detected (#12184) 2023-01-13 22:05:43 +00:00
Steve Evans
1e3fcbfcee
Add osd_canvas_width/height variables (#12164) 2023-01-10 13:25:22 +11:00
Steve Evans
107d577a90
Fix reset PG behaviour and configurator interactions based on USE_OSD_SD and USE_OSD_HD definitions (#12152) 2023-01-08 20:49:28 +11:00
Vasyl Demianov
b7b53399ab
MSP messages to get and set PID and rate profile names. (#12020)
* MSP messages to get and set PID and rate profile names.

* Use MSP2_SET_TEXT and MSP2_GET_TEXT messages instead separate ones.
2022-12-02 02:55:00 +01:00
Steve Evans
c508b6644d
Apply OSD severity (#11996) 2022-11-20 12:24:09 +01:00
J Blackman
af1001a35c
FIX: USE_PWM not working (#12004) 2022-11-18 18:10:32 +11:00
Steve Evans
3e51d15559
Add HD OSD support (#11964) 2022-11-15 12:58:14 +11:00
haslinghuis
2216b42dbb
Fix compatibility for name field (#11980) 2022-11-14 15:08:16 +11:00
haslinghuis
139210e403
Fix TPA (#11969) 2022-11-09 21:18:14 +11:00
Jan Post
6ed96f9adb
Parse GPS DOP values (#11912)
This is part 2 of a series to prepare for altitude estimations (and
later on full 3-dimensional estimations) with a new sensor fusion model.

This is a PR to get access to relevant dilution of precision values of
the GPS signal.
- `pDOP`: positional (3D) - for positional dilution in space
- `hDOP`: horizontal (2D) - for positional dilution above ground
- `vDOP`: vertical (1D) - for dilution of altitude
2022-11-02 16:00:34 +11:00
haslinghuis
4657de0b2c
Merge pull request #11931 from haslinghuis/fix-msp-video-selection
Add case for MSP OSD device detection
2022-10-31 05:30:34 +01:00
J Blackman
e801548117
Merge pull request #11391 from krasiyan/add-display-name-msp-commands 2022-10-31 07:57:44 +11:00
Mark Haslinghuis
5fa5e5acda Add case for MSP OSD device detection 2022-10-29 06:56:21 +02:00
haslinghuis
7bba781f58
Merge pull request #11192 from jeffpearce/elrsguid
Add support for getting/setting elrs uid via msp API
2022-10-27 02:08:12 +02:00
Krasiyan Nedelchev
e7df32f020 Rename 'display_name' to 'pilot_name'; rename 'name' to 'craft_name'; Add the 'MSP2_GET_TEXT' and 'MSP2_SET_TEXT' MSP commands
- add the 'MSP2_GET_TEXT' and 'MSP2_SET_TEXT' MSP2 commands

  - Support getting/setting the 'MSP2TEXT_PILOT_DISPLAY_NAME' config prop ('pilotConfigMutable()->displayName')

- rename 'display_name' to 'pilot_name'

  - Add the new 'OSD_PILOT_NAME' OSD element in place of the
  'OSD_DISPLAY_NAME' one (as they are semantically identical)
  - Add the 'osd_pilot_name_pos' cli prop in place of 'osd_display_name_pos'

- rename 'pilotConfigMutable()'s 'name' to 'craftName'

  - remove the legacy 'GET_NAME' / 'SET_NAME' MSP commands
  - replace the 'name' CLI prop for 'craft_name'
  - add the 'MSP2TEXT_CRAFT_NAME' constant for 'MSP2_GET_TEXT' and 'MSP2_SET_TEXT'
2022-10-25 23:03:46 +02:00
haslinghuis
d58f2c4a3c
Merge pull request #11909 from blckmn/all_use_config
Removing 'UNIFIED_TARGET'
2022-10-22 21:24:22 +02:00
blckmn
3396013b53 Removing USE_UNIFIED_TARGET... 2022-10-21 10:04:10 +11:00