SCL
1.0
Standard Control Library : Control, dynamics, physics, and simulation
|
#include <CTaskNULL.hpp>
Public Member Functions | |
CTaskNULL () | |
virtual | ~CTaskNULL () |
virtual bool | init (STaskBase *arg_task_data, CDynamicsBase *arg_dynamics) |
virtual STaskBase * | getTaskData () |
virtual void | reset () |
virtual bool | computeServo (const SRobotSensors *arg_sensors) |
virtual bool | computeModel (const SRobotSensors *arg_sensors) |
virtual bool | setGoalPos (const Eigen::VectorXd &arg_goal) |
virtual bool | setGoalVel (const Eigen::VectorXd &arg_goal) |
virtual bool | setGoalAcc (const Eigen::VectorXd &arg_goal) |
virtual bool | getGoalPos (Eigen::VectorXd &arg_goal) const |
virtual bool | getGoalVel (Eigen::VectorXd &arg_goal) const |
virtual bool | getGoalAcc (Eigen::VectorXd &arg_goal) const |
virtual bool | getPos (Eigen::VectorXd &arg_pos) const |
virtual bool | getVel (Eigen::VectorXd &arg_vel) const |
virtual bool | getAcc (Eigen::VectorXd &arg_acc) const |
virtual sBool | hasBeenInit () |
virtual sBool | setActivated (sBool arg_activate) |
virtual sBool | hasBeenActivated () |
Protected Attributes | |
sBool | has_been_init_ |
CDynamicsBase * | dynamics_ |
Private Attributes | |
STaskBase * | data_ |
A null task. Does nothing. Yes it really does nothing.
Q) Why does it exist? A) For debugging.
|
inline |
Constructor sets initialization state to false
|
inlinevirtual |
Destructor does nothing.
|
virtual |
Computes the dynamics (task model)
Implements scl::CTaskBase.
|
virtual |
Computes the task torques
Implements scl::CTaskBase.
|
inlinevirtualinherited |
Gets the current acceleration. Returns false if not supported by task.
Reimplemented in scl::CTaskOpPosPIDA1OrderInfTime, scl::CTaskOpPos, and scl::CTaskComPos.
|
inlinevirtualinherited |
Gets the current goal acceleration. Returns false if not supported by task.
Reimplemented in scl::CTaskOpPosPIDA1OrderInfTime, scl::CTaskOpPos, scl::CTaskGcSet, scl::CTaskComPos, and scl::CTaskGc.
|
inlinevirtualinherited |
Gets the current goal position. Returns false if not supported by task.
Reimplemented in scl::CTaskOpPosPIDA1OrderInfTime, scl::CTaskOpPos, scl::CTaskGcSet, scl::CTaskComPos, scl::CTaskGcLimitCentering, and scl::CTaskGc.
|
inlinevirtualinherited |
Gets the current goal velocity. Returns false if not supported by task.
Reimplemented in scl::CTaskOpPosPIDA1OrderInfTime, scl::CTaskOpPos, scl::CTaskGcSet, scl::CTaskComPos, and scl::CTaskGc.
|
inlinevirtualinherited |
Gets the current position. Returns false if not supported by task.
Reimplemented in scl::CTaskOpPosPIDA1OrderInfTime, scl::CTaskOpPos, scl::CTaskComPos, and scl::CTaskGcLimitCentering.
|
virtual |
Return this task controller's task data structure.
Implements scl::CTaskBase.
|
inlinevirtualinherited |
Gets the current velocity. Returns false if not supported by task.
Reimplemented in scl::CTaskOpPosPIDA1OrderInfTime, scl::CTaskOpPos, and scl::CTaskComPos.
|
inlinevirtualinherited |
Activated = All dynamic parameters and data structures are up to date and task is actively contributing to a controller.
|
inlinevirtualinherited |
Initialized = All static parameters are set and data structures are up to date. Ready to contribute to a controller.
|
virtual |
Initializes the task object. Required to set output gc force dofs
Implements scl::CTaskBase.
|
virtual |
Resets the task by removing its data. NOTE : Does not deallocate its data structure
Implements scl::CTaskBase.
Activated = All dynamic parameters and data structures are up to date and task is actively contributing to a controller.
Set to true/false during runtime to activate/deactivate task.
Returns : success/failure
|
inlinevirtualinherited |
Sets the current goal acceleration. Returns false if not supported by task.
Reimplemented in scl::CTaskOpPosContactForce, scl::CTaskOpPosPIDA1OrderInfTime, scl::CTaskOpPos, scl::CTaskGcSet, scl::CTaskComPos, and scl::CTaskGc.
|
inlinevirtualinherited |
Sets the current goal position. Returns false if not supported by task.
Reimplemented in scl::CTaskOpPosPIDA1OrderInfTime, scl::CTaskOpPos, scl::CTaskGcSet, scl::CTaskComPos, scl::CTaskGcLimitCentering, and scl::CTaskGc.
|
inlinevirtualinherited |
Sets the current goal velocity. Returns false if not supported by task.
Reimplemented in scl::CTaskOpPosContactForce, scl::CTaskOpPosPIDA1OrderInfTime, scl::CTaskOpPos, scl::CTaskGcSet, scl::CTaskComPos, and scl::CTaskGc.
|
private |
The kinematic and dynamic data required to compute any arbitrary task.
|
protectedinherited |
A Dynamics model required to compute the task's dynamics
|
protectedinherited |
Initialized = All static parameters are set and data structures are up to date.
Set to true in init()