Struct SphericalQuatSubhingeParams#
Defined in File PinSubhinge.h
Inheritance Relationships#
Base Type#
public Karana::Dynamics::PhysicalSubhingeParams(Struct PhysicalSubhingeParams)
Struct Documentation#
-
struct SphericalQuatSubhingeParams : public Karana::Dynamics::PhysicalSubhingeParams#
Hold data related to a SphericalQuatSubhinge.
Public Functions
-
SphericalQuatSubhingeParams(bool prescribed = false, const Eigen::Matrix<double, 4, 2, Eigen::RowMajor> &range_limits = Eigen::Matrix<double, 4, 2, Eigen::RowMajor>::Constant(km::notReadyNaN))#
SphericalQuatSubhingeParams 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.
-
~SphericalQuatSubhingeParams()#
Destructor.
-
SphericalQuatSubhingeParams(const SphericalQuatSubhingeParams&) = delete#
-
SphericalQuatSubhingeParams &operator=(const SphericalQuatSubhingeParams&) = delete#
Public Members
-
bool prescribed = false#
Whether this SphericalQuatSubhinge is prescribed or not.
-
Eigen::Matrix<double, 4, 2, Eigen::RowMajor> range_limits#
The Q range limits for the SphericalQuatSubhinge.
Public Static Functions
-
static kc::ks_ptr<SphericalQuatSubhingeParams> create(bool prescribed = false, const Eigen::Matrix<double, 4, 2, Eigen::RowMajor> &range_limits = Eigen::Matrix<double, 4, 2, Eigen::RowMajor>::Constant(km::notReadyNaN))#
Create an instance of SphericalQuatSubhingeParams.
- 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 SphericalQuatSubhingeParams.
-
SphericalQuatSubhingeParams(bool prescribed = false, const Eigen::Matrix<double, 4, 2, Eigen::RowMajor> &range_limits = Eigen::Matrix<double, 4, 2, Eigen::RowMajor>::Constant(km::notReadyNaN))#