Go to the documentation of this file.
17 #ifndef SDF_SURFACE_HH_
18 #define SDF_SURFACE_HH_
20 #include <gz/math/Vector3.hh>
21 #include <gz/utils/ImplPtr.hh>
30 inline namespace SDF_VERSION_NAMESPACE {
53 public: uint16_t CollideBitmask()
const;
56 public:
void SetCollideBitmask(
const uint16_t _bitmask);
59 GZ_UTILS_IMPL_PTR(dataPtr)
78 public:
double Mu()
const;
82 public:
void SetMu(
double _mu);
86 public:
double Mu2()
const;
90 public:
void SetMu2(
double _mu2);
94 public:
const gz::math::Vector3d &Fdir1()
const;
98 public:
void SetFdir1(
const gz::math::Vector3d &_fdir);
102 public:
double Slip1()
const;
106 public:
void SetSlip1(
double _slip1);
110 public:
double Slip2()
const;
114 public:
void SetSlip2(
double _slip2);
123 GZ_UTILS_IMPL_PTR(dataPtr)
146 public:
void SetFriction(
double _friction);
151 public:
double Friction2()
const;
155 public:
void SetFriction2(
double _friction);
160 public:
const gz::math::Vector3d &Fdir1()
const;
165 public:
void SetFdir1(
const gz::math::Vector3d &_fdir);
169 public:
double RollingFriction()
const;
173 public:
void SetRollingFriction(
double _friction);
182 GZ_UTILS_IMPL_PTR(dataPtr)
201 public:
double Coefficient()
const;
205 public:
void SetCoefficient(
double _coefficient);
210 public:
bool UsePatchRadius()
const;
216 public:
void SetUsePatchRadius(
bool _usePatchRadius);
220 public:
double PatchRadius()
const;
224 public:
void SetPatchRadius(
double _radius);
228 public:
double SurfaceRadius()
const;
232 public:
void SetSurfaceRadius(
double _radius);
236 public:
double ODESlip()
const;
240 public:
void SetODESlip(
double _slip);
249 GZ_UTILS_IMPL_PTR(dataPtr)
273 public:
void SetODE(
const sdf::ODE &_ode);
300 GZ_UTILS_IMPL_PTR(dataPtr)
357 GZ_UTILS_IMPL_PTR(dataPtr)
Friction information for a surface.
Definition: Surface.hh:253
ODE information for a friction.
Definition: Surface.hh:63
namespace for Simulation Description Format parser
Definition: Actor.hh:34
BulletFriction information for a friction.
Definition: Surface.hh:127
Surface information for a collision.
Definition: Surface.hh:304
#define SDFORMAT_VISIBLE
Definition: system_util.hh:25
class GZ_SDFORMAT_VISIBLE Element
Definition: Element.hh:51
Torsional friction.
Definition: Surface.hh:186
std::vector< Error > Errors
A vector of Error.
Definition: Types.hh:80
std::shared_ptr< Element > ElementPtr
Definition: Element.hh:55