Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
pick_visualization::Visualization Class Reference

#include <visualization.h>

Public Member Functions

void deleteBoxItemMarkers ()
 
void deleteGraspMarkers ()
 
void deleteLoadCarrierMarkers ()
 
 Visualization (const ros::NodeHandle &nh)
 
void visualizeDetectedBoxes (const std::vector< rc_pick_client::Item > &ros_boxitems)
 
void visualizeGrasps (const std::vector< rc_pick_client::SuctionGrasp > &ros_grasps)
 
void visualizeLoadCarriers (const std::vector< rc_pick_client::LoadCarrier > &ros_lcs)
 
void visualizeLoadCarriers (const std::vector< rc_pick_client::LoadCarrierWithFillingLevel > &ros_lcs)
 
 ~Visualization ()
 

Private Member Functions

void publishTf (const geometry_msgs::Pose &ros_pose, std::string frame_id, std::string id)
 
void setMarker (visualization_msgs::Marker &marker, const geometry_msgs::Pose &item_pose, const rc_pick_client::Rectangle &rectangle, std::string frame_id, int marker_id)
 

Static Private Member Functions

static void constructLoadCarrier (visualization_msgs::MarkerArray &marker_array, const rc_pick_client::LoadCarrier &lc, const int &lc_no)
 

Private Attributes

ros::Publisher box_marker_pub_
 
tf::TransformBroadcaster br_
 
ros::Publisher grasp_marker_pub_
 
ros::Publisher lc_marker_pub_
 
visualization_msgs::MarkerArray markers_boxes_
 
visualization_msgs::MarkerArray markers_grasps_
 
visualization_msgs::MarkerArray markers_lcs_
 
ros::NodeHandle nh_
 

Detailed Description

Definition at line 48 of file visualization.h.

Constructor & Destructor Documentation

pick_visualization::Visualization::Visualization ( const ros::NodeHandle nh)
explicit

Definition at line 37 of file visualization.cpp.

pick_visualization::Visualization::~Visualization ( )

Definition at line 44 of file visualization.cpp.

Member Function Documentation

void pick_visualization::Visualization::constructLoadCarrier ( visualization_msgs::MarkerArray &  marker_array,
const rc_pick_client::LoadCarrier &  lc,
const int &  lc_no 
)
staticprivate

Definition at line 61 of file visualization.cpp.

void pick_visualization::Visualization::deleteBoxItemMarkers ( )

Definition at line 160 of file visualization.cpp.

void pick_visualization::Visualization::deleteGraspMarkers ( )

Definition at line 150 of file visualization.cpp.

void pick_visualization::Visualization::deleteLoadCarrierMarkers ( )

Definition at line 140 of file visualization.cpp.

void pick_visualization::Visualization::publishTf ( const geometry_msgs::Pose ros_pose,
std::string  frame_id,
std::string  id 
)
private

Definition at line 268 of file visualization.cpp.

void pick_visualization::Visualization::setMarker ( visualization_msgs::Marker &  marker,
const geometry_msgs::Pose item_pose,
const rc_pick_client::Rectangle &  rectangle,
std::string  frame_id,
int  marker_id 
)
private

Definition at line 252 of file visualization.cpp.

void pick_visualization::Visualization::visualizeDetectedBoxes ( const std::vector< rc_pick_client::Item > &  ros_boxitems)

Definition at line 233 of file visualization.cpp.

void pick_visualization::Visualization::visualizeGrasps ( const std::vector< rc_pick_client::SuctionGrasp > &  ros_grasps)

Definition at line 210 of file visualization.cpp.

void pick_visualization::Visualization::visualizeLoadCarriers ( const std::vector< rc_pick_client::LoadCarrier > &  ros_lcs)

Definition at line 170 of file visualization.cpp.

void pick_visualization::Visualization::visualizeLoadCarriers ( const std::vector< rc_pick_client::LoadCarrierWithFillingLevel > &  ros_lcs)

Definition at line 186 of file visualization.cpp.

Member Data Documentation

ros::Publisher pick_visualization::Visualization::box_marker_pub_
private

Definition at line 102 of file visualization.h.

tf::TransformBroadcaster pick_visualization::Visualization::br_
private

Definition at line 103 of file visualization.h.

ros::Publisher pick_visualization::Visualization::grasp_marker_pub_
private

Definition at line 100 of file visualization.h.

ros::Publisher pick_visualization::Visualization::lc_marker_pub_
private

Definition at line 101 of file visualization.h.

visualization_msgs::MarkerArray pick_visualization::Visualization::markers_boxes_
private

Definition at line 106 of file visualization.h.

visualization_msgs::MarkerArray pick_visualization::Visualization::markers_grasps_
private

Definition at line 105 of file visualization.h.

visualization_msgs::MarkerArray pick_visualization::Visualization::markers_lcs_
private

Definition at line 104 of file visualization.h.

ros::NodeHandle pick_visualization::Visualization::nh_
private

Definition at line 98 of file visualization.h.


The documentation for this class was generated from the following files:


rc_pick_client
Author(s): Monika Florek-Jasinska
autogenerated on Sat Feb 13 2021 03:41:58