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
b3a38865
Commit
b3a38865
authored
Feb 19, 2020
by
Julian Zobel
Browse files
Moved the current attraction point retrieval from the location sensor to the location actuator
parent
e35637dd
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/de/tudarmstadt/maki/simonstrator/api/component/sensor/location/LocationActuator.java
View file @
b3a38865
...
...
@@ -79,4 +79,12 @@ public interface LocationActuator extends LocationSensor {
throw
new
UnsupportedOperationException
();
}
/**
* Retrieve the targeted {@link IAttractionPoint}, representing the location
* the node is currently approaching.
*
* @return
*/
public
IAttractionPoint
getCurrentTargetAttractionPoint
();
}
src/de/tudarmstadt/maki/simonstrator/api/component/sensor/location/LocationSensor.java
View file @
b3a38865
...
...
@@ -77,12 +77,5 @@ public interface LocationSensor extends SensorComponent {
*/
public
LocationRequest
getLocationRequest
();
/**
* Retrieve the targeted {@link IAttractionPoint}, representing the location
* the node is currently approaching.
*
* @return
*/
public
IAttractionPoint
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