Go to the documentation of this file.
30 #ifndef EXOTICA_CORE_PLANNING_PROBLEM_H_
31 #define EXOTICA_CORE_PLANNING_PROBLEM_H_
45 #define REGISTER_PROBLEM_TYPE(TYPE, DERIV) EXOTICA_CORE_REGISTER_CORE(exotica::PlanningProblem, TYPE, DERIV)
74 std::string
Print(
const std::string& prepend)
const override;
86 std::pair<std::vector<double>, std::vector<double>>
GetCostEvolution()
const;
97 [[deprecated(
"Replaced by Scene::get_num_positions")]]
int get_num_positions()
const;
98 [[deprecated(
"Replaced by Scene::get_num_velocities")]]
int get_num_velocities()
const;
99 [[deprecated(
"Replaced by Scene::get_num_controls")]]
int get_num_controls()
const;
112 std::vector<std::pair<std::chrono::high_resolution_clock::time_point, double>>
cost_evolution_;
120 #endif // EXOTICA_CORE_PLANNING_PROBLEM_H_
void SetCostEvolution(int index, double value)
unsigned int number_of_problem_updates_
void SetStartTime(double t)
KinematicRequestFlags flags_
void InstantiateBase(const Initializer &init) override
std::vector< TaskMapPtr > TaskMapVec
Factory< PlanningProblem > PlanningProblemFac
void SetStartState(Eigen::VectorXdRefConst x)
std::vector< std::pair< std::chrono::high_resolution_clock::time_point, double > > cost_evolution_
void ResetCostEvolution(size_t size)
KinematicRequestFlags GetFlags() const
int get_num_controls() const
void UpdateMultipleTaskKinematics(std::vector< std::shared_ptr< KinematicResponse >> responses)
@ BacktrackIterationLimit
Eigen::VectorXd start_state_
TerminationCriterion termination_criterion
unsigned int GetNumberOfProblemUpdates() const
void ResetNumberOfProblemUpdates()
std::string Print(const std::string &prepend) const override
std::shared_ptr< Scene > ScenePtr
virtual ~PlanningProblem()
const typedef Eigen::Ref< const Eigen::VectorXd > & VectorXdRefConst
Convenience wrapper for storing references to sub-matrices/vectors.
int get_num_positions() const
! Dimension of planning problem. TODO: Update from positions/velocities/controls and make private.
Eigen::VectorXd GetStartState() const
void UpdateTaskKinematics(std::shared_ptr< KinematicResponse > response)
std::shared_ptr< PlanningProblem > PlanningProblemPtr
TaskMapMap & GetTaskMaps()
std::shared_ptr< const PlanningProblem > PlanningProblemConstPtr
double GetStartTime() const
int GetNumberOfIterations() const
std::map< std::string, TaskMapPtr > TaskMapMap
The mapping by name of TaskMaps.
virtual Eigen::VectorXd ApplyStartState(bool update_traj=true)
void init(const M_string &remappings)
int get_num_velocities() const
std::pair< std::vector< double >, std::vector< double > > GetCostEvolution() const
virtual bool IsValid()
Evaluates whether the problem is valid.
ScenePtr GetScene() const
geometry_msgs::TransformStamped t
exotica_core
Author(s): Yiming Yang, Michael Camilleri
autogenerated on Fri Aug 2 2024 08:43:02