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
be8335ae
Commit
be8335ae
authored
Mar 26, 2019
by
Julian Zobel
Browse files
Metrics anbd UAV Control adaptions
parent
7c740499
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/de/tudarmstadt/maki/simonstrator/api/common/metric/Metric.java
View file @
be8335ae
...
@@ -50,7 +50,7 @@ public interface Metric<M extends MetricValue<?>> {
...
@@ -50,7 +50,7 @@ public interface Metric<M extends MetricValue<?>> {
*/
*/
public
enum
MetricUnit
{
public
enum
MetricUnit
{
NONE
(
""
),
TRAFFIC
(
"byte/s"
),
TIME
(
"us"
),
DATA
(
NONE
(
""
),
TRAFFIC
(
"byte/s"
),
TIME
(
"us"
),
DATA
(
"byte"
),
UNKNOWN
(
"unknown"
);
"byte"
),
UNKNOWN
(
"unknown"
)
,
JOULE
(
"J"
)
;
private
final
String
representation
;
private
final
String
representation
;
...
...
src/de/tudarmstadt/maki/simonstrator/api/uavsupport/UAVControl.java
View file @
be8335ae
...
@@ -21,6 +21,7 @@
...
@@ -21,6 +21,7 @@
package
de.tudarmstadt.maki.simonstrator.api.uavsupport
;
package
de.tudarmstadt.maki.simonstrator.api.uavsupport
;
import
de.tudarmstadt.maki.simonstrator.api.Host
;
import
de.tudarmstadt.maki.simonstrator.api.component.network.NetworkComponent.NetInterfaceName
;
import
de.tudarmstadt.maki.simonstrator.api.component.network.NetworkComponent.NetInterfaceName
;
import
de.tudarmstadt.maki.simonstrator.api.component.overlay.OverlayContact
;
import
de.tudarmstadt.maki.simonstrator.api.component.overlay.OverlayContact
;
import
de.tudarmstadt.maki.simonstrator.api.component.overlay.OverlayMessage
;
import
de.tudarmstadt.maki.simonstrator.api.component.overlay.OverlayMessage
;
...
@@ -67,4 +68,6 @@ public interface UAVControl extends CommunicationInterfaceListener {
...
@@ -67,4 +68,6 @@ public interface UAVControl extends CommunicationInterfaceListener {
* transmitting all cached messages directly)
* transmitting all cached messages directly)
*/
*/
public
void
strategyTerminated
();
public
void
strategyTerminated
();
public
Host
getHost
();
}
}
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