diff --git a/libraries/jquery.flightindicators.js b/libraries/jquery.flightindicators.js index a569cce6d3..9a455923df 100644 --- a/libraries/jquery.flightindicators.js +++ b/libraries/jquery.flightindicators.js @@ -76,7 +76,7 @@ if(pitch>constants.pitch_bound){pitch = constants.pitch_bound;} else if(pitch<-constants.pitch_bound){pitch = -constants.pitch_bound;} placeholder.each(function(){ - $(this).find('div.instrument.attitude div.roll div.pitch').css('top', -pitch*0.7 + '%'); + $(this).find('div.instrument.attitude div.roll div.pitch').css('top', pitch*0.7 + '%'); }); } diff --git a/src/js/tabs/setup.js b/src/js/tabs/setup.js index 340c099b40..2b3d5097b9 100644 --- a/src/js/tabs/setup.js +++ b/src/js/tabs/setup.js @@ -480,7 +480,7 @@ setup.initModel = function () { }; setup.renderModel = function () { - const x = (FC.SENSOR_DATA.kinematics[1] * -1.0) * 0.017453292519943295, + const x = (FC.SENSOR_DATA.kinematics[1] * 1.0) * 0.017453292519943295, y = ((FC.SENSOR_DATA.kinematics[2] * -1.0) - this.yaw_fix) * 0.017453292519943295, z = (FC.SENSOR_DATA.kinematics[0] * -1.0) * 0.017453292519943295;