Go to the documentation of this file.
30 #ifndef EXOTICA_CORE_SAMPLING_PROBLEM_H_
31 #define EXOTICA_CORE_SAMPLING_PROBLEM_H_
36 #include <exotica_core/sampling_problem_initializer.h>
46 void Instantiate(
const SamplingProblemInitializer& init)
override;
56 Eigen::VectorXd
GetGoalEQ(
const std::string& task_name);
57 void SetRhoEQ(
const std::string& task_name,
const double& rho);
58 double GetRhoEQ(
const std::string& task_name);
61 Eigen::VectorXd
GetGoalNEQ(
const std::string& task_name);
62 void SetRhoNEQ(
const std::string& task_name,
const double& rho);
63 double GetRhoNEQ(
const std::string& task_name);
86 #endif // EXOTICA_CORE_SAMPLING_PROBLEM_H_
const Eigen::VectorXd & GetGoalState() const
Definition: sampling_problem.h:69
void SetGoalEQ(const std::string &task_name, Eigen::VectorXdRefConst goal)
void SetGoalNEQ(const std::string &task_name, Eigen::VectorXdRefConst goal)
TaskSpaceVector Phi
Definition: sampling_problem.h:70
std::vector< double > GetBounds()
double GetRhoNEQ(const std::string &task_name)
Eigen::VectorXd GetGoalEQ(const std::string &task_name)
int length_jacobian
Definition: sampling_problem.h:75
void SetRhoEQ(const std::string &task_name, const double &rho)
Definition: sampling_problem.h:40
int num_tasks
Definition: sampling_problem.h:76
void SetRhoNEQ(const std::string &task_name, const double &rho)
Definition: property.h:110
Definition: cartpole_dynamics_solver.h:38
void Instantiate(const SamplingProblemInitializer &init) override
bool compound_
Definition: sampling_problem.h:80
bool IsStateValid(Eigen::VectorXdRefConst x)
const typedef Eigen::Ref< const Eigen::VectorXd > & VectorXdRefConst
Convenience wrapper for storing references to sub-matrices/vectors.
Definition: conversions.h:52
Definition: task_space_vector.h:50
double GetRhoEQ(const std::string &task_name)
Eigen::VectorXd goal_
Definition: sampling_problem.h:79
bool IsCompoundStateSpace()
virtual ~SamplingProblem()
void Update(Eigen::VectorXdRefConst x)
Definition: planning_problem.h:64
void SetGoalState(Eigen::VectorXdRefConst qT)
std::shared_ptr< exotica::SamplingProblem > SamplingProblemPtr
Definition: sampling_problem.h:83
SamplingTask equality
Definition: sampling_problem.h:72
void PreUpdate() override
Eigen::VectorXd GetGoalNEQ(const std::string &task_name)
bool IsValid() override
Evaluates whether the problem is valid.
int length_Phi
Definition: sampling_problem.h:74
SamplingTask inequality
Definition: sampling_problem.h:71