Apollo 10.0
自动驾驶开放平台
dual_variable_warm_start_problem.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/*
18 * @file
19 */
20
21#pragma once
22#include <algorithm>
23
24#include "Eigen/Dense"
25
26#include "modules/common_msgs/planning_msgs/planning.pb.h"
27
32
33namespace apollo {
34namespace planning {
35
37 public:
39 const PlannerOpenSpaceConfig& planner_open_space_config);
40
41 virtual ~DualVariableWarmStartProblem() = default;
42
43 bool Solve(const size_t horizon, const double ts, const Eigen::MatrixXd& ego,
44 const size_t obstacles_num,
45 const Eigen::MatrixXi& obstacles_edges_num,
46 const Eigen::MatrixXd& obstacles_A,
47 const Eigen::MatrixXd& obstacles_b, const Eigen::MatrixXd& xWS,
48 Eigen::MatrixXd* l_warm_up, Eigen::MatrixXd* n_warm_up,
49 Eigen::MatrixXd* s_warm_up);
50
51 private:
52 PlannerOpenSpaceConfig planner_open_space_config_;
53// park generic
54 public:
56 const DualVariableWarmStartConfig& dual_variable_warm_start_config);
57 private:
58 DualVariableWarmStartConfig dual_variable_warm_start_config_;
59};
60
61} // namespace planning
62} // namespace apollo
bool Solve(const size_t horizon, const double ts, const Eigen::MatrixXd &ego, const size_t obstacles_num, const Eigen::MatrixXi &obstacles_edges_num, const Eigen::MatrixXd &obstacles_A, const Eigen::MatrixXd &obstacles_b, const Eigen::MatrixXd &xWS, Eigen::MatrixXd *l_warm_up, Eigen::MatrixXd *n_warm_up, Eigen::MatrixXd *s_warm_up)
DualVariableWarmStartProblem(const DualVariableWarmStartConfig &dual_variable_warm_start_config)
Planning module main class.
class register implement
Definition arena_queue.h:37