Drake
idm_planner.h
Go to the documentation of this file.
1 #pragma once
2 
5 
6 namespace drake {
7 namespace automotive {
8 
39 template <typename T>
40 class IdmPlanner {
41  public:
43  IdmPlanner() = delete;
44 
49  static const T Evaluate(const IdmPlannerParameters<T>& params,
50  const T& ego_velocity, const T& target_distance,
51  const T& target_distance_dot);
52 };
53 
54 } // namespace automotive
55 } // namespace drake
IdmPlanner implements the IDM (Intelligent Driver Model) equation governing longitudinal acceleration...
Definition: idm_planner.h:40
Definition: automotive_demo.cc:88
static const T Evaluate(const IdmPlannerParameters< T > &params, const T &ego_velocity, const T &target_distance, const T &target_distance_dot)
Evaluates the IDM equation for the chosen planner parameters params, given the current velocity ego_v...
Definition: idm_planner.cc:13
Specializes BasicVector with specific getters and setters.
Definition: idm_planner_parameters.h:44
#define DRAKE_NO_COPY_NO_MOVE_NO_ASSIGN(Classname)
DRAKE_NO_COPY_NO_MOVE_NO_ASSIGN deletes the special member functions for copy-construction, copy-assignment, move-construction, and move-assignment.
Definition: drake_copyable.h:35
Provides careful macros to selectively enable or disable the special member functions for copy-constr...