Apollo  6.0
Open source self driving car software
lidar_log.h
Go to the documentation of this file.
1 /******************************************************************************
2  * Copyright 2018 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 #pragma once
17 
18 #include "cyber/common/log.h"
19 
20 // 100-199 reserve for hd lidar(64...) module error
21 #define HDLIDAR_SOURCE_DATA_ERROR 100
22 #define HDLIDAR_GET_POSE_ERROR 101
23 #define HDLIDAR_GET_HDMAP_ERROR 102
24 #define HDLIDAR_GET_STATICMAP_ERROR 103
25 #define HDLIDAR_GET_INSTANCE_ERROR 110
26 #define HDLIDAR_ALGORITHM_INIT_ERROR 111
27 #define HDLIDAR_ALGORITHM_RUNNIG_ERROR 112
28 #define HDLIDAR_SEND_MESSAGE_ERROR 113
29 #define HDLIDAR_GET_CONFIG_ERROR 120
30 
31 // 200-299 reserve for ld lidar(1/16...) module error
32 #define LDLIDAR_SOURCE_DATA_ERROR 200
33 #define LDLIDAR_GET_POSE_ERROR 201
34 #define LDLIDAR_GET_HDMAP_ERROR 202
35 #define LDLIDAR_DATA_TIMESTAMP_ERROR 203
36 #define LDLIDAR_GET_INSTANCE_ERROR 210
37 #define LDLIDAR_ALGORITHM_INIT_ERROR 211
38 #define LDLIDAR_ALGORITHM_RUNNIG_ERROR 212
39 #define LDLIDAR_SEND_MESSAGE_ERROR 213
40 #define LDLIDAR_TIME_SYNCHRONIZE_ERROR 214
41 #define LDLIDAR_GET_CONFIG_ERROR 220