Sample configuration using a gaussian distribution around a configuration. More...
#include <hpp/core/configuration-shooter/gaussian.hh>
Public Member Functions | |
| virtual void | shoot (Configuration_t &q) const |
| Shoot a random configuration. More... | |
| void | center (ConfigurationIn_t c) |
| const Configuration_t & | center () const |
| void | sigma (const value_type &factor) |
| Set the standard deviation proportional to a default value. More... | |
| void | sigmas (vectorIn_t s) |
| const vector_t & | sigmas () const |
Public Member Functions inherited from hpp::core::ConfigurationShooter | |
| virtual ConfigurationPtr_t | shoot () const |
| Shoot a random configuration. More... | |
| virtual | ~ConfigurationShooter () |
Static Public Member Functions | |
| static GaussianPtr_t | create (const DevicePtr_t &robot) |
Protected Member Functions | |
| Gaussian (const DevicePtr_t &robot) | |
| Create a gaussian distribution centered in the robot current configuration. More... | |
| void | init (const GaussianPtr_t &self) |
Protected Member Functions inherited from hpp::core::ConfigurationShooter | |
| ConfigurationShooter () | |
| void | init (const ConfigurationShooterWkPtr_t &weak) |
| Store weak pointer to itself. More... | |
Sample configuration using a gaussian distribution around a configuration.
|
inlineprotected |
Create a gaussian distribution centered in the robot current configuration.
The standard deviation is computed as sigma(0.25)
|
inline |
|
inline |
|
inlinestatic |
References init().
|
inlineprotected |
References hpp::core::ConfigurationShooter::init().
Referenced by create().
|
virtual |
Shoot a random configuration.
| q | the configuration (resized if necessary). |
Implements hpp::core::ConfigurationShooter.
| void hpp::core::configurationShooter::Gaussian::sigma | ( | const value_type & | factor | ) |
Set the standard deviation proportional to a default value.
The default value is:
|
inline |
|
inline |