RandomProperty Class Reference

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

IRandomSamplersampler
 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...
 

Detailed Description

Abstract class for random property.

Constructor & Destructor Documentation

RandomProperty ( IRandomSampler sampler_,
bool  additive_ 
)

Constructor.

Parameters
sampler_PRNG sampler
additive_Whether term is addictive or a scaling factor
~RandomProperty ( )
virtual

Destructor.

Member Function Documentation

void fillMsg ( DRRequest msg,
DRInterface &  api,
std::mt19937 &  gen,
std::string &  target 
)
virtual

Fill DR request message.

Parameters
msgDR request message
apiDR interface
genPRNG
targetName of target object

Reimplemented in Gravity, JointLimit, PGain, JointDampingCoefficient, FrictionCoefficient, LinkMass, and ModelScale.

Member Data Documentation

bool additive

Whether term is additive or a scaling factor.

const char CFG_TARGET_OBJ = "TARGET_OBJECT"
static

Target object yml keyword string.

IRandomSampler* sampler

Random distribution sampler.


The documentation for this class was generated from the following files: