scenario_simulator_v2 C++ API
Public Types | Public Member Functions | Public Attributes | List of all members
traffic_simulator::speed_change::Constraint Struct Reference

#include <speed_change.hpp>

Public Types

enum class  Type { LONGITUDINAL_ACCELERATION , TIME , NONE }
 

Public Member Functions

constexpr Constraint (const Constraint::Type type, const double value)
 

Public Attributes

Type type
 
double value
 

Member Enumeration Documentation

◆ Type

Enumerator
LONGITUDINAL_ACCELERATION 
Todo:
Add DISTANCE constraint type.
TIME 
NONE 

Constructor & Destructor Documentation

◆ Constraint()

constexpr traffic_simulator::speed_change::Constraint::Constraint ( const Constraint::Type  type,
const double  value 
)
inlineexplicitconstexpr

Member Data Documentation

◆ type

Type traffic_simulator::speed_change::Constraint::type

◆ value

double traffic_simulator::speed_change::Constraint::value

The documentation for this struct was generated from the following file: