#include <planning_problem.h>
Public Member Functions | |
virtual Eigen::VectorXd | ApplyStartState (bool update_traj=true) |
int | get_num_controls () const |
int | get_num_positions () const |
! Dimension of planning problem. TODO: Update from positions/velocities/controls and make private. More... | |
int | get_num_velocities () const |
std::pair< std::vector< double >, std::vector< double > > | GetCostEvolution () const |
double | GetCostEvolution (int index) const |
KinematicRequestFlags | GetFlags () const |
int | GetNumberOfIterations () const |
unsigned int | GetNumberOfProblemUpdates () const |
ScenePtr | GetScene () const |
Eigen::VectorXd | GetStartState () const |
double | GetStartTime () const |
TaskMapMap & | GetTaskMaps () |
TaskMapVec & | GetTasks () |
void | InstantiateBase (const Initializer &init) override |
virtual bool | IsValid () |
Evaluates whether the problem is valid. More... | |
PlanningProblem () | |
virtual void | PreUpdate () |
std::string | Print (const std::string &prepend) const override |
void | ResetCostEvolution (size_t size) |
void | ResetNumberOfProblemUpdates () |
void | SetCostEvolution (int index, double value) |
void | SetStartState (Eigen::VectorXdRefConst x) |
void | SetStartTime (double t) |
virtual | ~PlanningProblem () |
Public Member Functions inherited from exotica::Object | |
std::string | GetObjectName () |
void | InstantiateObject (const Initializer &init) |
Object () | |
virtual std::string | type () const |
Type Information wrapper: must be virtual so that it is polymorphic... More... | |
virtual | ~Object () |
Public Member Functions inherited from exotica::InstantiableBase | |
virtual std::vector< Initializer > | GetAllTemplates () const =0 |
virtual Initializer | GetInitializerTemplate ()=0 |
InstantiableBase ()=default | |
virtual void | InstantiateInternal (const Initializer &init)=0 |
virtual | ~InstantiableBase ()=default |
Public Attributes | |
int | N = 0 |
TerminationCriterion | termination_criterion |
Public Attributes inherited from exotica::Object | |
bool | debug_ |
std::string | ns_ |
std::string | object_name_ |
Protected Member Functions | |
void | UpdateMultipleTaskKinematics (std::vector< std::shared_ptr< KinematicResponse >> responses) |
void | UpdateTaskKinematics (std::shared_ptr< KinematicResponse > response) |
Protected Attributes | |
std::vector< std::pair< std::chrono::high_resolution_clock::time_point, double > > | cost_evolution_ |
KinematicRequestFlags | flags_ = KinematicRequestFlags::KIN_FK |
unsigned int | number_of_problem_updates_ {0} |
ScenePtr | scene_ |
Eigen::VectorXd | start_state_ |
double | t_start {0.0} |
TaskMapMap | task_maps_ |
TaskMapVec | tasks_ |
Additional Inherited Members | |
Private Member Functions inherited from exotica::Uncopyable | |
Uncopyable ()=default | |
~Uncopyable ()=default | |
Definition at line 64 of file planning_problem.h.
|
default |
|
virtualdefault |
|
virtual |
Reimplemented in exotica::DynamicTimeIndexedShootingProblem.
Definition at line 70 of file planning_problem.cpp.
int exotica::PlanningProblem::get_num_controls | ( | ) | const |
Definition at line 65 of file planning_problem.cpp.
int exotica::PlanningProblem::get_num_positions | ( | ) | const |
! Dimension of planning problem. TODO: Update from positions/velocities/controls and make private.
Definition at line 55 of file planning_problem.cpp.
int exotica::PlanningProblem::get_num_velocities | ( | ) | const |
Definition at line 60 of file planning_problem.cpp.
std::pair< std::vector< double >, std::vector< double > > exotica::PlanningProblem::GetCostEvolution | ( | ) | const |
Definition at line 283 of file planning_problem.cpp.
double exotica::PlanningProblem::GetCostEvolution | ( | int | index | ) | const |
Definition at line 301 of file planning_problem.cpp.
|
inline |
Definition at line 91 of file planning_problem.h.
int exotica::PlanningProblem::GetNumberOfIterations | ( | ) | const |
Definition at line 296 of file planning_problem.cpp.
|
inline |
Definition at line 84 of file planning_problem.h.
ScenePtr exotica::PlanningProblem::GetScene | ( | ) | const |
Definition at line 278 of file planning_problem.cpp.
Eigen::VectorXd exotica::PlanningProblem::GetStartState | ( | ) | const |
Definition at line 133 of file planning_problem.cpp.
double exotica::PlanningProblem::GetStartTime | ( | ) | const |
Definition at line 143 of file planning_problem.cpp.
TaskMapMap & exotica::PlanningProblem::GetTaskMaps | ( | ) |
Definition at line 268 of file planning_problem.cpp.
TaskMapVec & exotica::PlanningProblem::GetTasks | ( | ) |
Definition at line 273 of file planning_problem.cpp.
|
overridevirtual |
Reimplemented from exotica::InstantiableBase.
Definition at line 148 of file planning_problem.cpp.
|
inlinevirtual |
Evaluates whether the problem is valid.
Reimplemented in exotica::UnconstrainedTimeIndexedProblem, exotica::BoundedTimeIndexedProblem, exotica::BoundedEndPoseProblem, exotica::SamplingProblem, exotica::EndPoseProblem, exotica::TimeIndexedProblem, and exotica::UnconstrainedEndPoseProblem.
Definition at line 93 of file planning_problem.h.
|
virtual |
Reimplemented in exotica::EndPoseProblem, exotica::DynamicTimeIndexedShootingProblem, exotica::UnconstrainedEndPoseProblem, exotica::BoundedEndPoseProblem, exotica::UnconstrainedTimeIndexedProblem, exotica::BoundedTimeIndexedProblem, exotica::SamplingProblem, exotica::TimeIndexedSamplingProblem, and exotica::AbstractTimeIndexedProblem.
Definition at line 86 of file planning_problem.cpp.
|
overridevirtual |
Reimplemented from exotica::Object.
Definition at line 46 of file planning_problem.cpp.
void exotica::PlanningProblem::ResetCostEvolution | ( | size_t | size | ) |
Definition at line 317 of file planning_problem.cpp.
|
inline |
Definition at line 85 of file planning_problem.h.
void exotica::PlanningProblem::SetCostEvolution | ( | int | index, |
double | value | ||
) |
Definition at line 323 of file planning_problem.cpp.
void exotica::PlanningProblem::SetStartState | ( | Eigen::VectorXdRefConst | x | ) |
Definition at line 91 of file planning_problem.cpp.
void exotica::PlanningProblem::SetStartTime | ( | double | t | ) |
Definition at line 138 of file planning_problem.cpp.
|
protected |
Definition at line 252 of file planning_problem.cpp.
|
protected |
Definition at line 246 of file planning_problem.cpp.
|
protected |
Definition at line 112 of file planning_problem.h.
|
protected |
Definition at line 108 of file planning_problem.h.
int exotica::PlanningProblem::N = 0 |
Definition at line 96 of file planning_problem.h.
|
protected |
Definition at line 111 of file planning_problem.h.
|
protected |
Definition at line 105 of file planning_problem.h.
|
protected |
Definition at line 109 of file planning_problem.h.
|
protected |
Definition at line 110 of file planning_problem.h.
|
protected |
Definition at line 106 of file planning_problem.h.
|
protected |
Definition at line 107 of file planning_problem.h.
TerminationCriterion exotica::PlanningProblem::termination_criterion |
Definition at line 93 of file planning_problem.h.