Describes the row indices of a PendulumState.
#include <drake/examples/pendulum/pendulum_state.h>
|
static const std::vector< std::string > & | GetCoordinateNames () |
| Returns a vector containing the names of each coordinate within this class. More...
|
|
◆ GetCoordinateNames()
static 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, PendulumStateIndices::GetCoordinateNames()[i]
is the name for BasicVector::GetAtIndex(i)
.
◆ kNumCoordinates
const int kNumCoordinates = 2 |
|
static |
The total number of rows (coordinates).
◆ kTheta
◆ kThetadot
The documentation for this struct was generated from the following file: