Apollo 11.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
37public:
38 explicit DualVariableWarmStartProblem(const PlannerOpenSpaceConfig& planner_open_space_config);
39
40 virtual ~DualVariableWarmStartProblem() = default;
41
42 bool Solve(
43 const size_t horizon,
44 const double ts,
45 const Eigen::MatrixXd& ego,
46 const size_t obstacles_num,
47 const Eigen::MatrixXi& obstacles_edges_num,
48 const Eigen::MatrixXd& obstacles_A,
49 const Eigen::MatrixXd& obstacles_b,
50 const Eigen::MatrixXd& xWS,
51 Eigen::MatrixXd* l_warm_up,
52 Eigen::MatrixXd* n_warm_up,
53 Eigen::MatrixXd* s_warm_up);
54
55private:
56 PlannerOpenSpaceConfig planner_open_space_config_;
57 // park generic
58public:
59 explicit DualVariableWarmStartProblem(const DualVariableWarmStartConfig& dual_variable_warm_start_config);
60
61private:
62 DualVariableWarmStartConfig dual_variable_warm_start_config_;
63};
64
65} // namespace planning
66} // 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)
Planning module main class.
class register implement
Definition arena_queue.h:37