Drake
SimpleCarParamsIndices Struct Reference

Describes the row indices of a SimpleCarParams. More...

#include <drake/automotive/gen/simple_car_params.h>

Collaboration diagram for SimpleCarParamsIndices:
[legend]

Static Public Member Functions

static const std::vector< std::string > & GetCoordinateNames ()
 Returns a vector containing the names of each coordinate within this class. More...
 

Static Public Attributes

static const int kNumCoordinates = 6
 The total number of rows (coordinates). More...
 
static const int kWheelbase = 0
 
static const int kTrack = 1
 
static const int kMaxAbsSteeringAngle = 2
 
static const int kMaxVelocity = 3
 
static const int kMaxAcceleration = 4
 
static const int kVelocityLimitKp = 5
 

Detailed Description

Describes the row indices of a SimpleCarParams.

Member Function Documentation

const std::vector< std::string > & GetCoordinateNames ( )
static

Returns a vector containing the names of each coordinate within this class.

The indices within the returned vector matches that of this class. In other words, SimpleCarParamsIndices::GetCoordinateNames()[i] is the name for BasicVector::GetAtIndex(i).

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

const int kMaxAbsSteeringAngle = 2
static
const int kMaxAcceleration = 4
static
const int kMaxVelocity = 3
static
const int kNumCoordinates = 6
static

The total number of rows (coordinates).

const int kTrack = 1
static
const int kVelocityLimitKp = 5
static
const int kWheelbase = 0
static

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