delphyne
BicycleCarStateIndices Struct Reference

Detailed Description

Describes the row indices of a BicycleCarState.

#include <src/gen/bicycle_car_state.h>

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 kPsi = 0
 
static const int kPsiDot = 1
 
static const int kBeta = 2
 
static const int kVel = 3
 
static const int kSx = 4
 
static const int kSy = 5
 

Member Function Documentation

◆ GetCoordinateNames()

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, BicycleCarStateIndices::GetCoordinateNames()[i] is the name for BasicVector::GetAtIndex(i).

Member Data Documentation

◆ kBeta

const int kBeta = 2
static

◆ kNumCoordinates

const int kNumCoordinates = 6
static

The total number of rows (coordinates).

◆ kPsi

const int kPsi = 0
static

◆ kPsiDot

const int kPsiDot = 1
static

◆ kSx

const int kSx = 4
static

◆ kSy

const int kSy = 5
static

◆ kVel

const int kVel = 3
static

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