Abstract class for random property. More...
#include <Randomiser.hh>
Public Member Functions | |
| RandomProperty (IRandomSampler *sampler_, bool additive_) | |
| Constructor. More... | |
| virtual | ~RandomProperty () |
| Destructor. More... | |
| virtual void | fillMsg (DRRequest &msg, DRInterface &api, std::mt19937 &gen, std::string &target) |
| Fill DR request message. More... | |
Public Attributes | |
| IRandomSampler * | sampler |
| Random distribution sampler. More... | |
| bool | additive |
| Whether term is additive or a scaling factor. More... | |
Static Public Attributes | |
| static const char | CFG_TARGET_OBJ [] = "TARGET_OBJECT" |
| Target object yml keyword string. More... | |
Abstract class for random property.
| RandomProperty | ( | IRandomSampler * | sampler_, |
| bool | additive_ | ||
| ) |
Constructor.
| sampler_ | PRNG sampler |
| additive_ | Whether term is addictive or a scaling factor |
|
virtual |
Destructor.
|
virtual |
Fill DR request message.
| msg | DR request message |
| api | DR interface |
| gen | PRNG |
| target | Name of target object |
Reimplemented in Gravity, JointLimit, PGain, JointDampingCoefficient, FrictionCoefficient, LinkMass, and ModelScale.
| bool additive |
Whether term is additive or a scaling factor.
|
static |
Target object yml keyword string.
| IRandomSampler* sampler |
Random distribution sampler.