Apollo 10.0
自动驾驶开放平台
apollo::localization::msf::LossyMapMatrix2D类 参考

#include <lossy_map_matrix_2d.h>

类 apollo::localization::msf::LossyMapMatrix2D 继承关系图:
apollo::localization::msf::LossyMapMatrix2D 的协作图:

Public 成员函数

 LossyMapMatrix2D ()
 
 ~LossyMapMatrix2D ()
 
 LossyMapMatrix2D (const LossyMapMatrix2D &matrix)
 
virtual void Init (const BaseMapConfig *config)
 Initialize the map matrix.
 
virtual void Reset (const BaseMapConfig *config)
 Reset map cells data.
 
void Init (unsigned int rows, unsigned int cols)
 
void Reset (unsigned int rows, unsigned int cols)
 
virtual unsigned int LoadBinary (unsigned char *buf)
 Load the map cell from a binary chunk.
 
virtual unsigned int CreateBinary (unsigned char *buf, unsigned int buf_size) const
 Create the binary.
 
virtual unsigned int GetBinarySize () const
 Get the binary size of the object.
 
virtual void GetIntensityImg (cv::Mat *intensity_img) const
 get intensity image of node.
 
LossyMapCell2Doperator[] (int row)
 
const LossyMapCell2Doperator[] (int row) const
 
LossyMapMatrix2Doperator= (const LossyMapMatrix2D &matrix)
 
- Public 成员函数 继承自 apollo::localization::msf::BaseMapMatrix
 BaseMapMatrix ()
 The default constructor.
 
virtual ~BaseMapMatrix ()
 The deconstructor.
 
 BaseMapMatrix (const BaseMapMatrix &cell)
 The copy constructor.
 

Protected 成员函数

unsigned char EncodeIntensity (const LossyMapCell2D &cell) const
 
void DecodeIntensity (unsigned char data, LossyMapCell2D *cell) const
 
uint16_t EncodeVar (const LossyMapCell2D &cell) const
 
void DecodeVar (uint16_t data, LossyMapCell2D *cell) const
 
uint16_t EncodeAltitudeGround (const LossyMapCell2D &cell) const
 
void DecodeAltitudeGround (uint16_t data, LossyMapCell2D *cell) const
 
uint16_t EncodeAltitudeAvg (const LossyMapCell2D &cell) const
 
void DecodeAltitudeAvg (uint16_t data, LossyMapCell2D *cell) const
 
unsigned char EncodeCount (const LossyMapCell2D &cell) const
 
void DecodeCount (unsigned char data, LossyMapCell2D *cell) const
 

Protected 属性

unsigned int rows_
 The number of rows.
 
unsigned int cols_
 The number of columns.
 
LossyMapCell2Dmap_cells_
 The matrix data structure.
 
const int var_range_ = 1023
 
const int var_ratio_ = 4
 
const float alt_ground_interval_ = 0.04f
 
const uint16_t ground_void_flag_ = 0xffff
 
const float alt_avg_interval_ = 0.04f
 
const int count_range_ = 2
 
float alt_avg_min_
 
float alt_avg_max_
 
float alt_ground_min_
 
float alt_ground_max_
 

详细描述

在文件 lossy_map_matrix_2d.h59 行定义.

构造及析构函数说明

◆ LossyMapMatrix2D() [1/2]

apollo::localization::msf::LossyMapMatrix2D::LossyMapMatrix2D ( )

在文件 lossy_map_matrix_2d.cc50 行定义.

50 {
51 rows_ = 0;
52 cols_ = 0;
53 map_cells_ = nullptr;
54}
unsigned int cols_
The number of columns.
LossyMapCell2D * map_cells_
The matrix data structure.

◆ ~LossyMapMatrix2D()

apollo::localization::msf::LossyMapMatrix2D::~LossyMapMatrix2D ( )

在文件 lossy_map_matrix_2d.cc56 行定义.

