![]() |
libfranka 0.18.0
FCI C++ API
|
Configuration class that holds position-based joint velocity limit parameters for all 7 joints. More...
#include <joint_velocity_limits.h>
Public Member Functions | |
| JointVelocityLimitsConfig (const std::string &urdf_string) | |
| Constructor that parses URDF string and initializes joint parameters. | |
| const PositionBasedJointVelocityLimitConstants & | operator[] (size_t joint_index) const |
| Get joint parameters for a specific joint. | |
| const std::array< PositionBasedJointVelocityLimitConstants, kNumJoints > & | getJointParams () const |
| Get all joint parameters. | |
| std::array< double, kNumJoints > | getUpperJointVelocityLimits (const std::array< double, kNumJoints > &joint_positions) const |
| Compute upper joint velocity limits based on current joint positions. | |
| std::array< double, kNumJoints > | getLowerJointVelocityLimits (const std::array< double, kNumJoints > &joint_positions) const |
| Compute lower joint velocity limits based on current joint positions. | |
Static Public Attributes | |
| static constexpr int | kNumJoints = 7 |
Configuration class that holds position-based joint velocity limit parameters for all 7 joints.
This class handles parsing URDF data, storing joint configurations, and computing velocity limits.
|
inlineexplicit |
Constructor that parses URDF string and initializes joint parameters.
| urdf_string | The URDF string to parse for joint velocity limit parameters |
|
inline |
Get all joint parameters.
| std::array< double, kNumJoints > franka::JointVelocityLimitsConfig::getLowerJointVelocityLimits | ( | const std::array< double, kNumJoints > & | joint_positions | ) | const |
Compute lower joint velocity limits based on current joint positions.
| joint_positions | Current joint positions |
| std::array< double, kNumJoints > franka::JointVelocityLimitsConfig::getUpperJointVelocityLimits | ( | const std::array< double, kNumJoints > & | joint_positions | ) | const |
Compute upper joint velocity limits based on current joint positions.
| joint_positions | Current joint positions |
|
inline |
Get joint parameters for a specific joint.
| joint_index | Index of the joint (0-6) |