DART
6.10.1
|
#include <ShapeFrame.hpp>
Public Types | |
using | Base = common::AspectWithVersionedProperties< DynamicsAspect, detail::DynamicsAspectProperties, ShapeFrame > |
using | Derived = DerivedT |
using | PropertiesData = PropertiesDataT |
using | CompositeType = CompositeT |
using | Properties = Aspect::MakeProperties< PropertiesData > |
using | AspectImplementation = AspectWithVersionedProperties< Base, Derived, PropertiesData, CompositeT, updateProperties > |
Public Member Functions | |
DynamicsAspect (const DynamicsAspect &)=delete | |
DynamicsAspect (const PropertiesData &properties=PropertiesData()) | |
void | setFrictionCoeff (const double &value) |
Set both primary and secondary friction coefficients to the same value. More... | |
double | getFrictionCoeff () const |
Get average of primary and secondary friction coefficients. More... | |
void | setPrimaryFrictionCoeff (const double &value) |
const double & | getPrimaryFrictionCoeff () const |
void | setSecondaryFrictionCoeff (const double &value) |
const double & | getSecondaryFrictionCoeff () const |
void | setRestitutionCoeff (const double &value) |
const double & | getRestitutionCoeff () const |
void | setPrimarySlipCompliance (const double &value) |
Slip compliance parameters act as constraint force mixing (cfm) for the friction constraints. More... | |
const double & | getPrimarySlipCompliance () const |
void | setSecondarySlipCompliance (const double &value) |
const double & | getSecondarySlipCompliance () const |
void | setFirstFrictionDirectionFrame (const Frame *value) |
Set the frame for interpreting the first friction direction vector. More... | |
const Frame * | getFirstFrictionDirectionFrame () const |
Get the frame for the first friction direction vector. More... | |
void | setFirstFrictionDirection (const Eigen::Vector3d &value) |
const Eigen::Vector3d & | getFirstFrictionDirection () const |
void | setAspectProperties (const Aspect::Properties &someProperties) override final |
const Aspect::Properties * | getAspectProperties () const override final |
void | setProperties (const PropertiesData &properties) |
Set the Properties of this Aspect. More... | |
const Properties & | getProperties () const |
Get the Properties of this Aspect. More... | |
std::unique_ptr< Aspect > | cloneAspect () const override |
std::size_t | incrementVersion () |
Increment the version of this Aspect and its Composite. More... | |
void | notifyPropertiesUpdate () |
Call UpdateProperties(this) and incrementVersion() More... | |
void | notifyPropertiesUpdated () |
Call UpdateProperties(this) and incrementVersion() More... | |
Static Public Attributes | |
constexpr static void(* | UpdateProperties )(Derived *) = updateProperties |
Protected Attributes | |
Properties | mProperties |
Properties of this Aspect. More... | |
|
inherited |
using dart::dynamics::DynamicsAspect::Base = common::AspectWithVersionedProperties< DynamicsAspect, detail::DynamicsAspectProperties, ShapeFrame> |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
delete |
dart::dynamics::DynamicsAspect::DynamicsAspect | ( | const PropertiesData & | properties = PropertiesData() | ) |
|
overrideinherited |
|
finaloverrideinherited |
|
inline |
const Frame * dart::dynamics::DynamicsAspect::getFirstFrictionDirectionFrame | ( | ) | const |
Get the frame for the first friction direction vector.
double dart::dynamics::DynamicsAspect::getFrictionCoeff | ( | ) | const |
Get average of primary and secondary friction coefficients.
const double & dart::dynamics::DynamicsAspect::getPrimaryFrictionCoeff | ( | ) | const |
|
inline |
|
inherited |
Get the Properties of this Aspect.
|
inline |
|
inline |
|
inline |
|
inherited |
Increment the version of this Aspect and its Composite.
|
inherited |
Call UpdateProperties(this) and incrementVersion()
|
inherited |
Call UpdateProperties(this) and incrementVersion()
|
finaloverrideinherited |
|
inline |
void dart::dynamics::DynamicsAspect::setFirstFrictionDirectionFrame | ( | const Frame * | value | ) |
Set the frame for interpreting the first friction direction vector.
The frame pointer defaults to nullptr, which is interpreted as this ShapeFrame.
void dart::dynamics::DynamicsAspect::setFrictionCoeff | ( | const double & | value | ) |
Set both primary and secondary friction coefficients to the same value.
void dart::dynamics::DynamicsAspect::setPrimaryFrictionCoeff | ( | const double & | value | ) |
|
inline |
Slip compliance parameters act as constraint force mixing (cfm) for the friction constraints.
They start with a default value of -1.0 and will be ignored in favor of the global default value unless explicitly set to a positive value.
|
inherited |
Set the Properties of this Aspect.
|
inline |
|
inline |
|
inline |
|
protectedinherited |
Properties of this Aspect.
|
staticconstexprinherited |