File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,11 @@ const FRIENDLY_FIELD_NAMES = {
3232 "axisF[0]" : "PID Feedforward [roll]" ,
3333 "axisF[1]" : "PID Feedforward [pitch]" ,
3434 "axisF[2]" : "PID Feedforward [yaw]" ,
35+
36+ "axisS[all]" : "PID S" ,
37+ "axisS[0]" : "PID S [roll]" ,
38+ "axisS[1]" : "PID S [pitch]" ,
39+ "axisS[2]" : "PID S [yaw]" ,
3540
3641 //Virtual field
3742 "axisSum[all]" : "PID Sum" ,
@@ -1540,6 +1545,9 @@ FlightLogFieldPresenter.decodeFieldToFriendly = function (
15401545 case "axisF[0]" :
15411546 case "axisF[1]" :
15421547 case "axisF[2]" :
1548+ case "axisS[0]" :
1549+ case "axisS[1]" :
1550+ case "axisS[2]" :
15431551 return `${ flightLog . getPIDPercentage ( value ) . toFixed ( 1 ) } %` ;
15441552
15451553 case "accSmooth[0]" :
@@ -2222,6 +2230,9 @@ FlightLogFieldPresenter.ConvertFieldValue = function (
22222230 case "axisF[0]" :
22232231 case "axisF[1]" :
22242232 case "axisF[2]" :
2233+ case "axisS[0]" :
2234+ case "axisS[1]" :
2235+ case "axisS[2]" :
22252236 return toFriendly
22262237 ? flightLog . getPIDPercentage ( value )
22272238 : value / flightLog . getPIDPercentage ( 1.0 ) ;
You can’t perform that action at this time.
0 commit comments