#include <constraint_base.h>
Public Member Functions | |
virtual void | calculate ()=0 |
ConstraintBase (PRIO prio, T_PARAMS params, CallbackDataMediator &cbdm) | |
virtual Task_t | createTask () |
virtual double | getActivationGain () const =0 |
virtual double | getDerivativeValue () const |
virtual Eigen::VectorXd | getPartialValues () const |
virtual double | getPredictionValue () const |
virtual double | getSelfMotionMagnitude (const Eigen::MatrixXd &particular_solution, const Eigen::MatrixXd &homogeneous_solution) const =0 |
virtual ConstraintState | getState () const |
virtual Eigen::VectorXd | getTaskDerivatives () const |
virtual std::string | getTaskId () const =0 |
virtual Eigen::MatrixXd | getTaskJacobian () const |
virtual double | getValue () const |
virtual void | update (const JointStates &joint_states, const KDL::JntArrayVel &joints_prediction, const Matrix6Xd_t &jacobian_data) |
virtual | ~ConstraintBase () |
Public Member Functions inherited from PriorityBase< PRIO > | |
PRIO | getPriority () const |
double | getPriorityAsNum () const |
Ensure priority class has overwritten double() operator. More... | |
bool | operator< (const PriorityBase &other) const |
bool | operator== (const PriorityBase &other) const |
bool | operator> (const PriorityBase &other) const |
PriorityBase (PRIO prio) | |
void | setPriority (PRIO prio) |
virtual | ~PriorityBase () |
Protected Member Functions | |
virtual double | getCriticalValue () const |
Protected Attributes | |
CallbackDataMediator & | callback_data_mediator_ |
T_PARAMS | constraint_params_ |
double | derivative_value_ |
Matrix6Xd_t | jacobian_data_ |
KDL::JntArrayVel | jnts_prediction_ |
JointStates | joint_states_ |
ros::Time | last_pred_time_ |
ros::Time | last_time_ |
double | last_value_ |
uint32_t | member_inst_cnt_ |
Eigen::VectorXd | partial_values_ |
double | prediction_value_ |
ConstraintState | state_ |
double | value_ |
Protected Attributes inherited from PriorityBase< PRIO > | |
PRIO | priority_ |
Static Protected Attributes | |
static uint32_t | instance_ctr_ = 0 |
Base class for all derived constraints. Used to represent a common data structure for all concrete constraints.
T_PARAMS | A specific constraint parameter class. |
PRIO | See base class. |
Definition at line 111 of file constraint_base.h.
|
inline |
prio | A priority value / object. |
q | The joint states. |
params | The parameters for the constraint to parameterize the calculation of the cost function values. |
Definition at line 119 of file constraint_base.h.
|
inlinevirtual |
Definition at line 135 of file constraint_base.h.
|
pure virtual |
|
inlinevirtual |
Implements PriorityBase< PRIO >.
Definition at line 138 of file constraint_base.h.
|
pure virtual |
|
inlineprotectedvirtual |
Implements PriorityBase< PRIO >.
Reimplemented in CollisionAvoidance< T_PARAMS, PRIO >.
Definition at line 223 of file constraint_base.h.
|
inlinevirtual |
Implements PriorityBase< PRIO >.
Definition at line 184 of file constraint_base.h.
|
inlinevirtual |
Implements PriorityBase< PRIO >.
Definition at line 189 of file constraint_base.h.
|
inlinevirtual |
Implements PriorityBase< PRIO >.
Definition at line 194 of file constraint_base.h.
|
pure virtual |
|
inlinevirtual |
Implements PriorityBase< PRIO >.
Definition at line 149 of file constraint_base.h.
|
inlinevirtual |
Implements PriorityBase< PRIO >.
Reimplemented in JointLimitAvoidanceIneq< T_PARAMS, PRIO >, JointLimitAvoidance< T_PARAMS, PRIO >, and CollisionAvoidance< T_PARAMS, PRIO >.
Definition at line 159 of file constraint_base.h.
|
pure virtual |
|
inlinevirtual |
Implements PriorityBase< PRIO >.
Reimplemented in JointLimitAvoidanceIneq< T_PARAMS, PRIO >, JointLimitAvoidance< T_PARAMS, PRIO >, and CollisionAvoidance< T_PARAMS, PRIO >.
Definition at line 154 of file constraint_base.h.
|
inlinevirtual |
Implements PriorityBase< PRIO >.
Definition at line 179 of file constraint_base.h.
|
inlinevirtual |
Implements PriorityBase< PRIO >.
Definition at line 164 of file constraint_base.h.
|
protected |
Definition at line 206 of file constraint_base.h.
|
protected |
Definition at line 205 of file constraint_base.h.
|
protected |
Definition at line 213 of file constraint_base.h.
|
staticprotected |
Definition at line 221 of file constraint_base.h.
|
protected |
Definition at line 210 of file constraint_base.h.
|
protected |
Definition at line 209 of file constraint_base.h.
|
protected |
Definition at line 208 of file constraint_base.h.
|
protected |
Definition at line 218 of file constraint_base.h.
|
protected |
Definition at line 217 of file constraint_base.h.
|
protected |
Definition at line 216 of file constraint_base.h.
|
protected |
Definition at line 220 of file constraint_base.h.
|
protected |
Definition at line 214 of file constraint_base.h.
|
protected |
Definition at line 215 of file constraint_base.h.
|
protected |
Definition at line 204 of file constraint_base.h.
|
protected |
Definition at line 212 of file constraint_base.h.