Sampling localizes grasp affordances using importance sampling.
More...
#include <sampling.h>
Sampling localizes grasp affordances using importance sampling.
- Author
- Andreas ten Pas
Definition at line 47 of file sampling.h.
void Sampling::illustrate |
( |
const PointCloud::Ptr & |
cloud, |
|
|
double |
target_radius |
|
) |
| |
Illustrates the different sampling methods.
- Parameters
-
cloud | the point cloud |
cloudrgb | the colored point cloud |
target_radius | the target radius |
Definition at line 14 of file sampling.cpp.
Initializes the importance sampling parameters based on the parameters given by a ROS node.
- Parameters
-
Definition at line 242 of file sampling.cpp.
std::vector< CylindricalShell > Sampling::searchAffordances |
( |
const PointCloud::Ptr & |
cloud, |
|
|
double |
target_radius |
|
) |
| |
Search affordances using importance sampling.
- Parameters
-
cloud | the point cloud |
cloudrgb | the colored point cloud |
target_radius | the target radius |
Definition at line 102 of file sampling.cpp.
void Sampling::setAffordances |
( |
Affordances & |
affordances | ) |
|
|
inline |
bool Sampling::is_visualized |
|
private |
const int Sampling::METHOD = SUM |
|
staticprivate |
int Sampling::num_init_samples |
|
private |
const int Sampling::NUM_INIT_SAMPLES = 100 |
|
staticprivate |
int Sampling::num_iterations |
|
private |
const int Sampling::NUM_ITERATIONS = 10 |
|
staticprivate |
int Sampling::num_samples |
|
private |
const int Sampling::NUM_SAMPLES = 100 |
|
staticprivate |
double Sampling::prob_rand_samples |
|
private |
const double Sampling::PROB_RAND_SAMPLES = 0.2 |
|
staticprivate |
const bool Sampling::VISUALIZE_STEPS = false |
|
staticprivate |
The documentation for this class was generated from the following files: