Drake
Drake C++ Documentation
Loading...
Searching...
No Matches
AcrobotInputIndices Struct Reference

Detailed Description

Describes the row indices of a AcrobotInput.

#include <drake/examples/acrobot/acrobot_input.h>

Static Public Member Functions

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

Static Public Attributes

static const int kNumCoordinates = 1
 The total number of rows (coordinates).
static const int kTau = 0

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

Member Data Documentation

◆ kNumCoordinates

const int kNumCoordinates = 1
static

The total number of rows (coordinates).

◆ kTau

const int kTau = 0
static

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