Struct Linear3SubhingeParams#

Inheritance Relationships#

Base Type#

Struct Documentation#

struct Linear3SubhingeParams : public Karana::Dynamics::PhysicalSubhingeParams#

Hold data related to a Linear3Subhinge.

Public Functions

Linear3SubhingeParams(bool prescribed = false, const Eigen::Matrix<double, 3, 2, Eigen::RowMajor> &range_limits = Eigen::Matrix<double, 3, 2, Eigen::RowMajor>::Constant(km::notReadyNaN))#

Linear3SubhingeParams constructor. The constructor is not meant to be called directly. Please use the create(…) method instead to create an instance.

Parameters:
  • prescribed – Whether the joint is prescribed or not

  • range_limits – The range limits for the subhinge. Signed infinity means the joint is unbounded, and NaN values are treated as unbounded.

~Linear3SubhingeParams()#

Destructor.

Linear3SubhingeParams(const Linear3SubhingeParams&) = delete#
Linear3SubhingeParams &operator=(const Linear3SubhingeParams&) = delete#

Public Members

bool prescribed = false#

Whether this Linear3Subhinge is prescribed or not.

Eigen::Matrix<double, 3, 2, Eigen::RowMajor> range_limits#

The Q range limits for the Linear3Subhinge.

Public Static Functions

static kc::ks_ptr<Linear3SubhingeParams> create(bool prescribed = false, const Eigen::Matrix<double, 3, 2, Eigen::RowMajor> &range_limits = Eigen::Matrix<double, 3, 2, Eigen::RowMajor>::Constant(km::notReadyNaN))#

Create an instance of Linear3SubhingeParams.

Parameters:
  • prescribed – Whether the joint is prescribed or not

  • range_limits – The range limits for the subhinge. Signed infinity means the joint is unbounded, and NaN values are treated as unbounded.

Returns:

A pointer to the newly created Linear3SubhingeParams.