Friction coefficients random property. More...
#include <Randomiser.hh>
Public Member Functions | |
| FrictionCoefficient (IRandomSampler *sampler_, bool additive_, std::vector< std::string > &models_, std::vector< std::string > &links_, std::vector< double > &mu1_, std::vector< double > &mu2_, std::vector< double > &kp_, std::vector< double > &kd_) | |
| Constructor. More... | |
| ~FrictionCoefficient () override | |
| Destructor. More... | |
| void | fillMsg (DRRequest &msg, DRInterface &api, std::mt19937 &gen, std::string &target) override |
| Fill DR request message. More... | |
Public Member Functions inherited from RandomProperty | |
| RandomProperty (IRandomSampler *sampler_, bool additive_) | |
| Constructor. More... | |
| virtual | ~RandomProperty () |
| Destructor. More... | |
Public Attributes | |
| std::vector< std::string > | models |
| List of affected models. More... | |
| std::vector< std::string > | links |
| List of affected links. More... | |
| std::vector< double > | mu1 |
| Respective list of initial mu1. More... | |
| std::vector< double > | mu2 |
| Respective list of initial mu2. More... | |
| std::vector< double > | kp |
| Respective list of initial kp. More... | |
| std::vector< double > | kd |
| Respective list of initial kd. More... | |
Public Attributes inherited from RandomProperty | |
| IRandomSampler * | sampler |
| Random distribution sampler. More... | |
| bool | additive |
| Whether term is additive or a scaling factor. More... | |
Additional Inherited Members | |
Static Public Attributes inherited from RandomProperty | |
| static const char | CFG_TARGET_OBJ [] = "TARGET_OBJECT" |
| Target object yml keyword string. More... | |
Friction coefficients random property.
| FrictionCoefficient | ( | IRandomSampler * | sampler_, |
| bool | additive_, | ||
| std::vector< std::string > & | models_, | ||
| std::vector< std::string > & | links_, | ||
| std::vector< double > & | mu1_, | ||
| std::vector< double > & | mu2_, | ||
| std::vector< double > & | kp_, | ||
| std::vector< double > & | kd_ | ||
| ) |
Constructor.
| sampler_ | PRNG sampler |
| additive_ | Whether term is addictive or a scaling factor |
| models_ | List of affected models |
| links_ | List of affected links |
| mu1_ | List of respective mu1 |
| mu2_ | List of respective mu2 |
| kp_ | List of respective kp |
| kd_ | List of respective kd |
|
inlineoverride |
Destructor.
|
overridevirtual |
Fill DR request message.
| msg | DR request message |
| api | DR interface |
| gen | PRNG |
| target | Name of target object |
Reimplemented from RandomProperty.
| std::vector<double> kd |
Respective list of initial kd.
| std::vector<double> kp |
Respective list of initial kp.
| std::vector<std::string> links |
List of affected links.
| std::vector<std::string> models |
List of affected models.
| std::vector<double> mu1 |
Respective list of initial mu1.
| std::vector<double> mu2 |
Respective list of initial mu2.