Commit 705610de authored by Clemens Krug's avatar Clemens Krug
Browse files

Merge remote-tracking branch 'remotes/origin/master' into nr/debugMonitor-clemens

parents bf1a8ca3 3628bb28
...@@ -43,13 +43,6 @@ public interface LocationActuator extends LocationSensor { ...@@ -43,13 +43,6 @@ public interface LocationActuator extends LocationSensor {
*/ */
public void updateCurrentLocation(Location newLocation); public void updateCurrentLocation(Location newLocation);
/**
* Returns the current target {@link AttractionPoint} a node is approaching.
*
* @return
*/
public AttractionPoint getCurrentTargetAttractionPoint();
/** /**
* A way to interact with node movement from within applications and the * A way to interact with node movement from within applications and the
* like. This is an optional operation - it is expected to throw an * like. This is an optional operation - it is expected to throw an
......
...@@ -27,10 +27,13 @@ import de.tudarmstadt.maki.simonstrator.api.component.sensor.SensorComponent; ...@@ -27,10 +27,13 @@ import de.tudarmstadt.maki.simonstrator.api.component.sensor.SensorComponent;
* Android Platform. Provides access to the last known location (energy * Android Platform. Provides access to the last known location (energy
* efficient) or QoS-Specifications for regular location updates. * efficient) or QoS-Specifications for regular location updates.
* *
* Also offers access to the target attraction point
*
* @see http * @see http
* ://developer.android.com/reference/com/google/android/gms/location/package * ://developer.android.com/reference/com/google/android/gms/location/package
* -summary.html * -summary.html
* @author Bjoern Richerzhagen * @author Bjoern Richerzhagen
* @author Julian Zobel
* *
*/ */
public interface LocationSensor extends SensorComponent { public interface LocationSensor extends SensorComponent {
...@@ -74,4 +77,12 @@ public interface LocationSensor extends SensorComponent { ...@@ -74,4 +77,12 @@ public interface LocationSensor extends SensorComponent {
*/ */
public LocationRequest getLocationRequest(); public LocationRequest getLocationRequest();
/**
* Retrieve the targeted {@link AttractionPoint}, representing the location
* the node is currently approaching.
*
* @return
*/
public AttractionPoint getCurrentTargetAttractionPoint();
} }
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