16,7 → 16,7 |
private int waypointCount; |
|
private int numberOfSatellites; |
private int heightByPressure; // 16 bit signed. |
private double heightByPressure; // in m. |
private int verticalVelocityByPressure; // 16 bit signed. |
|
private int flightTime; // in secs. 16 bit unsigned. |
39,7 → 39,7 |
|
private int targetLoiterTime; |
private int fcFlags2; |
private int setpointForAltitude; // 16 bit signed. |
private double setpointForAltitude; // in m. |
|
private int throttle; |
private int current; // 16 bit unsigned. |
76,7 → 76,7 |
public int getNumberOfSatellites() { |
return numberOfSatellites; |
} |
public int getHeightByPressure() { |
public double getHeightByPressure() { |
return heightByPressure; |
} |
public int getVerticalVelocityByPressure() { |
127,7 → 127,7 |
public int getFcFlags2() { |
return fcFlags2; |
} |
public int getSetpointForAltitude() { |
public double getSetpointForAltitude() { |
return setpointForAltitude; |
} |
public int getThrottle() { |
166,7 → 166,7 |
public void setNumberOfSatellites(int numberOfSatellites) { |
this.numberOfSatellites = numberOfSatellites; |
} |
public void setHeightByPressure(int heightByPressure) { |
public void _setHeightByPressure(double heightByPressure) { |
this.heightByPressure = heightByPressure; |
} |
public void setVerticalVelocityByPressure(int verticalVelocityByPressure) { |
217,7 → 217,7 |
public void setFcFlags2(int fcFlags2) { |
this.fcFlags2 = fcFlags2; |
} |
public void setSetpointForAltitude(int setpointForAltitude) { |
public void setSetpointForAltitude(double setpointForAltitude) { |
this.setpointForAltitude = setpointForAltitude; |
} |
public void setThrottle(int throttle) { |