提交 6c38bc2d 编写于 作者: J jmtao 提交者: Liangliang Zhang

perception: add gflags file

上级 df118100
load("//tools:cpplint.bzl", "cpplint")
package(default_visibility = ["//visibility:public"])
cc_library(
name = "perception_gflags",
srcs = [
"perception_gflags.cc",
],
hdrs = [
"perception_gflags.h",
],
deps = [
"//external:gflags",
],
)
cpplint()
/******************************************************************************
* Copyright 2018 The Apollo Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*****************************************************************************/
#include "modules/perception/common/perception_gflags.h"
DEFINE_string(obs_sensor_intrinsic_path, "/home/caros/cybertron/params",
"The intrinsics/extrinsics dir.");
DEFINE_string(obs_sensor_meta_path,
"./data/perception/modules/perception/common/sensor_meta.pt",
"The SensorManager config file.");
/******************************************************************************
* Copyright 2018 The Apollo Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*****************************************************************************/
#ifndef MODULES_PERCEPTION_COMMON_PERCEPTION_GFLAGS_H_
#define MODULES_PERCEPTION_COMMON_PERCEPTION_GFLAGS_H_
#include "gflags/gflags.h"
DECLARE_string(obs_sensor_intrinsic_pat);
DECLARE_string(obs_sensor_meta_path);
#endif // MODULES_PERCEPTION_COMMON_PERCEPTION_GFLAGS_H_
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册