-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
Copy pathdji_osd_symbols.h
166 lines (144 loc) · 5.83 KB
/
dji_osd_symbols.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
/* @file max7456_symbols.h
* @brief max7456 symbols for the mwosd font set
*
* @author Nathan Tsoi [email protected]
*
* Copyright (C) 2016 Nathan Tsoi
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>
*/
#pragma once
//Misc
#define DJI_SYM_NONE 0x00
#define DJI_SYM_END_OF_FONT 0xFF
#define DJI_SYM_BLANK 0x20
#define DJI_SYM_HYPHEN 0x2D
#define DJI_SYM_BBLOG 0x10
#define DJI_SYM_HOMEFLAG 0x11
#define DJI_SYM_RPM 0x12
#define DJI_SYM_ROLL 0x14
#define DJI_SYM_PITCH 0x15
#define DJI_SYM_TEMPERATURE 0x7A
#define DJI_SYM_MAX 0x24
// GPS and navigation
#define DJI_SYM_LAT 0x89
#define DJI_SYM_LON 0x98
#define DJI_SYM_ALTITUDE 0x7F
#define DJI_SYM_TOTAL_DISTANCE 0x71
#define DJI_SYM_OVER_HOME 0x05
// RSSI
#define DJI_SYM_RSSI 0x01
#define DJI_SYM_LINK_QUALITY 0x7B
// Throttle Position (%)
#define DJI_SYM_THR 0x04
// Unit Icons (Metric)
#define DJI_SYM_M 0x0C
#define DJI_SYM_KM 0x7D
#define DJI_SYM_C 0x0E
// Unit Icons (Imperial)
#define DJI_SYM_FT 0x0F
#define DJI_SYM_MILES 0x7E
#define DJI_SYM_F 0x0D
// Heading Graphics
#define DJI_SYM_HEADING_N 0x18
#define DJI_SYM_HEADING_S 0x19
#define DJI_SYM_HEADING_E 0x1A
#define DJI_SYM_HEADING_W 0x1B
#define DJI_SYM_HEADING_DIVIDED_LINE 0x1C
#define DJI_SYM_HEADING_LINE 0x1D
// AH Center screen Graphics
#define DJI_SYM_AH_CENTER_LINE 0x72
#define DJI_SYM_AH_CENTER 0x73
#define DJI_SYM_AH_CENTER_LINE_RIGHT 0x74
#define DJI_SYM_AH_RIGHT 0x02
#define DJI_SYM_AH_LEFT 0x03
#define DJI_SYM_AH_DECORATION 0x13
// Satellite Graphics
#define DJI_SYM_SAT_L 0x1E
#define DJI_SYM_SAT_R 0x1F
// Direction arrows
#define DJI_SYM_ARROW_SOUTH 0x60
#define DJI_SYM_ARROW_2 0x61
#define DJI_SYM_ARROW_3 0x62
#define DJI_SYM_ARROW_4 0x63
#define DJI_SYM_ARROW_EAST 0x64
#define DJI_SYM_ARROW_6 0x65
#define DJI_SYM_ARROW_7 0x66
#define DJI_SYM_ARROW_8 0x67
#define DJI_SYM_ARROW_NORTH 0x68
#define DJI_SYM_ARROW_10 0x69
#define DJI_SYM_ARROW_11 0x6A
#define DJI_SYM_ARROW_12 0x6B
#define DJI_SYM_ARROW_WEST 0x6C
#define DJI_SYM_ARROW_14 0x6D
#define DJI_SYM_ARROW_15 0x6E
#define DJI_SYM_ARROW_16 0x6F
#define DJI_SYM_ARROW_SMALL_UP 0x75
#define DJI_SYM_ARROW_SMALL_DOWN 0x76
#define DJI_SYM_ARROW_SMALL_RIGHT 0x77
#define DJI_SYM_ARROW_SMALL_LEFT 0x78
// AH Bars
#define DJI_SYM_AH_BAR9_0 0x80
#define DJI_SYM_AH_BAR9_1 0x81
#define DJI_SYM_AH_BAR9_2 0x82
#define DJI_SYM_AH_BAR9_3 0x83
#define DJI_SYM_AH_BAR9_4 0x84
#define DJI_SYM_AH_BAR9_5 0x85
#define DJI_SYM_AH_BAR9_6 0x86
#define DJI_SYM_AH_BAR9_7 0x87
#define DJI_SYM_AH_BAR9_8 0x88
// Progress bar
#define DJI_SYM_PB_START 0x8A
#define DJI_SYM_PB_FULL 0x8B
#define DJI_SYM_PB_HALF 0x8C
#define DJI_SYM_PB_EMPTY 0x8D
#define DJI_SYM_PB_END 0x8E
#define DJI_SYM_PB_CLOSE 0x8F
// Batt evolution
#define DJI_SYM_BATT_FULL 0x90
#define DJI_SYM_BATT_5 0x91
#define DJI_SYM_BATT_4 0x92
#define DJI_SYM_BATT_3 0x93
#define DJI_SYM_BATT_2 0x94
#define DJI_SYM_BATT_1 0x95
#define DJI_SYM_BATT_EMPTY 0x96
// Batt Icons
#define DJI_SYM_MAIN_BATT 0x97
// Voltage and amperage
#define DJI_SYM_VOLT 0x06
#define DJI_SYM_AMP 0x9A
#define DJI_SYM_MAH 0x07
#define DJI_SYM_WATT 0x57 // 0x57 is 'W'
// Time
#define DJI_SYM_ON_M 0x9B
#define DJI_SYM_FLY_M 0x9C
// Speed
#define DJI_SYM_SPEED 0x70
#define DJI_SYM_KPH 0x9E
#define DJI_SYM_MPH 0x9D
#define DJI_SYM_MPS 0x9F
#define DJI_SYM_FTPS 0x99
// Menu cursor
#define DJI_SYM_CURSOR DJI_SYM_AH_LEFT
// Stick overlays
#define DJI_SYM_STICK_OVERLAY_SPRITE_HIGH 0x08
#define DJI_SYM_STICK_OVERLAY_SPRITE_MID 0x09
#define DJI_SYM_STICK_OVERLAY_SPRITE_LOW 0x0A
#define DJI_SYM_STICK_OVERLAY_CENTER 0x0B
#define DJI_SYM_STICK_OVERLAY_VERTICAL 0x16
#define DJI_SYM_STICK_OVERLAY_HORIZONTAL 0x17
// GPS degree/minute/second symbols
#define DJI_SYM_GPS_DEGREE DJI_SYM_STICK_OVERLAY_SPRITE_HIGH // kind of looks like the degree symbol
#define DJI_SYM_GPS_MINUTE 0x27 // '
#define DJI_SYM_GPS_SECOND 0x22 // "