Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Simonstrator
API
Commits
705610de
Commit
705610de
authored
Aug 07, 2017
by
Clemens Krug
Browse files
Merge remote-tracking branch 'remotes/origin/master' into nr/debugMonitor-clemens
parents
bf1a8ca3
3628bb28
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/de/tudarmstadt/maki/simonstrator/api/component/sensor/location/LocationActuator.java
View file @
705610de
...
@@ -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
...
...
src/de/tudarmstadt/maki/simonstrator/api/component/sensor/location/LocationSensor.java
View file @
705610de
...
@@ -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.
*
*
* @see http
* Also offers access to the target attraction point
*
* @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
();
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment