Drake
Drake C++ Documentation
DynamicProgrammingOptions::PeriodicBoundaryCondition Struct Reference

Detailed Description

For algorithms that rely on approximations of the state-dynamics (as in FittedValueIteration), this is a list of state dimensions for which the state space maximum value should be "wrapped around" to ensure that all values are in the range [low, high).

The classic example is for angles that are wrapped around at 2π.

#include <drake/systems/controllers/dynamic_programming.h>

Public Member Functions

 PeriodicBoundaryCondition (int state_index, double low, double high)
 

Public Attributes

int state_index {-1}
 
double low {0.}
 
double high {2.*M_PI}
 

Constructor & Destructor Documentation

◆ PeriodicBoundaryCondition()

PeriodicBoundaryCondition ( int  state_index,
double  low,
double  high 
)

Member Data Documentation

◆ high

double high {2.*M_PI}

◆ low

double low {0.}

◆ state_index

int state_index {-1}

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