+++
This commit is contained in:
@ -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);
|
||||
|
||||
|
@ -225,7 +225,7 @@ namespace DroneSimulator
|
||||
|
||||
public void Update(float value, uint time)
|
||||
{
|
||||
value = Pressure - value;
|
||||
value = Pressure - value * 12.15f;
|
||||
|
||||
if (!Enable)
|
||||
{
|
||||
|
Reference in New Issue
Block a user