Drake
Drake C++ Documentation
SchunkWsgTrajectoryGeneratorStateVectorIndices Struct Reference

Detailed Description

Describes the row indices of a SchunkWsgTrajectoryGeneratorStateVector.

#include <drake/manipulation/schunk_wsg/schunk_wsg_trajectory_generator_state_vector.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 = 4
 The total number of rows (coordinates). More...
 
static const int kLastTargetPosition = 0
 
static const int kTrajectoryStartTime = 1
 
static const int kLastPosition = 2
 
static const int kMaxForce = 3
 

Member Function Documentation

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

Member Data Documentation

◆ kLastPosition

const int kLastPosition = 2
static

◆ kLastTargetPosition

const int kLastTargetPosition = 0
static

◆ kMaxForce

const int kMaxForce = 3
static

◆ kNumCoordinates

const int kNumCoordinates = 4
static

The total number of rows (coordinates).

◆ kTrajectoryStartTime

const int kTrajectoryStartTime = 1
static

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