Apollo 10.0
自动驾驶开放平台
localization_status.proto
浏览该文件的文档.
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
17syntax = "proto2";
18
19package apollo.localization;
20
21// LiDAR-based loclaization module status
23 MSF_LOCAL_LIDAR_NORMAL = 0; // Localization result satisfy threshold
24 MSF_LOCAL_LIDAR_MAP_MISSING = 1; // Can't find localization map (config.xml)
25 MSF_LOCAL_LIDAR_EXTRINSICS_MISSING = 2; // Missing extrinsic parameters
26 MSF_LOCAL_LIDAR_MAP_LOADING_FAILED = 3; // Fail to load localization map
28 4; // No output (comparing to timestamp of imu msg)
30 5; // Coverage of online pointcloud and map is lower than threshold
31 MSF_LOCAL_LIDAR_NOT_GOOD = 6; // Localization result do not meet threshold
40}
41
42// LiDAR-based localization result check (the difference between lidar and sins
43// result)
46 0; // The difference is less than threshold 1
48 1; // The difference is bigger than threshold 1 but less than threshold 2
50 2; // The difference is bigger than threshold 2
54// GNSS-based localization result check (the difference between GNSS and sins
55// result)
56enum GnssConsistency {
57 MSF_GNSS_CONSISTENCY_00 = 0; // The difference is less than threshold 1
59 1; // The difference is bigger than threshold 1 but less than threshold 2
60 MSF_GNSS_CONSISTENCY_02 = 2; // The difference is bigger than threshold 2
61 MSF_GNSS_CONSISTENCY_03 = 3; // others
63
65 NONE = 0; // No solution
66 FIXEDPOS = 1; // Position has been fixed by the FIX POSITION command or by
67 // position averaging
68 FIXEDHEIGHT = 2; // Position has been fixed by the FIX HEIGHT, or FIX AUTO,
69 // command or by position averaging
70 FLOATCONV = 4; // Solution from floating point carrier phase anbiguities
71 WIDELANE = 5; // Solution from wide-lane ambiguities
72 NARROWLANE = 6; // Solution from narrow-lane ambiguities
73 DOPPLER_VELOCITY = 8; // Velocity computed using instantaneous Doppler
74 SINGLE = 16; // Single point position
75 PSRDIFF = 17; // Pseudorange differential solution
76 WAAS = 18; // Solution calculated using corrections from an SBAS
77 PROPOGATED = 19; // Propagated by a Kalman filter without new observations
78 OMNISTAR = 20; // OmniSTAR VBS position
79 L1_FLOAT = 32; // Floating L1 albiguity solution
80 IONOFREE_FLOAT = 33; // Floating ionospheric free ambiguity solution
81 NARROW_FLOAT = 34; // Floating narrow-lane anbiguity solution
82 L1_INT = 48; // Integer L1 ambiguity solution
83 WIDE_INT = 49; // Integer wide-lane ambiguity solution
84 NARROW_INT = 50; // Integer narrow-lane ambiguity solution
85 RTK_DIRECT_INS = 51; // RTK status where RTK filter is directly initialized
86 // from the INS filter
87 INS_SBAS = 52; // INS calculated position corrected for the antenna
89 53; // INS pseudorange single point solution - no DGPS corrections
90 INS_PSRDIFF = 54; // INS pseudorange differential solution
91 INS_RTKFLOAT = 55; // INS RTK float point ambiguities solution
92 INS_RTKFIXED = 56; // INS RTK fixed ambiguities solution
93 INS_OMNISTAR = 57; // INS OmniSTAR VBS solution
94 INS_OMNISTAR_HP = 58; // INS OmniSTAR high precision solution
95 INS_OMNISTAR_XP = 59; // INS OmniSTAR extra precision solution
96 OMNISTAR_HP = 64; // OmniSTAR high precision
97 OMNISTAR_XP = 65; // OmniSTAR extra precision
98 PPP_CONVERGING = 68; // Precise Point Position(PPP) solution converging
99 PPP = 69; // Precise Point Position(PPP)solution
100 INS_PPP_Converging = 73; // INS NovAtel CORRECT Precise Point Position(PPP)
101 // solution converging
102 INS_PPP = 74; // INS NovAtel CORRECT Precise Point Position(PPP) solution
103 MSG_LOSS = 91; // Gnss position message loss
106// IMU msg status
117 IMU_MISSING_1 = 1;
123}
124
154 MSF_NOSOL_X_X = 21;
160
161// The status of sensor msg
163 optional ImuMsgDelayStatus imu_delay_status = 1;
164 optional ImuMsgMissingStatus imu_missing_status = 2;
165 optional ImuMsgDataStatus imu_data_status = 3;
168// The init pose source
179}
180
186
187// The gnss map offset
189 optional MsfGnssMapOffsetStatus status = 1;
190 optional double offsetx = 2;
191 optional double offsety = 3;
194// The init pose status
195enum MsfInitPoseStatus {
196 INIT_WAITING = 0;
203// The init details
205 optional MsfInitPoseSource init_pose_source = 1;
206 optional MsfInitPoseStatus local_search_from_integpva_status = 2;
207 optional MsfInitPoseStatus local_search_from_file_status = 3;
208 optional MsfInitPoseStatus local_update_from_file_status = 4;
209 optional MsfInitPoseStatus user_interaction_status = 5;
210 optional int32 gnss_position_type = 6;
211 optional MsfInitPoseStatus local_from_global_lidar_status = 7;
214// The initializaiton status of localization module
216 MSF_INIT = 0;
217 MSF_ALIGNING = 1;
225// The status of msf localization module
226message MsfStatus {
227 optional LocalLidarConsistency local_lidar_consistency = 1;
228 optional GnssConsistency gnss_consistency = 2;
229 optional LocalLidarStatus local_lidar_status = 3;
230 optional GnssPositionType gnsspos_position_type = 4;
231 optional uint32 heading_position_type = 5;
232 optional MSFInitStatus msf_init_status = 6;
233 optional MsfRunningStatus msf_running_status = 7;
234 optional MsfInitDetails msf_init_details = 8;
235 optional LocalLidarQuality local_lidar_quality = 9;
236 optional MsfGnssMapOffset gnss_map_offset = 10;
237 optional bool lidar_alt_from_map = 11;
238 optional double local_lidar_score = 12;
239 optional bool local_reliability_status = 13 [default = false];
240}