56 {
57 if (map_cells_) {
58 delete[] map_cells_;
59 }
60 rows_ = 0;
61 cols_ = 0;
62}

◆ LossyMapMatrix2D() [2/2]

apollo::localization::msf::LossyMapMatrix2D::LossyMapMatrix2D ( const LossyMapMatrix2D matrix)

在文件 lossy_map_matrix_2d.cc64 行定义.

65 : BaseMapMatrix(matrix), map_cells_(NULL) {
66 Init(matrix.rows_, matrix.cols_);
67 for (unsigned int y = 0; y < rows_; ++y) {
68 for (unsigned int x = 0; x < cols_; ++x) {
69 map_cells_[y * cols_ + x] = matrix[y][x];
70 }
71 }
72}
virtual void Init(const BaseMapConfig *config)
Initialize the map matrix.

成员函数说明

◆ CreateBinary()

unsigned int apollo::localization::msf::LossyMapMatrix2D::CreateBinary ( unsigned char *  buf,
unsigned int  buf_size 
) const
virtual

Create the binary.

Serialization of the object.

参数
<buf,buf_size>The buffer and its size.
<return>The required or the used size of is returned.

实现了 apollo::localization::msf::BaseMapMatrix.

在文件 lossy_map_matrix_2d.cc306 行定义.

307 {
308 unsigned int target_size = GetBinarySize();
309 if (buf_size >= target_size) {
310 unsigned int* p = reinterpret_cast<unsigned int*>(buf);
311 *p = rows_;
312 ++p;
313 *p = cols_;
314 ++p;
315 buf_size -= static_cast<unsigned int>(sizeof(unsigned int) * 2);
316
317 float* pf = reinterpret_cast<float*>(reinterpret_cast<void*>(p));
318 alt_avg_min_ = 1e8;
319 alt_avg_max_ = -1e8;
320 for (unsigned int y = 0; y < rows_; ++y) {
321 for (unsigned int x = 0; x < cols_; ++x) {
322 const LossyMapCell2D& cell = map_cells_[y * cols_ + x];
323 if (cell.count == 0) {
324 continue;
325 }
326 if (cell.altitude > alt_avg_max_) {
327 alt_avg_max_ = cell.altitude;
328 }
329 if (cell.altitude < alt_avg_min_) {
330 alt_avg_min_ = cell.altitude;
331 }
332 }
333 }
334 *pf = alt_avg_min_;
335 ++pf;
336 *pf = alt_avg_max_;
337 ++pf;
338 buf_size -= static_cast<unsigned int>(sizeof(float) * 2);
339
340 alt_ground_min_ = 1e8;
341 alt_ground_max_ = -1e8;
342 for (unsigned int y = 0; y < rows_; ++y) {
343 for (unsigned int x = 0; x < cols_; ++x) {
344 const LossyMapCell2D& cell = map_cells_[y * cols_ + x];
345 if (!cell.is_ground_useful) {
346 continue;
347 }
348 if (cell.altitude_ground > alt_ground_max_) {
350 }
351 if (cell.altitude_ground < alt_ground_min_) {
352 alt_ground_min_ = cell.altitude_ground;
353 }
354 }
355 }
356 *pf = alt_ground_min_;
357 ++pf;
358 *pf = alt_ground_max_;
359 ++pf;
360 buf_size -= static_cast<unsigned int>(sizeof(float) * 2);
361
362 unsigned char* pp = reinterpret_cast<unsigned char*>(pf);
363 // count
364 for (unsigned int row = 0; row < rows_; ++row) {
365 for (unsigned int col = 0; col < cols_; ++col) {
366 pp[row * cols_ + col] = EncodeCount(map_cells_[row * cols_ + col]);
367 }
368 }
369 pp += rows_ * cols_;
370
371 // intensity
372 for (unsigned int row = 0; row < rows_; ++row) {
373 for (unsigned int col = 0; col < cols_; ++col) {
374 pp[row * cols_ + col] = EncodeIntensity(map_cells_[row * cols_ + col]);
375 }
376 }
377 pp += rows_ * cols_;
378
379 // intensity_var
380 unsigned char* pp_low = pp + rows_ * cols_;
381 unsigned char* pp_high = pp;
382 for (unsigned int row = 0; row < rows_; ++row) {
383 for (unsigned int col = 0; col < cols_; ++col) {
384 uint16_t var = EncodeVar(map_cells_[row * cols_ + col]);
385 pp_high[row * cols_ + col] = static_cast<unsigned char>(var / 256);
386 pp_low[row * cols_ + col] = static_cast<unsigned char>(var % 256);
387 }
388 }
389 pp += 2 * rows_ * cols_;
390
391 // altitude_avg
392 pp_low = pp + rows_ * cols_;
393 pp_high = pp;
394 for (unsigned int row = 0; row < rows_; ++row) {
395 for (unsigned int col = 0; col < cols_; ++col) {
396 uint16_t altitude = 0.0;
397 if (map_cells_[row * cols_ + col].count > 0) {
398 altitude = EncodeAltitudeAvg(map_cells_[row * cols_ + col]);
399 }
400 pp_high[row * cols_ + col] = static_cast<unsigned char>(altitude / 256);
401 pp_low[row * cols_ + col] = static_cast<unsigned char>(altitude % 256);
402 }
403 }
404 pp += 2 * rows_ * cols_;
405
406 // altitude_ground
407 pp_low = pp + rows_ * cols_;
408 pp_high = pp;
409 for (unsigned int row = 0; row < rows_; ++row) {
410 for (unsigned int col = 0; col < cols_; ++col) {
411 uint16_t altitude = ground_void_flag_;
412 if (map_cells_[row * cols_ + col].is_ground_useful) {
413 altitude = EncodeAltitudeGround(map_cells_[row * cols_ + col]);
414 }
415 pp_high[row * cols_ + col] = static_cast<unsigned char>(altitude / 256);
416 pp_low[row * cols_ + col] = static_cast<unsigned char>(altitude % 256);
417 }
418 }
419 // TODO(Localization): remove this line
420 // pp += 2 * rows_ * cols_;
421 }
422 return target_size;
423}
unsigned char EncodeCount(const LossyMapCell2D &cell) const
uint16_t EncodeVar(const LossyMapCell2D &cell) const
uint16_t EncodeAltitudeAvg(const LossyMapCell2D &cell) const
uint16_t EncodeAltitudeGround(const LossyMapCell2D &cell) const
unsigned char EncodeIntensity(const LossyMapCell2D &cell) const
virtual unsigned int GetBinarySize() const
Get the binary size of the object.
float altitude_ground
The ground altitude of the cell.
float altitude
The average altitude of the cell.

◆ DecodeAltitudeAvg()

void apollo::localization::msf::LossyMapMatrix2D::DecodeAltitudeAvg ( uint16_t  data,
LossyMapCell2D cell 
) const
inlineprotected

在文件 lossy_map_matrix_2d.cc186 行定义.

187 {
188 float ratio = data;
189 cell->altitude = alt_avg_min_ + ratio * alt_avg_interval_;
190}

◆ DecodeAltitudeGround()

void apollo::localization::msf::LossyMapMatrix2D::DecodeAltitudeGround ( uint16_t  data,
LossyMapCell2D cell 
) const
inlineprotected

在文件 lossy_map_matrix_2d.cc167 行定义.

168 {
169 float ratio = data;
170 cell->altitude_ground = alt_ground_min_ + ratio * alt_ground_interval_;
171}

◆ DecodeCount()

void apollo::localization::msf::LossyMapMatrix2D::DecodeCount ( unsigned char  data,
LossyMapCell2D cell 
) const
inlineprotected

在文件 lossy_map_matrix_2d.cc205 行定义.

206 {
207 int count_exp = data;
208 if (count_exp == 0) {
209 cell->count = count_exp;
210 } else {
211 cell->count = 1 << (count_exp - 1);
212 }
213}

◆ DecodeIntensity()

void apollo::localization::msf::LossyMapMatrix2D::DecodeIntensity ( unsigned char  data,
LossyMapCell2D cell 
) const
inlineprotected

在文件 lossy_map_matrix_2d.cc126 行定义.

127 {
128 cell->intensity = data;
129}

◆ DecodeVar()

void apollo::localization::msf::LossyMapMatrix2D::DecodeVar ( uint16_t  data,
LossyMapCell2D cell 
) const
inlineprotected

在文件 lossy_map_matrix_2d.cc146 行定义.

146 {
147 float var = data;
148 var = static_cast<float>((static_cast<const float>(var_range_) / var - 1.0) /
149 static_cast<const float>(var_ratio_));
150 cell->intensity_var = var * var;
151}

◆ EncodeAltitudeAvg()

uint16_t apollo::localization::msf::LossyMapMatrix2D::EncodeAltitudeAvg ( const LossyMapCell2D cell) const
inlineprotected

在文件 lossy_map_matrix_2d.cc173 行定义.

173 {
174 float delta_alt = cell.altitude - alt_avg_min_;
175 delta_alt /= alt_avg_interval_;
176 int ratio = static_cast<int>(delta_alt + 0.5);
177 if (ratio > 0xffff) {
178 ratio = 0xffff;
179 }
180 if (ratio < 0) {
181 ratio = 0;
182 }
183 return static_cast<uint16_t>(ratio);
184}

◆ EncodeAltitudeGround()

uint16_t apollo::localization::msf::LossyMapMatrix2D::EncodeAltitudeGround ( const LossyMapCell2D cell) const
inlineprotected

在文件 lossy_map_matrix_2d.cc153 行定义.

154 {
155 float delta_alt = cell.altitude_ground - alt_ground_min_;
156 delta_alt /= alt_ground_interval_;
157 int ratio = static_cast<int>(delta_alt + 0.5);
158 if (ratio >= ground_void_flag_) {
159 ratio = ground_void_flag_ - 1;
160 }
161 if (ratio < 0) {
162 ratio = 0;
163 }
164 return static_cast<uint16_t>(ratio);
165}

◆ EncodeCount()

unsigned char apollo::localization::msf::LossyMapMatrix2D::EncodeCount ( const LossyMapCell2D cell) const
inlineprotected

在文件 lossy_map_matrix_2d.cc192 行定义.

192 {
193 int count_exp = 0;
194 int count_tmp = cell.count;
195 while (count_tmp > 0) {
196 ++count_exp;
197 count_tmp /= 2;
198 }
199 if (count_exp > count_range_) {
200 count_exp = count_range_;
201 }
202 return static_cast<unsigned char>(count_exp);
203}

◆ EncodeIntensity()

unsigned char apollo::localization::msf::LossyMapMatrix2D::EncodeIntensity ( const LossyMapCell2D cell) const
inlineprotected

在文件 lossy_map_matrix_2d.cc114 行定义.

115 {
116 int intensity = static_cast<int>(cell.intensity);
117 if (intensity > 255) {
118 intensity = 255;
119 }
120 if (intensity < 0) {
121 intensity = 0;
122 }
123 return static_cast<unsigned char>(intensity);
124}

◆ EncodeVar()

uint16_t apollo::localization::msf::LossyMapMatrix2D::EncodeVar ( const LossyMapCell2D cell) const
inlineprotected

在文件 lossy_map_matrix_2d.cc131 行定义.

131 {
132 float var = cell.intensity_var;
133 var = std::sqrt(var);
134 int intensity_var =
135 static_cast<int>(static_cast<const float>(var_range_) /
136 (var * static_cast<const float>(var_ratio_) + 1.0));
137 if (intensity_var > var_range_) {
138 intensity_var = var_range_;
139 }
140 if (intensity_var < 1) {
141 intensity_var = 1;
142 }
143 return static_cast<uint16_t>(intensity_var);
144}

