hpp::core::configurationShooter::Uniform Class Reference

Uniformly sample with bounds of degrees of freedom. More...

#include <hpp/core/configuration-shooter/uniform.hh>

Inheritance diagram for hpp::core::configurationShooter::Uniform:
[legend]
Collaboration diagram for hpp::core::configurationShooter::Uniform:
[legend]

Public Member Functions

virtual void shoot (Configuration_t &q) const
 Shoot a random configuration. More...
 
void sampleExtraDOF (bool sampleExtraDOF)
 
- 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 UniformPtr_t create (const DevicePtr_t &robot)
 

Protected Member Functions

 Uniform (const DevicePtr_t &robot)
 Uniformly sample configuration space. More...
 
void init (const UniformPtr_t &self)
 
- Protected Member Functions inherited from hpp::core::ConfigurationShooter
 ConfigurationShooter ()
 
void init (const ConfigurationShooterWkPtr_t &weak)
 Store weak pointer to itself. More...
 

Detailed Description

Uniformly sample with bounds of degrees of freedom.

Constructor & Destructor Documentation

hpp::core::configurationShooter::Uniform::Uniform ( const DevicePtr_t robot)
inlineprotected

Uniformly sample configuration space.

Note that translation joints have to be bounded.

Member Function Documentation

static UniformPtr_t hpp::core::configurationShooter::Uniform::create ( const DevicePtr_t robot)
inlinestatic

References init().

void hpp::core::configurationShooter::Uniform::init ( const UniformPtr_t self)
inlineprotected
void hpp::core::configurationShooter::Uniform::sampleExtraDOF ( bool  sampleExtraDOF)
inline
virtual void hpp::core::configurationShooter::Uniform::shoot ( Configuration_t q) const
virtual

Shoot a random configuration.

Parameters
qthe configuration (resized if necessary).

Implements hpp::core::ConfigurationShooter.