Commit ca2d95b7 authored by Julian Zobel's avatar Julian Zobel
Browse files

More renaming to make energy and movement moidels for UAVs more lenient.

parent a860aadf
...@@ -129,12 +129,12 @@ public class UAVTopologyComponent extends AbstractTopologyComponent implements S ...@@ -129,12 +129,12 @@ public class UAVTopologyComponent extends AbstractTopologyComponent implements S
@Override @Override
public double getMinMovementSpeed() { public double getMinMovementSpeed() {
return movement.horizontalMinVelocity(); return movement.getHorizontalMinVelocity();
} }
@Override @Override
public double getMaxMovementSpeed() { public double getMaxMovementSpeed() {
return movement.horizontalMaxVelocity(); return movement.getHorizontalMaxVelocity();
} }
@Override @Override
...@@ -285,7 +285,7 @@ public class UAVTopologyComponent extends AbstractTopologyComponent implements S ...@@ -285,7 +285,7 @@ public class UAVTopologyComponent extends AbstractTopologyComponent implements S
} }
}; };
movement.setTargetVelocity(movement.horizontalMaxVelocity()); movement.setTargetVelocity(movement.getHorizontalMaxVelocity());
movement.setTargetLocation(baseLocation, returnCallback); movement.setTargetLocation(baseLocation, returnCallback);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment