Apollo 10.0
自动驾驶开放平台
type_def.h
浏览该文件的文档.
1/******************************************************************************
2 * Copyright 2023 The Apollo Authors. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 *****************************************************************************/
16
17#ifndef RADAR_OCULII_TYPE_DEF_H
18#define RADAR_OCULII_TYPE_DEF_H
19
20#include <memory>
22
23namespace apollo {
24namespace drivers {
25namespace radar {
26
32
50
51typedef struct OculiiDetection {
52 unsigned char raw[OCULII_DETECTION_BLOCK_SIZE]; // need mask 0x40
53} OculiiDetection;
54
55typedef struct OculiiTrack {
56 uint32_t id;
57 int16_t x_pos;
58 int16_t y_pos;
59 uint16_t z_pos;
60 int16_t x_dot;
61 int16_t y_dot;
62 int16_t z_dot;
65 uint16_t track_class;
66 uint16_t confidence;
68} OculiiTrack;
69
70typedef struct OculiiFooter {
71 long long reserved; // NOLINT
77} OculiiFooter;
78
79} // namespace radar
80} // namespace drivers
81} // namespace apollo
82
83#endif
const int OCULII_FOOTER_RESERVED_TAIL_LENGTH
Definition const_val.h:50
struct apollo::drivers::radar::OculiiHeader Oculii_header
const int OCULII_HEADER_MAGIC_LENGTH
Definition const_val.h:31
const int OCULII_HEADER_RESERVED_TAIL_LENGTH
Definition const_val.h:33
const int OCULII_HANDSHAKE_RESERVED_LENGTH
Definition const_val.h:28
struct apollo::drivers::radar::OculiiHandshake Oculii_handshake
const int OCULII_DETECTION_BLOCK_SIZE
Definition const_val.h:46
const int OCULII_HANDSHAKE_MAGIC_LENGTH
Definition const_val.h:27
const int OCULII_TRACKER_RESERVED_TAIL_LENGTH
Definition const_val.h:44
const int OCULII_DECTION_BLOCK_SIZE
Definition const_val.h:36
const int OCULII_HEADER_RESERVED_LENGTH
Definition const_val.h:32
class register implement
Definition arena_queue.h:37
unsigned char raw[OCULII_DETECTION_BLOCK_SIZE]
Definition type_def.h:52
unsigned char tail_reserved[OCULII_FOOTER_RESERVED_TAIL_LENGTH]
Definition type_def.h:76
unsigned char magic[OCULII_HANDSHAKE_MAGIC_LENGTH]
Definition type_def.h:28
unsigned char reserved[OCULII_HANDSHAKE_RESERVED_LENGTH]
Definition type_def.h:30
unsigned char tail_reserved[OCULII_HEADER_RESERVED_TAIL_LENGTH]
Definition type_def.h:48
unsigned char reserved[OCULII_HEADER_RESERVED_LENGTH]
Definition type_def.h:41
unsigned char magic[OCULII_HEADER_MAGIC_LENGTH]
Definition type_def.h:34
unsigned char reserved[OCULII_DECTION_BLOCK_SIZE]
Definition type_def.h:63
unsigned char tail_reserved[OCULII_TRACKER_RESERVED_TAIL_LENGTH]
Definition type_def.h:67