Go to the documentation of this file.
11 #include <tvm/ControlProblem.h>
12 #include <tvm/task_dynamics/Proportional.h>
13 #include <tvm/task_dynamics/ProportionalDerivative.h>
21 template<
typename ErrorT>
24 static_cast<ErrorT *
>(task)->refVel(refVel);
27 template<
typename ErrorT>
30 static_cast<ErrorT *
>(task)->refAccel(refAccel);
35 tvm::TaskWithRequirementsPtr
task_;
45 template<
typename ErrorT>
49 if constexpr(details::has_refVel_v<ErrorT>) {
setRefVel = set_ref_vel<ErrorT>; }
50 if constexpr(details::has_refAccel_v<ErrorT>) {
setRefAccel = set_ref_accel<ErrorT>; }
void init(ErrorT *error)
Definition: TVMTrajectoryTaskGeneric.h:46
tvm::TaskWithRequirementsPtr task_
Definition: TVMTrajectoryTaskGeneric.h:35
Eigen::VectorXd dimWeight_
Definition: TVMTrajectoryTaskGeneric.h:37
void(*)(void *, const Eigen::VectorXd &) set_ref_accel_t
Definition: TVMTrajectoryTaskGeneric.h:40
set_ref_accel_t setRefAccel
Definition: TVMTrajectoryTaskGeneric.h:43
set_ref_vel_t setRefVel
Definition: TVMTrajectoryTaskGeneric.h:42
void(*)(void *, const Eigen::VectorXd &) set_ref_vel_t
Definition: TVMTrajectoryTaskGeneric.h:39
void set_ref_accel(void *task, const Eigen::VectorXd &refAccel)
Definition: TVMTrajectoryTaskGeneric.h:28
void set_ref_vel(void *task, const Eigen::VectorXd &refVel)
Definition: TVMTrajectoryTaskGeneric.h:22
bool dynamicIsPD_
Definition: TVMTrajectoryTaskGeneric.h:36
void error(Args &&... args)
Definition: logging.h:63
std::shared_ptr< TVMTrajectoryTaskGeneric > TVMTrajectoryTaskGenericPtr
Definition: TVMTrajectoryTaskGeneric.h:54
Definition: StabilizerStandingState.h:11
Definition: TVMTrajectoryTaskGeneric.h:33