Apollo 11.0
自动驾驶开放平台
interpolation_plus_1d.h
浏览该文件的文档.
1/* Copyright 2017 The Apollo Authors. All Rights Reserved.
2
3Licensed under the Apache License, Version 2.0 (the "License");
4you may not use this file except in compliance with the License.
5You may obtain a copy of the License at
6
7 http://www.apache.org/licenses/LICENSE-2.0
8
9Unless required by applicable law or agreed to in writing, software
10distributed under the License is distributed on an "AS IS" BASIS,
11WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12See the License for the specific language governing permissions and
13limitations 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
29
30namespace apollo {
31namespace control {
32
34public:
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
static double interpolation_1d(const double &value, const google::protobuf::RepeatedField< double > &input_vector, const google::protobuf::RepeatedField< double > &output_vector)
class register implement
Definition arena_queue.h:37