Apollo
11.0
自动驾驶开放平台
interpolation_plus_1d.h
浏览该文件的文档.
1
/* Copyright 2017 The Apollo Authors. All Rights Reserved.
2
3
Licensed under the Apache License, Version 2.0 (the "License");
4
you may not use this file except in compliance with the License.
5
You may obtain a copy of the License at
6
7
http://www.apache.org/licenses/LICENSE-2.0
8
9
Unless required by applicable law or agreed to in writing, software
10
distributed under the License is distributed on an "AS IS" BASIS,
11
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
See the License for the specific language governing permissions and
13
limitations under the License.
14
==============================================================================*/
15
16
#pragma once
17
18
#include <memory>
19
#include <utility>
20
#include <vector>
21
22
#include <google/protobuf/repeated_field.h>
23
#include <google/protobuf/text_format.h>
24
25
#include "Eigen/Core"
26
#include "unsupported/Eigen/Splines"
27
28
#include "
modules/control/control_component/controller_task_base/common/interpolation_1d.h
"
29
30
namespace
apollo
{
31
namespace
control {
32
33
class
InterpolationPlus1D
:
public
Interpolation1D
{
34
public
:
35
static
double
interpolation_1d
(
36
const
double
& value,
37
const
google::protobuf::RepeatedField<double>& input_vector,
38
const
google::protobuf::RepeatedField<double>& output_vector);
39
};
40
41
}
// namespace control
42
}
// namespace apollo
apollo::control::Interpolation1D
Definition
interpolation_1d.h:28
apollo::control::InterpolationPlus1D
Definition
interpolation_plus_1d.h:33
apollo::control::InterpolationPlus1D::interpolation_1d
static double interpolation_1d(const double &value, const google::protobuf::RepeatedField< double > &input_vector, const google::protobuf::RepeatedField< double > &output_vector)
Definition
interpolation_plus_1d.cc:25
interpolation_1d.h
apollo
class register implement
Definition
arena_queue.h:37
modules
control
control_task_base_extend
common
interpolation_plus_1d.h