delphyne
DrivingCommandIndices Struct Reference

Detailed Description

Describes the row indices of a DrivingCommand.

#include <src/gen/driving_command.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 = 2
 The total number of rows (coordinates). More...
 
static const int kSteeringAngle = 0
 
static const int kAcceleration = 1
 

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

Member Data Documentation

◆ kAcceleration

const int kAcceleration = 1
static

◆ kNumCoordinates

const int kNumCoordinates = 2
static

The total number of rows (coordinates).

◆ kSteeringAngle

const int kSteeringAngle = 0
static

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