|
Flat Object Grasping Library (FOG)
0.2.1
|
Visualizes in RViz FOG models. In order to see the models, add in your RViz configuration a PointCloud2 panel with the point cloud topic name and a MarkerArray with the rviz_topic that you initialize the class. More...
#include <fog/rvisualizer.h>
Inheritance diagram for fog::RVisualizer:
Collaboration diagram for fog::RVisualizer:Public Member Functions | |
| RVisualizer (const std::string &the_point_cloud_topic, const std::string &rviz_topic, const unsigned int nr_point_clouds=1) | |
| The default constructor. More... | |
| ~RVisualizer () | |
| void | visualizeFogObject (const Object &object) |
| Visualizes a FOG object. More... | |
| void | visualizeFogSurface (const Surface &surface) |
| Visualizes a FOG surface. More... | |
| void | visualizeFogObjectSurfaceCombination (const ObjectSurfaceCombination &combination) |
| Visualizes a FOG object-surface combination. More... | |
| void | visualizeInitialGraspState (const InitialGraspState &igs, double length=0.01, double width=0.001) |
| Visualizes a FOG IGS. More... | |
| void | visualizeInitialGraspStates (const std::vector< InitialGraspState > &igs) |
| void | visualizePointCloud (const pcl::PointCloud< pcl::PointXYZ > &point_cloud, unsigned int index=0) |
| Visualizes a point cloud. More... | |
Private Attributes | |
| std::vector< ros::Publisher > | point_cloud_publisher |
| std::string | point_cloud_topic |
Visualizes in RViz FOG models. In order to see the models, add in your RViz configuration a PointCloud2 panel with the point cloud topic name and a MarkerArray with the rviz_topic that you initialize the class.
| fog::RVisualizer::RVisualizer | ( | const std::string & | the_point_cloud_topic, |
| const std::string & | rviz_topic, | ||
| const unsigned int | nr_point_clouds = 1 |
||
| ) |
The default constructor.
| the_point_cloud_topic | The name of the topic that point cloud will be published. |
| rviz_topic | The name of the topic for everythin else shown in a MarkerArray panel. |
| fog::RVisualizer::~RVisualizer | ( | ) |
| void fog::RVisualizer::visualizeFogObject | ( | const Object & | object | ) |
Visualizes a FOG object.
| object | The FOG object. |
Here is the call graph for this function:| void fog::RVisualizer::visualizeFogObjectSurfaceCombination | ( | const ObjectSurfaceCombination & | combination | ) |
Visualizes a FOG object-surface combination.
| combination | The FOG object-surface combination. |
Here is the call graph for this function:| void fog::RVisualizer::visualizeFogSurface | ( | const Surface & | surface | ) |
Visualizes a FOG surface.
| surface | The FOG surface. |
| void fog::RVisualizer::visualizeInitialGraspState | ( | const InitialGraspState & | igs, |
| double | length = 0.01, |
||
| double | width = 0.001 |
||
| ) |
Visualizes a FOG IGS.
| igs | The FOG IGS. |
| void fog::RVisualizer::visualizeInitialGraspStates | ( | const std::vector< InitialGraspState > & | igs | ) |
Here is the call graph for this function:| void fog::RVisualizer::visualizePointCloud | ( | const pcl::PointCloud< pcl::PointXYZ > & | point_cloud, |
| unsigned int | index = 0 |
||
| ) |
Visualizes a point cloud.
| point_cloud | The point cloud. |
|
private |
|
private |