20#include "modules/map/tools/map_datachecker/proto/collection_error_code.pb.h"
29 AINFO <<
"ErrorCode::SUCCESS";
33 AINFO <<
"ErrorCode::ERROR_CHECK_BEFORE_START";
35 "Do not start repeated. This request will be ignored\n");
38 AINFO <<
"ErrorCode::ERROR_CHECK_BEFORE_START";
40 "Start command should be called before check. This request will "
44 AINFO <<
"ErrorCode::ERROR_REQUEST";
45 fprintf(
USER_STREAM,
"Request error. This request will be ignored\n");
48 AINFO <<
"ErrorCode::ERROR_GNSS_SIGNAL_FAIL."
49 <<
"Please check if area is spacious";
51 "ERROR: GNSS signal do not meet the requirements, please make "
52 "sure area is spacious\n");
56 AINFO <<
"ErrorCode::ERROR_VERIFY_NO_GNSSPOS."
57 <<
"Please check if channel /apollo/sensor/gnss/best_pose exists "
60 "ERROR:System has no channel /apollo/sensor/gnss/best_pose, you "
61 "may need to reboot system\n");
65 AINFO <<
"ErrorCode::ERROR_NOT_STATIC. Please keep the car still";
66 fprintf(
USER_STREAM,
"ERROR:Please keep the car still\n");
70 AINFO <<
"ErrorCode::ERROR_NOT_EIGHT_ROUTE. "
71 <<
"Please keep the car 8-like maneuver";
72 fprintf(
USER_STREAM,
"WARNING:Please keep the car 8-like maneuver\n");
75 AINFO <<
"ErrorCode.ERROR_LOOPS_NOT_REACHED";
77 "WARNING:Collection time do not meet the requirements. "
78 "Supplementary data collection may be required\n");
82 AINFO <<
"ErrorCode.ERROR_CHANNEL_VERIFY_TOPIC_LACK";
87 AINFO <<
"ErrorCode.ERROR_CHANNEL_VERIFY_RATES_ABNORMAL";
92 AINFO <<
"ErrorCode.ERROR_VERIFY_NO_RECORDERS";
97 AINFO <<
"This branch should never be reached. If this happened, please "
98 "open an issue. code: "
101 "ERROR:This branch should never be reached. If this happened, "
102 "please open an issue\n");
static int ExceptionHandlerFun(ErrorCode error_code)
@ ERROR_CHANNEL_VERIFY_RATES_ABNORMAL
@ ERROR_LOOPS_NOT_REACHED
@ ERROR_CHANNEL_VERIFY_TOPIC_LACK
@ ERROR_VERIFY_NO_GNSSPOS
@ ERROR_VERIFY_NO_RECORDERS
@ ERROR_CHECK_BEFORE_START