◆ GetBinarySize()

unsigned int apollo::localization::msf::LossyMapMatrix2D::GetBinarySize ( ) const
virtual

Get the binary size of the object.

实现了 apollo::localization::msf::BaseMapMatrix.

在文件 lossy_map_matrix_2d.cc425 行定义.

425 {
426 unsigned int target_size =
427 static_cast<unsigned int>(sizeof(unsigned int) * 2 + sizeof(float) * 4);
428 // count, intensity, intensity_var, altitude_avg, altitude_ground
429 target_size += static_cast<unsigned int>(
430 rows_ * cols_ *
431 (sizeof(unsigned char) + sizeof(unsigned char) + sizeof(uint16_t) +
432 sizeof(uint16_t) + sizeof(uint16_t)));
433 return target_size;
434}

◆ GetIntensityImg()

void apollo::localization::msf::LossyMapMatrix2D::GetIntensityImg ( cv::Mat *  intensity_img) const
virtual

get intensity image of node.

实现了 apollo::localization::msf::BaseMapMatrix.

在文件 lossy_map_matrix_2d.cc436 行定义.

436 {
437 *intensity_img = cv::Mat(cv::Size(cols_, rows_), CV_8UC1);
438
439 for (unsigned int y = 0; y < rows_; ++y) {
440 for (unsigned int x = 0; x < cols_; ++x) {
441 unsigned int id = y * cols_ + x;
442 intensity_img->at<unsigned char>(y, x) =
443 (unsigned char)(map_cells_[id].intensity);
444 }
445 }
446}
float intensity
The average intensity value.

◆ Init() [1/2]

void apollo::localization::msf::LossyMapMatrix2D::Init ( const BaseMapConfig config)
virtual

Initialize the map matrix.

实现了 apollo::localization::msf::BaseMapMatrix.

在文件 lossy_map_matrix_2d.cc84 行定义.

84 {
85 unsigned int rows = config->map_node_size_y_;
86 unsigned int cols = config->map_node_size_x_;
87 if (rows_ == rows && cols_ == cols) {
88 return;
89 }
90 Init(rows, cols);
91}

◆ Init() [2/2]

void apollo::localization::msf::LossyMapMatrix2D::Init ( unsigned int  rows,
unsigned int  cols 
)

在文件 lossy_map_matrix_2d.cc93 行定义.

93 {
94 if (map_cells_) {
95 delete[] map_cells_;
96 map_cells_ = nullptr;
97 }
98 map_cells_ = new LossyMapCell2D[rows * cols];
99 rows_ = rows;
100 cols_ = cols;
101}

◆ LoadBinary()

unsigned int apollo::localization::msf::LossyMapMatrix2D::LoadBinary ( unsigned char *  buf)
virtual

Load the map cell from a binary chunk.

参数
<return>The size read (the real size of object).

实现了 apollo::localization::msf::BaseMapMatrix.

在文件 lossy_map_matrix_2d.cc215 行定义.

