dart
Public Member Functions | Public Attributes | List of all members
dart::dynamics::PointMass::Properties Struct Reference

Properties for each PointMass. More...

#include <PointMass.hpp>

Public Member Functions

 Properties (const Eigen::Vector3d &_X0=Eigen::Vector3d::Zero(), double _mass=0.0005, const std::vector< std::size_t > &_connections=std::vector< std::size_t >(), const Eigen::Vector3d &_positionLowerLimits=Eigen::Vector3d::Constant(-math::constantsd::inf()), const Eigen::Vector3d &_positionUpperLimits=Eigen::Vector3d::Constant(math::constantsd::inf()), const Eigen::Vector3d &_velocityLowerLimits=Eigen::Vector3d::Constant(-math::constantsd::inf()), const Eigen::Vector3d &_velocityUpperLimits=Eigen::Vector3d::Constant(math::constantsd::inf()), const Eigen::Vector3d &_accelerationLowerLimits=Eigen::Vector3d::Constant(-math::constantsd::inf()), const Eigen::Vector3d &_accelerationUpperLimits=Eigen::Vector3d::Constant(math::constantsd::inf()), const Eigen::Vector3d &_forceLowerLimits=Eigen::Vector3d::Constant(-math::constantsd::inf()), const Eigen::Vector3d &_forceUpperLimits=Eigen::Vector3d::Constant(math::constantsd::inf()))
 
void setRestingPosition (const Eigen::Vector3d &_x)
 
void setMass (double _mass)
 
bool operator== (const Properties &other) const
 
bool operator!= (const Properties &other) const
 

Public Attributes

Eigen::Vector3d mX0
 Resting position viewed in the parent SoftBodyNode frame.
 
double mMass
 Mass.
 
std::vector< std::size_t > mConnectedPointMassIndices
 Indices of connected Point Masses.
 
Eigen::Vector3d mPositionLowerLimits
 Lower limit of position.
 
Eigen::Vector3d mPositionUpperLimits
 Upper limit of position.
 
Eigen::Vector3d mVelocityLowerLimits
 Min value allowed.
 
Eigen::Vector3d mVelocityUpperLimits
 Max value allowed.
 
Eigen::Vector3d mAccelerationLowerLimits
 Min value allowed.
 
Eigen::Vector3d mAccelerationUpperLimits
 upper limit of generalized acceleration
 
Eigen::Vector3d mForceLowerLimits
 Min value allowed.
 
Eigen::Vector3d mForceUpperLimits
 Max value allowed.
 

Detailed Description

Properties for each PointMass.


The documentation for this struct was generated from the following files: