Apollo 11.0
自动驾驶开放平台
location_exporter.h
浏览该文件的文档.
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
17#pragma once
18
19#include <string>
20
21namespace apollo {
22namespace localization {
23namespace msf {
24
30 public:
31 explicit LocationExporter(const std::string &loc_file_folder);
33
34 void GnssLocCallback(const std::string &msg);
35 void LidarLocCallback(const std::string &msg);
36 void FusionLocCallback(const std::string &msg);
37 void OdometryLocCallback(const std::string &msg);
38
39 private:
40 std::string gnss_loc_file_;
41 std::string lidar_loc_file_;
42 std::string fusion_loc_file_;
43 std::string odometry_loc_file_;
44
45 FILE *gnss_loc_file_handle_;
46 FILE *lidar_loc_file_handle_;
47 FILE *fusion_loc_file_handle_;
48 FILE *odometry_loc_file_handle_;
49};
50
51} // namespace msf
52} // namespace localization
53} // namespace apollo
Export info about localziation in rosbag.
void OdometryLocCallback(const std::string &msg)
class register implement
Definition arena_queue.h:37