提交 8599b48d 编写于 作者: Y Yifei Jiang

planning: added empty speed bounds decider.

上级 5fc37f3b
......@@ -11,6 +11,7 @@ cc_library(
"side_pass_path_decider.cc",
"side_pass_safety.cc",
"path_bounds_decider.cc",
"speed_bounds_decider.cc",
],
hdrs = [
"decider.h",
......@@ -19,6 +20,7 @@ cc_library(
"side_pass_path_decider.h",
"side_pass_safety.h",
"path_bounds_decider.h",
"speed_bounds_decider.h",
],
copts = ["-DMODULE_NAME=\\\"planning\\\""],
deps = [
......
/******************************************************************************
* Copyright 2019 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/planning/tasks/deciders/speed_bounds_decider.h"
namespace apollo {
namespace planning {
using apollo::common::Status;
SpeedBoundsDecider::SpeedBoundsDecider(const TaskConfig &config)
: Decider(config) {}
Status SpeedBoundsDecider::Process(
Frame *const frame, ReferenceLineInfo *const reference_line_info) {
// TODO(all) implement
return Status::OK();
}
} // namespace planning
} // namespace apollo
/******************************************************************************
* Copyright 2019 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.
*****************************************************************************/
/**
* @file
**/
#pragma once
#include "modules/planning/proto/decider_config.pb.h"
#include "modules/planning/proto/planning_config.pb.h"
#include "modules/planning/tasks/deciders/decider.h"
namespace apollo {
namespace planning {
class SpeedBoundsDecider : public Decider {
public:
explicit SpeedBoundsDecider(const TaskConfig& config);
private:
apollo::common::Status Process(
Frame *const frame,
ReferenceLineInfo *const reference_line_info) override;
};
} // namespace planning
} // namespace apollo
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册