Apollo
11.0
自动驾驶开放平台
speed_profile_generator.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
21
#pragma once
22
23
#include <utility>
24
#include <vector>
25
26
#include "modules/common_msgs/basic_msgs/pnc_point.pb.h"
27
28
#include "
modules/planning/planning_base/common/ego_info.h
"
29
#include "
modules/planning/planning_base/common/reference_line_info.h
"
30
#include "
modules/planning/planning_base/common/speed/speed_data.h
"
31
#include "
modules/planning/planning_base/math/curve1d/quintic_polynomial_curve1d.h
"
32
33
namespace
apollo
{
34
namespace
planning
{
35
36
class
SpeedProfileGenerator
{
37
public
:
38
SpeedProfileGenerator
() =
delete
;
39
40
static
void
FillEnoughSpeedPoints
(
SpeedData
*
const
speed_data);
41
42
static
SpeedData
GenerateFixedDistanceCreepProfile
(
const
double
distance,
43
const
double
max_speed);
44
};
45
46
}
// namespace planning
47
}
// namespace apollo
apollo::planning::SpeedData
Definition
speed_data.h:30
apollo::planning::SpeedProfileGenerator
Definition
speed_profile_generator.h:36
apollo::planning::SpeedProfileGenerator::FillEnoughSpeedPoints
static void FillEnoughSpeedPoints(SpeedData *const speed_data)
Definition
speed_profile_generator.cc:36
apollo::planning::SpeedProfileGenerator::SpeedProfileGenerator
SpeedProfileGenerator()=delete
apollo::planning::SpeedProfileGenerator::GenerateFixedDistanceCreepProfile
static SpeedData GenerateFixedDistanceCreepProfile(const double distance, const double max_speed)
Definition
speed_profile_generator.cc:52
planning
Planning module main class.
ego_info.h
apollo
class register implement
Definition
arena_queue.h:37
quintic_polynomial_curve1d.h
reference_line_info.h
speed_data.h
modules
planning
planning_base
common
speed_profile_generator.h