BulletFriction information for a friction.
More...
#include <Surface.hh>
BulletFriction information for a friction.
◆ BulletFriction()
sdf::SDF_VERSION_NAMESPACE::BulletFriction::BulletFriction |
( |
| ) |
|
◆ Element()
sdf::ElementPtr sdf::SDF_VERSION_NAMESPACE::BulletFriction::Element |
( |
| ) |
const |
Get a pointer to the SDF element that was used during load.
- Returns
- SDF element pointer. The value will be nullptr if Load has not been called.
◆ Fdir1()
const gz::math::Vector3d& sdf::SDF_VERSION_NAMESPACE::BulletFriction::Fdir1 |
( |
| ) |
const |
Get the first friction pyramid direction in collision-fixed reference.
- Returns
- First friction pyramid direction.
◆ Friction()
double sdf::SDF_VERSION_NAMESPACE::BulletFriction::Friction |
( |
| ) |
const |
Get the friction coefficient in first friction pyramid direction.
- Returns
- Friction coefficient
◆ Friction2()
double sdf::SDF_VERSION_NAMESPACE::BulletFriction::Friction2 |
( |
| ) |
const |
Get the friction coefficient in second friction pyramid direction.
- Returns
- Second friction coefficient
◆ Load()
Load BulletFriction friction based on a element pointer.
This is not the usual entry point. Typical usage of the SDF DOM is through the Root object.
- Parameters
-
- Returns
- Errors, which is a vector of Error objects. Each Error includes an error code and message. An empty vector indicates no error.
◆ RollingFriction()
double sdf::SDF_VERSION_NAMESPACE::BulletFriction::RollingFriction |
( |
| ) |
const |
Get the rolling friction coefficient.
- Returns
- Rolling friction coefficient
◆ SetFdir1()
void sdf::SDF_VERSION_NAMESPACE::BulletFriction::SetFdir1 |
( |
const gz::math::Vector3d & |
_fdir | ) |
|
Set the first friction pyramid direction in collision-fixed reference.
- Parameters
-
[in] | _fdir | First friction pyramid direction. |
◆ SetFriction()
void sdf::SDF_VERSION_NAMESPACE::BulletFriction::SetFriction |
( |
double |
_friction | ) |
|
Set friction coefficient in first friction pyramid direction.
- Parameters
-
◆ SetFriction2()
void sdf::SDF_VERSION_NAMESPACE::BulletFriction::SetFriction2 |
( |
double |
_friction | ) |
|
Set friction coefficient in second friction pyramid direction.
- Parameters
-
◆ SetRollingFriction()
void sdf::SDF_VERSION_NAMESPACE::BulletFriction::SetRollingFriction |
( |
double |
_friction | ) |
|
Set the rolling friction coefficient.
- Parameters
-
[in] | _slip1 | Rolling friction coefficient |
The documentation for this class was generated from the following file: