Drake
create_trajectory_params.h
Go to the documentation of this file.
1 #pragma once
2 
3 // TODO(jwnimmer-tri) This file provides trajectories in support of demos.
4 // This data should come from files loaded at runtime, instead.
5 
6 #include <memory>
7 #include <tuple>
8 
13 
14 namespace drake {
15 namespace automotive {
16 
25 std::tuple<Curve2<double>, double, double> CreateTrajectoryParams(int index);
26 
41 std::tuple<Curve2<double>, double, double> CreateTrajectoryParamsForDragway(
42  const maliput::dragway::RoadGeometry& road_geometry, int index,
43  double speed, double start_time);
44 
45 } // namespace automotive
46 } // namespace drake
std::tuple< Curve2< double >, double, double > CreateTrajectoryParamsForDragway(const maliput::dragway::RoadGeometry &road_geometry, int index, double speed, double start_time)
Creates TrajectoryCar constructor demo arguments for a vehicle on a dragway.
Definition: create_trajectory_params.cc:77
Definition: automotive_demo.cc:88
std::tuple< Curve2< double >, double, double > CreateTrajectoryParams(int index)
Creates TrajectoryCar constructor demo arguments.
Definition: create_trajectory_params.cc:62