ContactProperties.hh
Go to the documentation of this file.
111 ::World<PolicyT, FeaturesT>::ShapePtrType;
146 ::Implementation<PolicyT>::ContactInternal;
std::optional< typename PolicyT::Scalar > errorReductionParameter
Joint error reduction parameter. This is the fraction of the joint error that will be attempted to be...
Definition: ContactProperties.hh:93
std::optional< typename PolicyT::Scalar > frictionCoeff
Coefficient of friction along the 1st friction direction.
Definition: ContactProperties.hh:49
If your feature is known to require any other features, then you should have your feature class inher...
Definition: FeatureList.hh:108
GetContactsFromLastStepFeature is a feature for retrieving the list of contacts generated in the prev...
Definition: GetContacts.hh:33
std::optional< typename PolicyT::Scalar > secondarySlipCompliance
Force-dependent slip coefficient along the 2nd friction direction.
Definition: ContactProperties.hh:69
ignition::physics::SetContactPropertiesCallbackFeature::ContactSurfaceParams::secondaryFrictionCoeff
std::optional< typename PolicyT::Scalar > secondaryFrictionCoeff
Coefficient of friction along the 2nd friction direction.
Definition: ContactProperties.hh:52
std::optional< typename PolicyT::Scalar > restitutionCoeff
Defines the bounciness of the contact. 0 is not bouncy. Values between 0 and 1 are allowed...
Definition: ContactProperties.hh:73
std::optional< typename FromPolicy< PolicyT >::template Use< Vector > > contactSurfaceMotionVelocity
Desired velocity of the colliding bodies in the contact point. Setting this to non-zero asks the phys...
Definition: ContactProperties.hh:88
STL class.
std::optional< typename FromPolicy< PolicyT >::template Use< Vector > > firstFrictionalDirection
The first frictional direction. It should be perpendicular to the contact normal. The second friction...
Definition: ContactProperties.hh:79
std::optional< typename PolicyT::Scalar > secondaryRollingFrictionCoeff
Coefficient of rolling friction along the 2nd friction direction.
Definition: ContactProperties.hh:58
std::optional< typename PolicyT::Scalar > slipCompliance
Force-dependent slip coefficient along the 1st friction direction.
Definition: ContactProperties.hh:65
Definition: ContactProperties.hh:108
Definition: ContactProperties.hh:143
std::function< void(const typename GetContactsFromLastStepFeature::World< PolicyT, FeaturesT >::Contact &, size_t, ContactSurfaceParams< PolicyT > &) > SurfaceParamsCallback
This callback is called for every detected contact point and allows customizing properties of the con...
Definition: ContactProperties.hh:131
Placeholder class in case a Feature does not define its own World API.
Definition: Feature.hh:49
std::function< void(const ContactImpl &, size_t, ContactSurfaceParams< PolicyT > &) > SurfaceParamsCallback
Definition: ContactProperties.hh:150
Definition: Feature.hh:92
typename GetContactsFromLastStepFeature ::World< PolicyT, FeaturesT >::ShapePtrType ShapePtrType
Definition: ContactProperties.hh:111
typename GetContactsFromLastStepFeature ::Implementation< PolicyT >::ContactInternal ContactImpl
Definition: ContactProperties.hh:146
std::optional< typename PolicyT::Scalar > maxErrorAllowance
Maximum joint error for which no error reduction is performed.
Definition: ContactProperties.hh:99
std::optional< typename PolicyT::Scalar > maxErrorReductionVelocity
Maximum velocity that can be used to reduce joint error.
Definition: ContactProperties.hh:96
This struct gets filled by the simulator and contains various properties of a contact joint (surface...
Definition: ContactProperties.hh:46
SetContactPropertiesCallbackFeature is a feature for setting the properties of a contact after it is ...
Definition: ContactProperties.hh:37
ignition::physics::SetContactPropertiesCallbackFeature::ContactSurfaceParams::torsionalFrictionCoeff
std::optional< typename PolicyT::Scalar > torsionalFrictionCoeff
Coefficient of torsional friction.
Definition: ContactProperties.hh:61
std::optional< typename PolicyT::Scalar > rollingFrictionCoeff
Coefficient of rolling friction along the 1st friction direction.
Definition: ContactProperties.hh:55
std::optional< typename PolicyT::Scalar > constraintForceMixing
Constraint force mixing. This should be a non-negative number. If greater than 0, this number is adde...
Definition: ContactProperties.hh:104