Go to the documentation of this file.
30 #ifndef EXOTICA_CORE_TIME_INDEXED_SAMPLING_PROBLEM_H_
31 #define EXOTICA_CORE_TIME_INDEXED_SAMPLING_PROBLEM_H_
36 #include <exotica_core/time_indexed_sampling_problem_initializer.h>
46 void Instantiate(
const TimeIndexedSamplingProblemInitializer& 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);
92 #endif // EXOTICA_CORE_TIME_INDEXED_SAMPLING_PROBLEM_H_
SamplingTask inequality
Definition: time_indexed_sampling_problem.h:75
TimeIndexedSamplingProblem()
double t_goal_
Goal time: The time at which goal_ should be reached and the upper bound for the time-dimension.
Definition: time_indexed_sampling_problem.h:85
void SetRhoEQ(const std::string &task_name, const double &rho)
void Update(Eigen::VectorXdRefConst x, const double &t)
Eigen::VectorXd GetGoalEQ(const std::string &task_name)
Eigen::VectorXd vel_limits
Definition: time_indexed_sampling_problem.h:73
Definition: property.h:110
Definition: cartpole_dynamics_solver.h:38
TimeIndexedSamplingProblemInitializer parameters
Definition: time_indexed_sampling_problem.h:77
TaskSpaceVector Phi
Definition: time_indexed_sampling_problem.h:74
TaskSpaceVector constraint_phi
Definition: time_indexed_sampling_problem.h:78
double GetGoalTime() const
Eigen::VectorXd GetGoalNEQ(const std::string &task_name)
void SetGoalTime(const double &t)
void SetGoalNEQ(const std::string &task_name, Eigen::VectorXdRefConst goal)
void Instantiate(const TimeIndexedSamplingProblemInitializer &init) override
const typedef Eigen::Ref< const Eigen::VectorXd > & VectorXdRefConst
Convenience wrapper for storing references to sub-matrices/vectors.
Definition: conversions.h:52
void SetGoalState(Eigen::VectorXdRefConst qT)
Definition: task_space_vector.h:50
double GetRhoNEQ(const std::string &task_name)
Definition: time_indexed_sampling_problem.h:40
int length_Phi
Definition: time_indexed_sampling_problem.h:80
std::shared_ptr< exotica::TimeIndexedSamplingProblem > TimeIndexedSamplingProblemPtr
Definition: time_indexed_sampling_problem.h:89
void PreUpdate() override
Eigen::VectorXd goal_
Goal state to reach (spatial) at temporal goal (t_goal_)
Definition: time_indexed_sampling_problem.h:86
Definition: planning_problem.h:64
std::vector< double > GetBounds()
void SetGoalEQ(const std::string &task_name, Eigen::VectorXdRefConst goal)
double GetRhoEQ(const std::string &task_name)
void SetRhoNEQ(const std::string &task_name, const double &rho)
virtual ~TimeIndexedSamplingProblem()
virtual bool IsValid()
Evaluates whether the problem is valid.
Definition: planning_problem.h:93
SamplingTask equality
Definition: time_indexed_sampling_problem.h:76
int num_tasks
Definition: time_indexed_sampling_problem.h:82
int length_jacobian
Definition: time_indexed_sampling_problem.h:81
Eigen::VectorXd GetGoalState() const