215 {
216 unsigned int* p = reinterpret_cast<unsigned int*>(buf);
217 rows_ = *p;
218 ++p;
219 cols_ = *p;
220 ++p;
221 // std::cerr << "rows: " << rows_ << ", clos: " << cols_ << std::endl;
222 float* pf = reinterpret_cast<float*>(reinterpret_cast<void*>(p));
223 alt_avg_min_ = *pf;
224 ++pf;
225 alt_avg_max_ = *pf;
226 ++pf;
227 // std::cerr << "alt_min: " << alt_avg_min_ << ", alt_max: " << alt_avg_max_
228 // << std::endl;
229 alt_ground_min_ = *pf;
230 ++pf;
231 alt_ground_max_ = *pf;
232 ++pf;
233 // std::cerr << "alt_min: " << _alt_min << ", alt_max: " << _alt_max <<
234 // std::endl;
235
236 Init(rows_, cols_);
237
238 unsigned char* pp = reinterpret_cast<unsigned char*>(pf);
239 // count
240 for (unsigned int row = 0; row < rows_; ++row) {
241 for (unsigned int col = 0; col < cols_; ++col) {
242 DecodeCount(pp[row * cols_ + col], &map_cells_[row * cols_ + col]);
243 }
244 }
245 pp += rows_ * cols_;
246
247 // intensity
248 for (unsigned int row = 0; row < rows_; ++row) {
249 for (unsigned int col = 0; col < cols_; ++col) {
250 DecodeIntensity(pp[row * cols_ + col], &map_cells_[row * cols_ + col]);
251 }
252 }
253 pp += rows_ * cols_;
254
255 // intensity_var
256 unsigned char* pp_low = pp + rows_ * cols_;
257 unsigned char* pp_high = pp;
258 for (unsigned int row = 0; row < rows_; ++row) {
259 for (unsigned int col = 0; col < cols_; ++col) {
260 uint16_t var = pp_high[row * cols_ + col];
261 var = static_cast<uint16_t>(var * 256 + pp_low[row * cols_ + col]);
262 DecodeVar(var, &map_cells_[row * cols_ + col]);
263 }
264 }
265 pp += 2 * rows_ * cols_;
266
267 // altitude_avg
268 pp_low = pp + rows_ * cols_;
269 pp_high = pp;
270 for (unsigned int row = 0; row < rows_; ++row) {
271 for (unsigned int col = 0; col < cols_; ++col) {
272 uint16_t alt = pp_high[row * cols_ + col];
273 alt = static_cast<uint16_t>(alt * 256 + pp_low[row * cols_ + col]);
274 LossyMapCell2D& cell = map_cells_[row * cols_ + col];
275 if (cell.count > 0) {
276 DecodeAltitudeAvg(alt, &cell);
277 } else {
278 cell.altitude = 0.0;
279 }
280 }
281 }
282 pp += 2 * rows_ * cols_;
283 // altitude_ground
284 pp_low = pp + rows_ * cols_;
285 pp_high = pp;
286 for (unsigned int row = 0; row < rows_; ++row) {
287 for (unsigned int col = 0; col < cols_; ++col) {
288 uint16_t alt = pp_high[row * cols_ + col];
289 alt = static_cast<uint16_t>(alt * 256 + pp_low[row * cols_ + col]);
290 LossyMapCell2D& cell = map_cells_[row * cols_ + col];
291 if (alt == ground_void_flag_) {
292 cell.is_ground_useful = false;
293 cell.altitude_ground = 0.0;
294 } else {
295 cell.is_ground_useful = true;
296 DecodeAltitudeGround(alt, &cell);
297 }
298 }
299 }
300 // TODO(Localization): remove this line
301 // pp += 2 * rows_ * cols_;
302
303 return GetBinarySize();
304}
void DecodeCount(unsigned char data, LossyMapCell2D *cell) const
void DecodeAltitudeGround(uint16_t data, LossyMapCell2D *cell) const
void DecodeVar(uint16_t data, LossyMapCell2D *cell) const
void DecodeAltitudeAvg(uint16_t data, LossyMapCell2D *cell) const
void DecodeIntensity(unsigned char data, LossyMapCell2D *cell) const
bool is_ground_useful
is ground altitude usefu

◆ operator=()

LossyMapMatrix2D & apollo::localization::msf::LossyMapMatrix2D::operator= ( const LossyMapMatrix2D matrix)

在文件 lossy_map_matrix_2d.cc74 行定义.

74 {
75 Init(matrix.rows_, matrix.cols_);
76 for (unsigned int y = 0; y < rows_; ++y) {
77 for (unsigned int x = 0; x < cols_; ++x) {
78 map_cells_[y * cols_ + x] = matrix[y][x];
79 }
80 }
81 return *this;
82}

◆ operator[]() [1/2]

