DART  6.10.1
dart::dynamics::detail::BodyNodeAspectProperties Struct Reference

#include <BodyNodeAspect.hpp>

Public Member Functions

 BodyNodeAspectProperties (const std::string &name, const Inertia &_inertia, bool _isCollidable, double _frictionCoeff, double _restitutionCoeff, bool _gravityMode)
 Constructor. More...
 
 BodyNodeAspectProperties (const std::string &name="BodyNode", const Inertia &inertia=Inertia(), bool isCollidable=true, bool gravityMode=true)
 Constructor. More...
 
virtual ~BodyNodeAspectProperties ()=default
 

Public Attributes

std::string mName
 Name of the Entity. More...
 
Inertia mInertia
 Inertia information for the BodyNode. More...
 
bool mIsCollidable
 Indicates whether this node is collidable;. More...
 
double mFrictionCoeff
 Coefficient of friction. More...
 
double mRestitutionCoeff
 Coefficient of restitution. More...
 
bool mGravityMode
 Gravity will be applied if true. More...
 

Constructor & Destructor Documentation

◆ BodyNodeAspectProperties() [1/2]

dart::dynamics::detail::BodyNodeAspectProperties::BodyNodeAspectProperties ( const std::string &  name,
const Inertia _inertia,
bool  _isCollidable,
double  _frictionCoeff,
double  _restitutionCoeff,
bool  _gravityMode 
)

Constructor.

Deprecated:
Deprecated since DART 6.10 because the friction and restitution properties shouldn't be included in this constructor since they are deprecated.

◆ BodyNodeAspectProperties() [2/2]

dart::dynamics::detail::BodyNodeAspectProperties::BodyNodeAspectProperties ( const std::string &  name = "BodyNode",
const Inertia inertia = Inertia(),
bool  isCollidable = true,
bool  gravityMode = true 
)

Constructor.

◆ ~BodyNodeAspectProperties()

virtual dart::dynamics::detail::BodyNodeAspectProperties::~BodyNodeAspectProperties ( )
virtualdefault

Member Data Documentation

◆ mFrictionCoeff

double dart::dynamics::detail::BodyNodeAspectProperties::mFrictionCoeff

Coefficient of friction.

Deprecated:
Deprecated since DART 6.10.

Please set the friction coefficient per ShapeNode of the BodyNode. This will be removed in the next major release.

◆ mGravityMode

bool dart::dynamics::detail::BodyNodeAspectProperties::mGravityMode

Gravity will be applied if true.

◆ mInertia

Inertia dart::dynamics::detail::BodyNodeAspectProperties::mInertia

Inertia information for the BodyNode.

◆ mIsCollidable

bool dart::dynamics::detail::BodyNodeAspectProperties::mIsCollidable

Indicates whether this node is collidable;.

◆ mName

std::string dart::dynamics::detail::BodyNodeAspectProperties::mName

Name of the Entity.

◆ mRestitutionCoeff

double dart::dynamics::detail::BodyNodeAspectProperties::mRestitutionCoeff

Coefficient of restitution.

Deprecated:
Deprecated since DART 6.10.

Please set the restitution coefficient per ShapeNode of the BodyNode. This will be removed in the next major release.