aboutsummaryrefslogtreecommitdiff
path: root/mavigator-cockpit/src/main/scala/mavigator/index/ActiveVehicle.scala
diff options
context:
space:
mode:
authorJakob Odersky <jakob@odersky.com>2016-02-27 17:11:10 -0800
committerJakob Odersky <jakob@odersky.com>2016-04-14 04:03:17 -0700
commitdae336ee5514970fee93b0db25ce272ab83bd3c7 (patch)
treea628a7c02c6956d99510d98f2a0321be00b241bf /mavigator-cockpit/src/main/scala/mavigator/index/ActiveVehicle.scala
parent773bc081728bf770281a22c1700d05b1def75542 (diff)
downloadmavigator-dae336ee5514970fee93b0db25ce272ab83bd3c7.tar.gz
mavigator-dae336ee5514970fee93b0db25ce272ab83bd3c7.tar.bz2
mavigator-dae336ee5514970fee93b0db25ce272ab83bd3c7.zip
Refactor UI to a HUD-style interface
Diffstat (limited to 'mavigator-cockpit/src/main/scala/mavigator/index/ActiveVehicle.scala')
-rw-r--r--mavigator-cockpit/src/main/scala/mavigator/index/ActiveVehicle.scala3
1 files changed, 2 insertions, 1 deletions
diff --git a/mavigator-cockpit/src/main/scala/mavigator/index/ActiveVehicle.scala b/mavigator-cockpit/src/main/scala/mavigator/index/ActiveVehicle.scala
index 870d3be..7e59ed8 100644
--- a/mavigator-cockpit/src/main/scala/mavigator/index/ActiveVehicle.scala
+++ b/mavigator-cockpit/src/main/scala/mavigator/index/ActiveVehicle.scala
@@ -13,7 +13,8 @@ object ActiveVehicle {
id,
vehicleType(hb.`type`),
autopilot(hb.autopilot),
- state(hb.systemStatus))
+ state(hb.systemStatus)
+ )
def vehicleType(tpe: Int) = tpe match {
case MavType.MavTypeGeneric => "Generic"