Skip to content

Commit

Permalink
Refactoring: corrected typo
Browse files Browse the repository at this point in the history
  • Loading branch information
migueLoureiro committed Mar 20, 2015
1 parent 846bc79 commit b875f9b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions app/src/main/java/pt/lsts/asa/sys/Sys.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public class Sys {
//variables for auto mode
private LatLng latLng = new LatLng(0,0);//Last known lat and lon including meters offset
private float psi = 0.0f;//last known orientation from EstimatedState.psi
private Marker maker=null;//googleMap marker
private Marker marker =null;//googleMap marker
private String planID = "";//plan executing
private String paintedPlanID = "";//painted plan in GoogleMaps
private String maneuverID = "";//current maneuverID executing
Expand Down Expand Up @@ -224,12 +224,12 @@ public void setPsi(float psi) {
this.psi = psi;
}

public Marker getMaker() {
return maker;
public Marker getMarker() {
return marker;
}

public void setMaker(Marker maker) {
this.maker = maker;
public void setMarker(Marker marker) {
this.marker = marker;
}

public AutopilotMode.AUTONOMY getAutonomy() {
Expand Down Expand Up @@ -306,13 +306,13 @@ public int getPlannedAlt(){
}

public void resetVisualizations(){
setMaker(null);
setMarker(null);
setPlanID("");
setPaintedPlanID("");
}

public boolean isOnMap(){
if (getMaker()==null)
if (getMarker()==null)
return false;
return true;
}
Expand Down

0 comments on commit b875f9b

Please sign in to comment.