Rebuild EVS app with richer feature set
Adds support for additional data formats, multiple cameras, and lays the
foundation for GL rendered overlays.
Test: build and run on Gordon Peak with Logitech USB camera
Change-Id: I60403361a91593d4e387df67a563522547efa981
diff --git a/evs/app/config.json b/evs/app/config.json
index 791dc4e..7086fbe 100644
--- a/evs/app/config.json
+++ b/evs/app/config.json
@@ -6,8 +6,6 @@
"rearExtent" : 40
},
"display" : {
- "width" : 640,
- "height" : 480,
"frontRange" : 100,
"rearRange" : 100
},
@@ -17,39 +15,19 @@
},
"cameras" : [
{
- "name" : "rightFront",
- "x" : 36.0,
- "y" : 90.0,
- "z" : 36,
- "yaw" : -45,
- "pitch" : -25,
+ "cameraId" : "/dev/video0",
+ "function" : "reverse",
+ "x" : 0.0,
+ "y" : -40.0,
+ "z" : 48,
+ "yaw" : 180,
+ "pitch" : -10,
"hfov" : 60,
- "vfov" : 40
+ "vfov" : 42
},
{
- "name" : "rightRear",
- "function" : "right",
- "x" : 36.0,
- "y" : -10,
- "z" : 36,
- "yaw" : -135,
- "pitch" : -25,
- "hfov" : 60,
- "vfov" : 40
- },
- {
- "name" : "left",
- "function" : "left",
- "x" : -36.0,
- "y" : 80,
- "z" : 30,
- "yaw" : 90,
- "pitch" : -45,
- "hfov" : 90,
- "vfov" : 90
- },
- {
- "name" : "front",
+ "cameraId" : "/dev/video1",
+ "function" : "front",
"x" : 0.0,
"y" : 100.0,
"z" : 48,
@@ -59,15 +37,15 @@
"vfov" : 42
},
{
- "name" : "rear",
- "function" : "rear",
+ "cameraId" : "backup",
+ "function" : "reverse",
"x" : 0.0,
- "y" : -40,
- "z" : 30,
- "yaw" : 180,
- "pitch" : -45,
- "hfov" : 90,
- "vfov" : 60
+ "y" : 100.0,
+ "z" : 48,
+ "yaw" : 0,
+ "pitch" : -10,
+ "hfov" : 60,
+ "vfov" : 42
}
]
-}
\ No newline at end of file
+}