• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

Android.mkD23-Mar-20241.8 KiB8368

CarFromTop.pngD23-Mar-202427.5 KiB

ConfigManager.cppD23-Mar-20246.5 KiB189121

ConfigManager.hD23-Mar-20244.1 KiB9450

EvsStateControl.cppD23-Mar-202415.4 KiB372260

EvsStateControl.hD23-Mar-20243.3 KiB11064

EvsVehicleListener.hD23-Mar-20243 KiB8141

FormatConvert.cppD23-Mar-20246.2 KiB170103

FormatConvert.hD23-Mar-20242.8 KiB6118

LabeledChecker.pngD23-Mar-20249.1 KiB

RenderBase.cppD23-Mar-20247.5 KiB217132

RenderBase.hD23-Mar-20241.9 KiB6933

RenderDirectView.cppD23-Mar-20244.6 KiB14583

RenderDirectView.hD23-Mar-20241.5 KiB5420

RenderPixelCopy.cppD23-Mar-20245.1 KiB13487

RenderPixelCopy.hD23-Mar-20241.4 KiB5219

RenderTopView.cppD23-Mar-202412.9 KiB344213

RenderTopView.hD23-Mar-20242.1 KiB7738

StreamHandler.cppD23-Mar-20244.7 KiB16686

StreamHandler.hD23-Mar-20242.7 KiB8236

TexWrapper.cppD23-Mar-20245.9 KiB199128

TexWrapper.hD23-Mar-20241.1 KiB4218

VideoTex.cppD23-Mar-20245.8 KiB15691

VideoTex.hD23-Mar-20241.9 KiB6636

WindowSurface.cppD23-Mar-20242.5 KiB8251

WindowSurface.hD23-Mar-20241.3 KiB4714

config.jsonD23-Mar-2024481 3029

config.json.readmeD23-Mar-20242.5 KiB4341

evs_app.cppD23-Mar-20246.1 KiB172110

evs_app.rcD23-Mar-2024203 76

glError.cppD23-Mar-20242.4 KiB7655

glError.hD23-Mar-2024751 245

shader.cppD23-Mar-20244.2 KiB13794

shader.hD23-Mar-2024850 265

shader_projectedTex.hD23-Mar-20243.3 KiB6543

shader_simpleTex.hD23-Mar-20241.8 KiB4425

config.json.readme

1// With comments included, this file is no longer legal JSON, but serves to illustrate
2// the format of the configuration file the evs_app expects to read at startup to configure itself
3// for a specific car.
4// In addition to the configuration file, an image to be used to represent the car is expected
5// to be provided in CarFromTop.png.
6// Throughout this file, units of length are arbitrary, but must all be the same units.
7// X is right, Y is forward, Z is up (right handed coordinate system).
8// The origin is at the center of the read axel at ground level.
9// Units for angles are in degrees.
10// Yaw is measured from the front of the car, positive to the left (postive Z rotation).
11// Pitch is measured from the horizon, positive upward (postive X rotation).
12// Roll is always assumed to be zero.
13
14{
15  "car" : {                     // This section describes the geometry of the car
16    "width"  : 76.7,            // The width of the car body
17    "wheelBase" : 117.9,        // The distance between the front and read axel
18    "frontExtent" : 44.7,       // The extent of the car body ahead of the front axel
19    "rearExtent" : 40           // The extent of the car body behind the read axel
20  },
21  "display" : {                 // This configures the dimensions of the surround view display
22    "frontRange" : 100,         // How far to render the view in front of the front bumper
23    "rearRange" : 100           // How far the view extends behind the rear bumper
24  },
25  "graphic" : {                 // This maps the car texture into the projected view space
26    "frontPixel" : 23,          // The pixel row in CarFromTop.png at which the front bumper appears
27    "rearPixel" : 223           // The pixel row in CarFromTop.png at which the back bumper ends
28  },
29  "cameras" : [                 // This describes the cameras potentially available on the car
30    {
31      "cameraId" : "/dev/video32",  // Camera ID exposed by EVS HAL
32      "function" : "reverse,park",  // set of modes to which this camera contributes
33      "x" : 0.0,                    // Optical center distance right of vehicle center
34      "y" : -40.0,                  // Optical center distance forward of rear axel
35      "z" : 48,                     // Optical center distance above ground
36      "yaw" : 180,                  // Optical axis degrees to the left of straight ahead
37      "pitch" : -30,                // Optical axis degrees above the horizon
38      "hfov" : 125,                 // Horizontal field of view in degrees
39      "vfov" :103                   // Vertical field of view in degrees
40    }
41  ]
42}
43