hfl_configs.h
Go to the documentation of this file.
1 // Copyright 2020 Continental AG
2 // All rights reserved.
3 //
4 // Software License Agreement (BSD 2-Clause Simplified License)
5 //
6 // Redistribution and use in source and binary forms, with or without
7 // modification, are permitted provided that the following conditions
8 // are met:
9 //
10 // * Redistributions of source code must retain the above copyright
11 // notice, this list of conditions and the following disclaimer.
12 // * Redistributions in binary form must reproduce the above
13 // copyright notice, this list of conditions and the following
14 // disclaimer in the documentation and/or other materials provided
15 // with the distribution.
16 //
17 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
20 // FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
21 // COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
22 // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
23 // BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24 // LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
25 // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
27 // ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28 // POSSIBILITY OF SUCH DAMAGE.
29 
30 
36 #ifndef HFL_CONFIGS_H_
37 #define HFL_CONFIGS_H_
38 
39 #include <iostream>
40 #include <string>
41 #include <functional>
42 #include <vector>
43 #include <map>
44 #include <memory>
45 #include <utility>
46 
47 namespace hfl
48 {
50 using Attribs_map = std::map<std::string, float>;
51 
53 using Configs_map = std::map<std::string, Attribs_map>;
54 
56 using Setups_map = std::map<std::string, Configs_map>;
57 
59 using Regs_bits_vec = std::vector<std::pair<std::string, int>>;
60 
62 using Registers_map = std::map<std::string, Regs_bits_vec>;
63 
66 {
67  { "hfl110dcu", {} }
68 };
69 
72 {
73  { "hfl110dcuv1",
74  {
75  { "RI",
76  {
77  { "start_address", 0x00000000 }
78  }
79  }
80  }
81  }
82  // Insert new camera models here
83 };
84 
87 {
88  { "hfl110dcuv1",
89  {
90  // BLANK
91  }
92  }
93 };
94 
95 } // namespace hfl
96 
97 #endif // HFL_CONFIGS_H_
std::map< std::string, Attribs_map > Configs_map
Camera modes map.
Definition: hfl_configs.h:53
std::map< std::string, Configs_map > Setups_map
HFL cameras map.
Definition: hfl_configs.h:56
const Configs_map REGS_OFFSET_ADDRS
HFL cameras register addresses.
Definition: hfl_configs.h:66
const Registers_map MODE_REGISTERS
HFL cameras mode registers.
Definition: hfl_configs.h:86
std::map< std::string, Regs_bits_vec > Registers_map
Cameras registers map.
Definition: hfl_configs.h:62
const Setups_map CAMERA_MODELS
HFL cameras memory maps and parameters.
Definition: hfl_configs.h:71
std::vector< std::pair< std::string, int >> Regs_bits_vec
Register bit&#39;s values vector.
Definition: hfl_configs.h:59
std::map< std::string, float > Attribs_map
Mode parameters map.
Definition: hfl_configs.h:50


hfl_driver
Author(s): Evan Flynn , Maxton Ginier , Gerardo Bravo , Moises Diaz
autogenerated on Sat Mar 20 2021 02:27:31