Apollo  6.0
Open source self driving car software
fusion_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 // 500-599 reserve for fusion module error
21 #define FUSION_GET_POSE_ERROR 500 // get pose error
22 #define FUSION_GET_HDMAP_ERROR 501 // get hdmap error
23 #define FUSION_COMPONENT_CONF_ERROR 502 // get component config error
24 #define FUSION_GET_CAR_CENTER_ERROR 503 // get main car center point error,
25 #define FUSION_GET_INTRINSICS_ERROR 504 // get intrinsics error
26 #define FUSION_GET_INSTANCE_ERROR 510 // get algorithm instance error
27 #define FUSION_ALGORITHM_INIT_ERROR 511 // algorithm init error
28 #define FUSION_ALGORITHM_RUNNIG_ERROR 512 // algorithm running error
29 #define FUSION_SEND_MESSAGE_ERROR 513 // send message error
30 #define FUSION_GET_CONFIG_ERROR 520 // get parameter config error
31 #define FUSION_COMPUTE_CENTER_ERROR 521 // compute points center error
32 #define FUSION_MESSAGE_ORDER_ERROR 522 // the received message order error
33 #define FUSION_TRACK_DATA_EMPTY 523 // no sensor data of the tracker
34 #define FUSION_HM_ASSIGN_ERROR 524 // hm assign error
35 #define FUSION_BBAMANAGER_ERROR 525 // BBAManager throw error