1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-25 01:05:27 +03:00
Commit graph

264 commits

Author SHA1 Message Date
Michael Keller
ecec6615e7 Merge pull request #4260 from DanNixon/osd_default_layout
Set a reasonable default OSD layout
2017-10-12 00:10:15 +13:00
Dan Nixon
3aeef39b5a Add OSD and beeper warnings for anti turtle mode 2017-10-10 08:20:56 +01:00
Dan Nixon
db35523437 Set a reasonable default OSD layout
All elements off and positioned near the centre of the screen (in NTSC
at least), apart from the warnings element which is in the previous
position and enabled.

The warnings element is kept as it does show inportant information and
is not visible if no warning is active.
2017-10-01 14:34:28 +01:00
Martin Budden
53f5e87c7a Add void to function declarations/definitions where required 2017-09-24 09:22:48 +01:00
Dan Nixon
3013229918 Left pad OSD electrical power readout 2017-09-10 15:23:01 +01:00
Dan Nixon
20f7c77089 Add BATT NOT FULL warning to OSD
Shows BATT NOT FULL when the connected battery has an everage cell
voltage of less than 0.2v lower then vbatmaxcellvoltage (when the craft
has yet to be armed)

Intended as a reminder to make sure pilots fly with a fresh battery

Adds an additional configuration option for the voltage at which a cell
is "full"
2017-08-18 08:07:20 +01:00
Martin Budden
d2b31c1770 Fixed some comparion sign warnings 2017-08-16 11:30:00 +01:00
Martin Budden
fa4927c312 Merge pull request #3614 from DanNixon/osd_ahi_config
Allow configuration of the AHI limits
2017-08-12 08:49:58 +01:00
Dan Nixon
cf040713da Allow configuration of the AHI limits 2017-08-12 07:54:09 +01:00
Martin Budden
7580b25d80 Merge pull request #3741 from elektronisk/patch-1
OSD, adjust the heading angles where "compass bar" and "numerical heading" arrows change
2017-08-12 07:39:47 +01:00
Martin Budden
a0f48f74c1 Merge pull request #3615 from DanNixon/osd_battery_current_formatting
Improve formatting of numerical OSD elements
2017-08-12 07:24:44 +01:00
Andreas Bertheussen
f875f92292 Update osd.c
Correct the heading boundaries used to display "numerical heading" arrow symbol, and "compass bar" direction.

The direction indicators get shifted by 1/32th of a circle. For instance the forward arrow and north direction will now be displayed for headings 349..011, instead of at headings 000..022.
2017-08-03 18:16:34 +02:00
Dan Nixon
28fb930c1f Improve formatting of some numerical OSD elements
- Moved units to the right of the number
- Added adequate left padding
2017-07-26 12:57:12 +01:00
blckmn
7a5d1d9b8e Moving boardIdentifier out of config header and into systemConfig (for generic targets) 2017-07-25 09:05:12 +10:00
Martin Budden
3a179f80e6 Update PG versions 2017-07-19 13:00:49 +01:00
Michael Keller
ea5a7cd998 Merge pull request #3373 from DanNixon/generic_osd_timers
Generic OSD timers (plus high precision timer)
2017-07-08 10:21:39 +12:00
Martin Budden
3d4f0bb137 Whitespace tidy 2017-07-05 06:36:22 +01:00
Dan Nixon
78d28b48f8 Generic OSD timers
- Two configurable timer elements/stat items
- High precision timer (for race timing)
- Add array length checking to OSD items in MSP
2017-07-03 12:30:49 +01:00
Dan Nixon
dbbe79a9f4 Add arming disabled reasons to OSD 2017-07-02 17:29:21 +01:00
mikeller
31df82db2d Reworked arming conditions. 2017-06-30 08:43:46 +12:00
Michael Keller
5f1ede6534 Merge pull request #3348 from martinbudden/bf_gps_align
Move some GPS variables into struct. Some alignment with iNav
2017-06-28 11:58:12 +12:00
Dan Nixon
270c4bd5fe Update OSD unit test as per comments from @ledvinap 2017-06-27 18:01:55 +01:00
Dan Nixon
427c5fe524 OSD unit test 2017-06-27 10:01:35 +01:00
Martin Budden
564e0c94b8 Move some GPS variables into struct. Some alignment with iNav 2017-06-25 14:44:04 +01:00
Dan Nixon
3a84e81827 Add BB log no for SD card 2017-06-24 17:15:32 +01:00
Dan Nixon
5ba8d39ad8 Fixes broken if-else from 41668fa 2017-06-21 11:29:43 +01:00
borisbstyle
72f5a7940b Merge pull request #3308 from mikeller/added_osd_visual_beeper
Added visual beeper to OSD.
2017-06-19 08:23:43 +02:00
Dominic Clifton
57e85ea061 Merge branch 'rosek86-master' 2017-06-19 09:13:21 +12:00
Krzysztof Rosiński
64d92963e1 braces style corrected. 2017-06-19 09:08:44 +12:00
mikeller
41668fa702 Added visual beeper to OSD. 2017-06-18 19:17:20 +12:00
Miguel Angel Mulero Martinez
294bf5d0ef Add compass bar to OSD 2017-06-14 08:52:26 +02:00
Michael Keller
0f951ae716 Merge pull request #3269 from McGiverGim/bf-fix_gps_coordinates_OSD
Fix GPS coordinates in OSD
2017-06-14 12:07:29 +12:00
Michael Keller
7fe0ab9586 Merge pull request #3270 from DanNixon/new_osd_elements
Heading and vario OSD elements
2017-06-14 12:06:56 +12:00
Dan Nixon
5fd54cd7c2 Add numerical vario and heading OSD elements 2017-06-13 10:35:58 +01:00
Miguel Angel Mulero Martinez
64aa5824a7 Maximum Home Distance in OSD stats 2017-06-13 10:29:37 +02:00
Miguel Angel Mulero Martinez
ac2e0186f6 Fix for MAG dependency in OSD HOME DIR 2017-06-13 08:23:42 +02:00
Miguel Angel Mulero Martinez
7956acb35e Fix GPS coordinates in OSD 2017-06-12 23:49:56 +02:00
Miguel Angel Mulero Martinez
2c9563e95d Add HOME DISTANCE to OSD 2017-06-12 17:15:14 +02:00
Miguel Angel Mulero Martinez
24aef422ee Add HOME DIRECTION arrow to OSD 2017-06-12 08:37:42 +02:00
Martin Budden
e9b2d7e223 Merge pull request #3252 from martinbudden/bf_osd_tidy
OSD tidy
2017-06-11 18:21:46 +01:00
Martin Budden
e59d17033c OSD tidy 2017-06-11 16:46:51 +01:00
Dan Nixon
c3cccb888b Fix formatting of GPS speed
Fixes #3236
2017-06-08 15:16:45 +01:00
Dominic Clifton
e3b3b6881c Merge pull request #2836 from cleanflight/cleanup-osd-2
CF/BF - Cleanup OSD default positions.
2017-06-04 10:42:58 +12:00
Michael Keller
27679e69f2 Merge pull request #3193 from DanNixon/osd_volt_symbol
Use the volts symbol for voltages in OSD
2017-06-02 15:37:10 +12:00
Dan Nixon
6297969a5e Use the volts symbol for voltages in OSD 2017-06-01 11:40:57 +01:00
Dan Nixon
1366676880 Add back the OSD disarmed element 2017-05-31 16:29:10 +01:00
Martin Budden
dafac79ebf Merge pull request #3142 from DanNixon/osd_animate_battery_icon
Animate the battery symbols on OSD based on voltage
2017-05-28 14:42:59 +01:00
Martin Budden
3a5010ea65 Replace sprintf with tfp_sprintf 2017-05-28 07:17:35 +01:00
Dan Nixon
d95331323e Animate the battery symbols on OSD based on voltage 2017-05-26 17:15:19 +01:00
Martin Budden
f3502662b9 Merge pull request #3156 from martinbudden/bf_driver_time_header
Moved time functions out of system.h into time.h
2017-05-26 14:44:41 +01:00