car: add evs hal

* EVS camera HAL supports UVC USB webcams. CSI camera modules are not
  supported with EVS. CSI camera modules need to be disconnected when using
  EVS so that UVC USB webcam will populate the first video device
  (/dev/video0).
* Enable default Android camera service so regular camera apps can be used
  as well (CSI camera modules & UVC USB webcams).
* Fixes https://github.com/raspberry-vanilla/android_local_manifest/issues/23
This commit is contained in:
Konsta
2023-08-22 18:53:07 +03:00
parent 91e679f985
commit d2d71de351
3 changed files with 106 additions and 0 deletions

View File

@@ -0,0 +1,85 @@
{
"car" : {
"width" : 76.7,
"wheelBase" : 117.9,
"frontExtent" : 44.7,
"rearExtent" : 40
},
"displays" : [
{
"_comment": "Display0",
"displayPort" : 0,
"frontRange" : 100,
"rearRange" : 100
},
{
"_comment": "Display1",
"displayPort" : 1,
"frontRange" : 100,
"rearRange" : 100
}
],
"graphic" : {
"frontPixel" : -20,
"rearPixel" : 260
},
"cameras" : [
{
"cameraId" : "/dev/video0",
"function" : "reverse",
"x" : 0.0,
"y" : 20.0,
"z" : 48,
"yaw" : 180,
"pitch" : -10,
"roll" : 0,
"hfov" : 115,
"vfov" : 80,
"hflip" : true,
"vflip" : false
},
{
"cameraId" : "1",
"function" : "front",
"x" : 0.0,
"y" : 100.0,
"z" : 48,
"yaw" : 0,
"pitch" : -10,
"roll" : 0,
"hfov" : 115,
"vfov" : 80,
"hflip" : false,
"vflip" : false
},
{
"cameraId" : "2",
"function" : "right",
"x" : -25.0,
"y" : 60.0,
"z" : 88,
"yaw" : -90,
"pitch" : -10,
"roll" : 0,
"hfov" : 60,
"vfov" : 62,
"hflip" : false,
"vflip" : false
},
{
"cameraId" : "3",
"function" : "left",
"x" : 20.0,
"y" : 60.0,
"z" : 88,
"yaw" : 90,
"pitch" : -10,
"roll" : 0,
"hfov" : 60,
"vfov" : 62,
"hflip" : false,
"vflip" : false
}
]
}