Exotica
|
Joint velocity limit task map for non time-indexed problems. More...
#include <joint_velocity_limit_constraint.h>
Public Member Functions | |
void | AssignScene (ScenePtr scene) override |
void | SetPreviousJointState (Eigen::VectorXdRefConst joint_state) |
Logs current joint state. SetPreviousJointState must be called after solve is called in a Python/C++ script is called to ensure the time-derivative is appropriately approximated. More... | |
void | Update (Eigen::VectorXdRefConst x, Eigen::VectorXdRef phi) override |
void | Update (Eigen::VectorXdRefConst x, Eigen::VectorXdRef phi, Eigen::MatrixXdRef jacobian) override |
int | TaskSpaceDim () override |
Public Member Functions inherited from exotica::TaskMap | |
virtual void | InstantiateBase (const Initializer &init) |
virtual void | Update (Eigen::VectorXdRefConst q, Eigen::VectorXdRef phi, Eigen::MatrixXdRef jacobian, HessianRef hessian) |
virtual void | Update (Eigen::VectorXdRefConst x, Eigen::VectorXdRefConst u, Eigen::VectorXdRef phi) |
virtual void | Update (Eigen::VectorXdRefConst x, Eigen::VectorXdRefConst u, Eigen::VectorXdRef phi, Eigen::MatrixXdRef dphi_dx, Eigen::MatrixXdRef dphi_du) |
virtual void | Update (Eigen::VectorXdRefConst x, Eigen::VectorXdRefConst u, Eigen::VectorXdRef phi, Eigen::MatrixXdRef dphi_dx, Eigen::MatrixXdRef dphi_du, HessianRef ddphi_ddx, HessianRef ddphi_ddu, HessianRef ddphi_dxdu) |
virtual int | TaskSpaceJacobianDim () |
virtual void | PreUpdate () |
virtual std::vector< TaskVectorEntry > | GetLieGroupIndices () |
std::vector< KinematicFrameRequest > | GetFrames () const |
Public Member Functions inherited from exotica::Object | |
Object () | |
virtual | ~Object () |
virtual std::string | type () const |
Type Information wrapper: must be virtual so that it is polymorphic... More... | |
std::string | GetObjectName () |
void | InstantiateObject (const Initializer &init) |
virtual std::string | Print (const std::string &prepend) const |
Public Member Functions inherited from exotica::InstantiableBase | |
InstantiableBase ()=default | |
virtual | ~InstantiableBase ()=default |
virtual std::vector< Initializer > | GetAllTemplates () const =0 |
Public Member Functions inherited from exotica::Instantiable< JointVelocityLimitConstraintInitializer > | |
void | InstantiateInternal (const Initializer &init) override |
Initializer | GetInitializerTemplate () override |
std::vector< Initializer > | GetAllTemplates () const override |
virtual void | Instantiate (const JointVelocityLimitConstraintInitializer &init) |
const JointVelocityLimitConstraintInitializer & | GetParameters () const |
Private Attributes | |
int | N_ |
Number of dofs for robot. More... | |
int | two_times_N_ |
Two multiplied by the number of dofs for robot (task space dimension). More... | |
Eigen::VectorXd | current_joint_state_ |
Log of current joint state. More... | |
Eigen::VectorXd | joint_velocity_limits_ |
The joint velocity limits for the robot. More... | |
double | one_divided_by_dt_ |
Frequency (1/dt). More... | |
Eigen::MatrixXd | jacobian_ |
Task map jacobian matrix. More... | |
Additional Inherited Members | |
Public Attributes inherited from exotica::TaskMap | |
std::vector< KinematicSolution > | kinematics = std::vector<KinematicSolution>(1) |
int | id = -1 |
int | start = -1 |
int | length = -1 |
int | start_jacobian = -1 |
int | length_jacobian = -1 |
bool | is_used = false |
Public Attributes inherited from exotica::Object | |
std::string | ns_ |
std::string | object_name_ |
bool | debug_ |
Protected Attributes inherited from exotica::TaskMap | |
std::vector< KinematicFrameRequest > | frames_ |
ScenePtr | scene_ = nullptr |
Protected Attributes inherited from exotica::Instantiable< JointVelocityLimitConstraintInitializer > | |
JointVelocityLimitConstraintInitializer | parameters_ |
Joint velocity limit task map for non time-indexed problems.
JointVelocityLimitConstraint constrains the joint velocity within a specified percentage of the velocity limit.
|
overridevirtual |
Reimplemented from exotica::TaskMap.
void exotica::JointVelocityLimitConstraint::SetPreviousJointState | ( | Eigen::VectorXdRefConst | joint_state | ) |
Logs current joint state. SetPreviousJointState must be called after solve is called in a Python/C++ script is called to ensure the time-derivative is appropriately approximated.
|
overridevirtual |
Implements exotica::TaskMap.
|
overridevirtual |
Implements exotica::TaskMap.
|
overridevirtual |
Reimplemented from exotica::TaskMap.
|
private |
Log of current joint state.
|
private |
Task map jacobian matrix.
|
private |
The joint velocity limits for the robot.
|
private |
Number of dofs for robot.
|
private |
Frequency (1/dt).
|
private |
Two multiplied by the number of dofs for robot (task space dimension).