-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- removed dependency from blue theme - added new hud layout, speed on left, alt on right VSI on bottom - new message history screen with telemetry info - added support for up to 6 user selectable frsky sensors - added haptic feedback support - added total flown distance (calculated from speed) - added PX4 flight modes support - added support for mavlinkToPassthru firmware - added vocal playback of selected mavlink messages - added support for series and independent battery configurations with individual cell count override - added support for battery voltage > 51.1V - added new message alert silencing options - added menu option to define a channel to toggle between main screen and message history - added support for boat frametype - fix for quick flight mode switch - fix for rover modes vocal playback
- Loading branch information
Showing
260 changed files
with
14,905 additions
and
9,415 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
copy the content of this folder to your radio SD card |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
---------------------------------------- | ||
-- custom sensors configuration file | ||
---------------------------------------- | ||
local sensors = { | ||
-- Sensor 1 | ||
[1]= { | ||
"Celm", -- label | ||
"Celm", -- OpenTX sensor name | ||
2, -- precision: number of decimals 0,1,2 | ||
"V", -- label for unit of measure | ||
1, -- multiplier if < 1 than divides | ||
"-", -- "+" track max values, "-" track min values with | ||
2, -- font size 1=small, 2=big | ||
nil, -- warning level (nil is do not use feature) | ||
nil, -- critical level (nil is do not use feature) | ||
}, | ||
|
||
-- Sensor 2 | ||
[2]= { | ||
"Celd", -- label | ||
"Celd", -- OpenTX sensor name | ||
2, -- precision: number of decimals 0,1,2 | ||
"V", -- label for unit of measure | ||
1, -- multiplier if < 1 than divides | ||
"+", -- "+" track max values, "-" track min values with | ||
2, -- font size 1=small, 2=big | ||
nil, -- warning level (nil is do not use feature) | ||
nil, -- critical level (nil is do not use feature) | ||
}, | ||
|
||
-- Sensor 3 | ||
[3]= { | ||
"Cel4", -- label | ||
"Cel4", -- OpenTX sensor name | ||
2, -- precision: number of decimals 0,1,2 | ||
"V", -- label for unit of measure | ||
1, -- multiplier if < 1 than divides | ||
"-", -- "+" track max values, "-" track min values with | ||
2, -- font size 1=small, 2=big | ||
3.65, -- warning level (nil is do not use feature) | ||
3.30, -- critical level (nil is do not use feature) | ||
}, | ||
|
||
-- Sensor 4 | ||
[4]= { | ||
"Cel3", -- label | ||
"Cel3", -- OpenTX sensor name | ||
2, -- precision: number of decimals 0,1,2 | ||
"V", -- label for unit of measure | ||
1, -- multiplier if < 1 than divides | ||
"-", -- "+" track max values, "-" track min values with | ||
2, -- font size 1=small, 2=big | ||
3.65, -- warning level (nil is do not use feature) | ||
3.30, -- critical level (nil is do not use feature) | ||
}, | ||
|
||
-- Sensor 5 | ||
[5]= { | ||
"Cel2", -- label | ||
"Cel2", -- OpenTX sensor name | ||
2, -- precision: number of decimals 0,1,2 | ||
"V", -- label for unit of measure | ||
1, -- multiplier if < 1 than divides | ||
"-", -- "+" track max values, "-" track min values with | ||
2, -- font size 1=small, 2=big | ||
3.65, -- warning level (nil is do not use feature) | ||
3.30, -- critical level (nil is do not use feature) | ||
}, | ||
|
||
-- Sensor 6 | ||
[6]= { | ||
"Cell", -- label | ||
"Cel1", -- OpenTX sensor name | ||
2, -- precision: number of decimals 0,1,2 | ||
"V", -- label for unit of measure | ||
1, -- multiplier if < 1 than divides | ||
"-", -- "+" track max values, "-" track min values with | ||
2, -- font size 1=small, 2=big | ||
3.65, -- warning level (nil is do not use feature) | ||
3.30, -- critical level (nil is do not use feature) | ||
}, | ||
} | ||
------------------------------------------------------ | ||
-- the script can optionally look up values here | ||
-- for each sensor and display the corresponding text instead | ||
-- as an example to associate a lookup table to sensor 3 declare it like | ||
-- | ||
--local lookups = { | ||
-- [3] = { | ||
-- [-10] = "ERR", | ||
-- [0] = "OK", | ||
-- [10] = "CRIT", | ||
-- } | ||
-- } | ||
-- this would display the sensor value except when the value corresponds to one | ||
-- of entered above | ||
-- | ||
local lookups = { | ||
} | ||
|
||
collectgarbage() | ||
|
||
return { | ||
sensors=sensors,lookups=lookups | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,132 @@ | ||
---------------------------------------- | ||
-- custom sensors configuration file | ||
---------------------------------------- | ||
--[[ | ||
GRPc - residual percent | ||
GFlo - flow mL/min | ||
GMFl - max flow mL/min | ||
GAFl - avg flow mL/min | ||
GTp1 - temp 1 C° | ||
GTp2 - temp 2 C° | ||
GRPM - RPM | ||
--]] | ||
local sensors = { | ||
-- Sensor 1 | ||
[1]= { | ||
"Eng", -- label | ||
"GRPM", -- OpenTX sensor name | ||
0, -- precision: number of decimals 0,1,2 | ||
"rpm", -- label for unit of measure | ||
1, -- multiplier if < 1 than divides | ||
"+", -- "+" track max values, "-" track min values with | ||
2, -- font size 1=small, 2=big | ||
nil, -- warning level (nil is do not use feature) | ||
nil, -- critical level (nil is do not use feature) | ||
}, | ||
-- Sensor 2 | ||
[2]= { | ||
"Temp1", -- label | ||
"GTp1", -- OpenTX sensor name | ||
0, -- precision: number of decimals 0,1,2 | ||
"C", -- label for unit of measure | ||
1, -- multiplier if < 1 than divides | ||
"+", -- "+" track max values, "-" track min values with | ||
2, -- font size 1=small, 2=big | ||
nil, -- warning level (nil is do not use feature) | ||
nil, -- critical level (nil is do not use feature) | ||
}, | ||
|
||
-- Sensor 3 | ||
[3]= { | ||
"Temp2", -- label | ||
"GTp2", -- OpenTX sensor name | ||
0, -- precision: number of decimals 0,1,2 | ||
"C", -- label for unit of measure | ||
1, -- multiplier if < 1 than divides | ||
"+", -- "+" track max values, "-" track min values with | ||
2, -- font size 1=small, 2=big | ||
nil, -- warning level (nil is do not use feature) | ||
nil, -- critical level (nil is do not use feature) | ||
}, | ||
|
||
-- Sensor 4 | ||
[4]= { | ||
"Flow", -- label | ||
"GFlo", -- OpenTX sensor name | ||
0, -- precision: number of decimals 0,1,2 | ||
"mL", -- label for unit of measure | ||
1, -- multiplier if < 1 than divides | ||
"+", -- "+" track max values, "-" track min values with | ||
2, -- font size 1=small, 2=big | ||
nil, -- warning level (nil is do not use feature) | ||
nil, -- critical level (nil is do not use feature) | ||
}, | ||
|
||
-- Sensor 5 | ||
[5]= { | ||
"AFlow", -- label | ||
"GAFl", -- OpenTX sensor name | ||
0, -- precision: number of decimals 0,1,2 | ||
"mL", -- label for unit of measure | ||
1, -- multiplier if < 1 than divides | ||
"+", -- "+" track max values, "-" track min values with | ||
2, -- font size 1=small, 2=big | ||
nil, -- warning level (nil is do not use feature) | ||
nil, -- critical level (nil is do not use feature) | ||
}, | ||
|
||
-- Sensor 6 | ||
[6]= { | ||
"Fuel", -- label | ||
"GRpc", -- OpenTX sensor name | ||
0, -- precision: number of decimals 0,1,2 | ||
"%", -- label for unit of measure | ||
1, -- multiplier if < 1 than divides | ||
"+", -- "+" track max values, "-" track min values with | ||
2, -- font size 1=small, 2=big | ||
nil, -- warning level (nil is do not use feature) | ||
nil, -- critical level (nil is do not use feature) | ||
}, | ||
} | ||
------------------------------------------------------ | ||
-- the script can optionally look up values here | ||
-- for each sensor and display the corresponding text instead | ||
-- as an example to associate a lookup table to sensor 3 declare it like | ||
-- | ||
-- [3] = { | ||
-- [-10] = "ERR", | ||
-- [0] = "OK", | ||
-- [10] = "CRIT", | ||
-- } | ||
-- this would display the sensor value except when the value corresponds to one | ||
-- of entered above | ||
-- | ||
local lookups = { | ||
-- lookup 2 | ||
--[[ | ||
[6] = { | ||
[-30] = "ERROR", | ||
[-20] = "OFF", | ||
[-10] = "COOL", | ||
[-1] = "LOCK", | ||
[0] = "STOP", | ||
[10] = "RUN", | ||
[20] = "REL", | ||
[25] = "GLOW", | ||
[30] = "SPIN", | ||
[40] = "FIRE", | ||
[45] = "IGNT", | ||
[50] = "HEAT", | ||
[60] = "ACCE", | ||
[65] = "CAL", | ||
[70] = "IDLE", | ||
}, | ||
--]] | ||
} | ||
|
||
collectgarbage() | ||
|
||
return { | ||
sensors=sensors,lookups=lookups | ||
} |
129 changes: 129 additions & 0 deletions
129
HORUS/SD/SCRIPTS/YAAPU/CFG/examples/kerojet_sensors.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,129 @@ | ||
---------------------------------------- | ||
-- custom sensors configuration file | ||
---------------------------------------- | ||
--[[ | ||
S1:Pump,A4,2,V,1,+,1, | ||
S2:Fuel,Fuel,0,ml,1,+,1, | ||
S3:ENG,RPM,0,krpm,100,+,1, | ||
S4:EGT,Tmp1,0,C,1,+,1, | ||
S5:THRO,Thro,0,%,1,+,1, | ||
S6:Status,Tmp2,0,C,1,-,1 | ||
--]] | ||
local sensors = { | ||
-- Sensor 1 | ||
{ | ||
"Pump", -- label | ||
"A4", -- OpenTX sensor name | ||
2, -- precision: number of decimals 0,1,2 | ||
"V", -- label for unit of measure | ||
1, -- multiplier if < 1 than divides | ||
"+", -- "+" track max values, "-" track min values with | ||
1, -- font size 1=small, 2=big | ||
5, -- warning level (nil is do not use feature) | ||
10, -- critical level (nil is do not use feature) | ||
}, | ||
|
||
-- Sensor 2 | ||
{ | ||
"Fuel", -- label | ||
"Fuel", -- OpenTX sensor name | ||
0, -- precision: number of decimals 0,1,2 | ||
"mL", -- label for unit of measure | ||
1, -- multiplier if < 1 than divides | ||
"+", -- "+" track max values, "-" track min values | ||
1, -- font size 1=small, 2=big | ||
1000, -- warning level | ||
2000, -- critical level | ||
}, | ||
|
||
-- Sensor 3 | ||
{ | ||
"ENG", -- label | ||
"RPM", -- OpenTX sensor name | ||
2, -- precision: number of decimals 0,1,2 | ||
"krpm", -- label for unit of measure | ||
0.001, -- multiplier if < 1 than divides | ||
"+", -- "+" track max values, "-" track min values with | ||
2, -- font size 1=small, 2=big | ||
1000, -- warning level | ||
2000, -- critical value | ||
}, | ||
|
||
-- Sensor 4 | ||
{ | ||
"EGT", -- label | ||
"Tmp1", -- OpenTX sensor name | ||
0, -- precision: number of decimals 0,1,2 | ||
"C", -- label for unit of measure | ||
1, -- multiplier if < 1 than divides | ||
"+", -- "+" track max values, "-" track min values with | ||
2, -- font size 1=small, 2=big | ||
100, -- warning level | ||
200, -- critical level | ||
}, | ||
|
||
-- Sensor 5 | ||
{ | ||
"THRO", -- label | ||
"Thro", -- OpenTX sensor name | ||
0, -- precision: number of decimals 0,1,2 | ||
"%", -- label for unit of measure | ||
1, -- multiplier if < 1 than divides | ||
"+", -- "+" track max values, "-" track min values with | ||
2, -- font size 1=small, 2=big | ||
90, -- warning level | ||
100, -- critical level | ||
}, | ||
|
||
-- Sensor 6 | ||
{ | ||
"Status", -- label | ||
"Tmp2", -- OpenTX sensor name | ||
0, -- precision: number of decimals 0,1,2 | ||
"", -- label for unit of measure | ||
1, -- multiplier if < 1 than divides | ||
"+", -- "+" track max values, "-" track min values with | ||
2, -- font size 1=small, 2=big | ||
100, -- warning level | ||
100, -- critical level | ||
}, | ||
} | ||
------------------------------------------------------ | ||
-- the script can optionally look up values here | ||
-- for each sensor and display the corresponding text instead | ||
-- as an example to associate a lookup table to sensor 3 declare it like | ||
-- | ||
-- [3] = { | ||
-- [-10] = "ERR", | ||
-- [0] = "OK", | ||
-- [10] = "CRIT", | ||
-- } | ||
-- this would display the sensor value except when the value corresponds to one | ||
-- of entered above | ||
-- | ||
local lookups = { | ||
-- lookup 2 | ||
[6] = { | ||
[-30] = "ERROR", | ||
[-20] = "OFF", | ||
[-10] = "COOL", | ||
[-1] = "LOCK", | ||
[0] = "STOP", | ||
[10] = "RUN", | ||
[20] = "REL", | ||
[25] = "GLOW", | ||
[30] = "SPIN", | ||
[40] = "FIRE", | ||
[45] = "IGNT", | ||
[50] = "HEAT", | ||
[60] = "ACCE", | ||
[65] = "CAL", | ||
[70] = "IDLE", | ||
}, | ||
} | ||
|
||
collectgarbage() | ||
|
||
return { | ||
sensors=sensors,lookups=lookups | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
L1:2,V1:375,V2:350,B1:0,B2:0,S1:1,S2:1,S3:1,VS:1,T1:0,A1:0,A2:0,D1:0,T2:10,CC:0,RM:0,SVS:1,HS:2 | ||
L1:1,V1:375,V2:350,B1:300,B2:0,S1:1,S2:1,VIBR:1,VS:1,T1:0,A1:0,A2:0,D1:0,T2:10,BC:1,CC:0,CC2:0,RM:0,SVS:1,HSPD:1,VSPD:1,WL:1,CPANE:3,RPANE:1,LPANE:1,PX4:1 |
Oops, something went wrong.