#include <matlab_value_function.h>
Public Member Functions | |
std::unique_ptr< RelativeState< TS, PS > > | Gradient (const TS &tracker_x, const PS &planner_x) const |
bool | InitializeFromMatFile (const std::string &file_name) |
MatlabValueFunction () | |
double | Priority (const TS &tracker_x, const PS &planner_x) const |
double | Value (const TS &tracker_x, const PS &planner_x) const |
~MatlabValueFunction () | |
Public Member Functions inherited from fastrack::value::ValueFunction< TS, TC, TD, PS, PC, PD, B > | |
const RelativeDynamics< TS, TC, PS, PC > & | GetRelativeDynamics () const |
bool | Initialize (const ros::NodeHandle &n) |
TC | OptimalControl (const TS &tracker_x, const PS &planner_x) const |
const PD & | PlannerDynamics () const |
const TD & | TrackerDynamics () const |
const B & | TrackingBound () const |
virtual | ~ValueFunction () |
Private Member Functions | |
VectorXd | DirectionToCenter (const VectorXd &x) const |
VectorXd | GradientAccessor (const VectorXd &x) const |
bool | LoadParameters (const ros::NodeHandle &n) |
double | LowerGridPoint (const VectorXd &x, size_t idx) const |
VectorXd | NearestCenterPoint (const VectorXd &x) const |
VectorXd | RecursiveGradientInterpolator (const VectorXd &x, size_t idx) const |
size_t | StateToIndex (const VectorXd &x) const |
Private Attributes | |
std::vector< double > | cell_size_ |
std::vector< double > | data_ |
std::vector< std::vector< double > > | gradient_ |
std::vector< double > | lower_ |
std::vector< size_t > | num_cells_ |
double | priority_lower_ |
double | priority_upper_ |
std::vector< double > | upper_ |
Additional Inherited Members | |
Protected Member Functions inherited from fastrack::value::ValueFunction< TS, TC, TD, PS, PC, PD, B > | |
virtual bool | RegisterCallbacks (const ros::NodeHandle &n) |
ValueFunction () | |
Protected Attributes inherited from fastrack::value::ValueFunction< TS, TC, TD, PS, PC, PD, B > | |
B | bound_ |
bool | initialized_ |
std::string | name_ |
PD | planner_dynamics_ |
std::unique_ptr< RelativeDynamics< TS, TC, PS, PC > > | relative_dynamics_ |
TD | tracker_dynamics_ |
Definition at line 68 of file matlab_value_function.h.
|
inline |
Definition at line 70 of file matlab_value_function.h.
|
inlineexplicit |
Definition at line 71 of file matlab_value_function.h.
|
private |
Definition at line 269 of file matlab_value_function.h.
|
virtual |
Implements fastrack::value::ValueFunction< TS, TC, TD, PS, PC, PD, B >.
Definition at line 184 of file matlab_value_function.h.
|
private |
Definition at line 253 of file matlab_value_function.h.
bool fastrack::value::MatlabValueFunction< TS, TC, TD, PS, PC, PD, RS, RD, B >::InitializeFromMatFile | ( | const std::string & | file_name | ) |
Definition at line 344 of file matlab_value_function.h.
|
inlineprivatevirtual |
Reimplemented from fastrack::value::ValueFunction< TS, TC, TD, PS, PC, PD, B >.
Definition at line 90 of file matlab_value_function.h.
|
private |
Definition at line 276 of file matlab_value_function.h.
|
private |
Definition at line 291 of file matlab_value_function.h.
|
virtual |
Implements fastrack::value::ValueFunction< TS, TC, TD, PS, PC, PD, B >.
Definition at line 203 of file matlab_value_function.h.
|
private |
Definition at line 308 of file matlab_value_function.h.
|
private |
Definition at line 217 of file matlab_value_function.h.
|
virtual |
Implements fastrack::value::ValueFunction< TS, TC, TD, PS, PC, PD, B >.
Definition at line 146 of file matlab_value_function.h.
|
private |
Definition at line 129 of file matlab_value_function.h.
|
private |
Definition at line 134 of file matlab_value_function.h.
|
private |
Definition at line 138 of file matlab_value_function.h.
|
private |
Definition at line 130 of file matlab_value_function.h.
|
private |
Definition at line 128 of file matlab_value_function.h.
|
private |
Definition at line 124 of file matlab_value_function.h.
|
private |
Definition at line 125 of file matlab_value_function.h.
|
private |
Definition at line 131 of file matlab_value_function.h.