This commit is contained in:
2025-06-24 03:50:23 +03:00
parent 4b78b7d146
commit 0d8b03ef9a
2 changed files with 2 additions and 2 deletions

View File

@ -307,7 +307,7 @@ namespace DroneSimulator
RealAcc.Update(Acc, (uint)tick);
RealGyr.Update(Gyr, (uint)tick);
RealRange.Update(LaserRange, (uint)tick);
RealBar.Update(PosXYZ.Z * 11, (uint)tick);
RealBar.Update(PosXYZ.Z, (uint)tick);
RealPos.Update(PosXYZ, (uint)tick);
RealOF.Update(MoveOF, LaserRange, (uint)tick);

View File

@ -225,7 +225,7 @@ namespace DroneSimulator
public void Update(float value, uint time)
{
value = Pressure - value;
value = Pressure - value * 12.15f;
if (!Enable)
{