LossyMapCell2D * apollo::localization::msf::LossyMapMatrix2D::operator[] ( int  row)
inline

在文件 lossy_map_matrix_2d.h87 行定义.

87 {
88 return map_cells_ + row * cols_;
89 }

◆ operator[]() [2/2]

const LossyMapCell2D * apollo::localization::msf::LossyMapMatrix2D::operator[] ( int  row) const
inline

在文件 lossy_map_matrix_2d.h90 行定义.

90 {
91 return map_cells_ + row * cols_;
92 }

◆ Reset() [1/2]

void apollo::localization::msf::LossyMapMatrix2D::Reset ( const BaseMapConfig config)
virtual

Reset map cells data.

实现了 apollo::localization::msf::BaseMapMatrix.

在文件 lossy_map_matrix_2d.cc103 行定义.

103 {
104 Reset(config->map_node_size_y_, config->map_node_size_x_);
105}
virtual void Reset(const BaseMapConfig *config)
Reset map cells data.

◆ Reset() [2/2]

void apollo::localization::msf::LossyMapMatrix2D::Reset ( unsigned int  rows,
unsigned int  cols 
)

在文件 lossy_map_matrix_2d.cc107 行定义.

107 {
108 unsigned int length = rows * cols;
109 for (unsigned int i = 0; i < length; ++i) {
110 map_cells_[i].Reset();
111 }
112}

类成员变量说明

◆ alt_avg_interval_

const float apollo::localization::msf::LossyMapMatrix2D::alt_avg_interval_ = 0.04f
protected

在文件 lossy_map_matrix_2d.h120 行定义.

◆ alt_avg_max_

float apollo::localization::msf::LossyMapMatrix2D::alt_avg_max_
mutableprotected

在文件 lossy_map_matrix_2d.h123 行定义.

◆ alt_avg_min_

float apollo::localization::msf::LossyMapMatrix2D::alt_avg_min_
mutableprotected

在文件 lossy_map_matrix_2d.h122 行定义.

◆ alt_ground_interval_

const float apollo::localization::msf::LossyMapMatrix2D::alt_ground_interval_ = 0.04f
protected

在文件 lossy_map_matrix_2d.h118 行定义.

◆ alt_ground_max_

float apollo::localization::msf::LossyMapMatrix2D::alt_ground_max_
mutableprotected

在文件 lossy_map_matrix_2d.h125 行定义.

◆ alt_ground_min_

float apollo::localization::msf::LossyMapMatrix2D::alt_ground_min_
mutableprotected

在文件 lossy_map_matrix_2d.h124 行定义.

◆ cols_

unsigned int apollo::localization::msf::LossyMapMatrix2D::cols_
protected

The number of columns.

在文件 lossy_map_matrix_2d.h100 行定义.

◆ count_range_

const int apollo::localization::msf::LossyMapMatrix2D::count_range_ = 2
protected

在文件 lossy_map_matrix_2d.h121 行定义.

◆ ground_void_flag_

const uint16_t apollo::localization::msf::LossyMapMatrix2D::ground_void_flag_ = 0xffff
protected

在文件 lossy_map_matrix_2d.h119 行定义.

◆ map_cells_

LossyMapCell2D* apollo::localization::msf::LossyMapMatrix2D::map_cells_
protected

The matrix data structure.

在文件 lossy_map_matrix_2d.h102 行定义.

◆ rows_

unsigned int apollo::localization::msf::LossyMapMatrix2D::rows_
protected

The number of rows.

在文件 lossy_map_matrix_2d.h98 行定义.

◆ var_range_

const int apollo::localization::msf::LossyMapMatrix2D::var_range_ = 1023
protected

在文件 lossy_map_matrix_2d.h115 行定义.

◆ var_ratio_

const int apollo::localization::msf::LossyMapMatrix2D::var_ratio_ = 4
protected

在文件 lossy_map_matrix_2d.h116 行定义.


该类的文档由以下文件生成: