Public Member Functions | Private Member Functions | Private Attributes | List of all members
VIZ::ISMPosePredictionVisualizerRVIZ Class Reference

#include <ism_pose_prediction_visualizer_rviz.hpp>

Inheritance diagram for VIZ::ISMPosePredictionVisualizerRVIZ:
Inheritance graph
[legend]

Public Member Functions

void addVisualization (ISM::RecognitionResultPtr result, asr_msgs::AsrAttributedPointCloud attributed_point_cloud, bool valid_position_viz)
 
void calculateDistColor (ISM::ObjectPtr camera_object_ptr)
 
void clearAllMarkerOfTopic ()
 deletes all markers of topic and sets update to false More...
 
void dynamicReconfCallback (asr_ism_visualizations::ism_pose_prediction_visualizerConfig &config, uint32_t level)
 
void dynamicReconfCallbackVP (asr_ism_visualizations::ism_valid_position_visualizerConfig &config, uint32_t level)
 
 ISMPosePredictionVisualizerRVIZ (const ros::Publisher &publisher, double bin_size, double max_projection_angle_deviation, const std::map< std::string, boost::filesystem::path > type_to_ressource_path_map, const ros::NodeHandle &nh, const ros::NodeHandle &nh_vp)
 
void nextObject ()
 increments object counter and uptates object marker More...
 
void nextPose ()
 increments posecounter and uptates object marker More...
 
void prevObject ()
 
void prevPose ()
 
void releaseCallback ()
 
void setGlobalParams (double marker_lifetime, std::string base_frame)
 
 ~ISMPosePredictionVisualizerRVIZ ()
 
- Public Member Functions inherited from VIZ::VisualizerRVIZ
void clearAllMarkerOfTopic ()
 
void publishCollectedMarkers ()
 
 VisualizerRVIZ (const ros::Publisher &publisher)
 

Private Member Functions

MarkerArray generatePredictionMarker (ISM::RecognitionResultPtr result)
 generates prediction markers More...
 
MarkerArray generateValidPositions (ISM::RecognitionResultPtr result)
 generates markers for validPositionSpace visualization More...
 
void updateObjectMarker ()
 updates marker of selected object More...
 

Private Attributes

double axis_scale_
 
std::string base_frame_
 PP stuff. More...
 
std::vector< ColorRGBAdist_color_
 
std::map< int, ISM::Object > id_to_object_name_map_
 
double line_scale_
 
double marker_lifetime_
 
double max_angle_in_overlay_
 
double max_angle_scale_
 
double max_distance_in_overlay_
 
std::map< std::string, boost::filesystem::path > mesh_resource_paths_
 
std::string object_axis_map_
 VP stuff. More...
 
int object_counter_
 
int object_sampels_
 
std::map< ISM::Object, std::vector< ISM::PosePtr > > object_type_to_poses_map_
 
int pose_counter_
 
double pose_prediction_alpha_
 
double pose_prediction_value_
 
dynamic_reconfigure::Server< asr_ism_visualizations::ism_pose_prediction_visualizerConfig > * reconfigure_server_
 
dynamic_reconfigure::Server< asr_ism_visualizations::ism_valid_position_visualizerConfig > * reconfigure_server_vp_
 
double sample_alpha_
 
double sample_scale_
 
double sample_value_
 
double sphere_radius_
 
bool update = false
 

Additional Inherited Members

- Protected Member Functions inherited from VIZ::VisualizerRVIZ
void addMarker (visualization_msgs::Marker marker)
 
void addMarker (visualization_msgs::MarkerArray markers)
 
void publishMarkers ()
 

Detailed Description

Definition at line 36 of file ism_pose_prediction_visualizer_rviz.hpp.

Constructor & Destructor Documentation

VIZ::ISMPosePredictionVisualizerRVIZ::ISMPosePredictionVisualizerRVIZ ( const ros::Publisher publisher,
double  bin_size,
double  max_projection_angle_deviation,
const std::map< std::string, boost::filesystem::path >  type_to_ressource_path_map,
const ros::NodeHandle nh,
const ros::NodeHandle nh_vp 
)
inline

Definition at line 39 of file ism_pose_prediction_visualizer_rviz.hpp.

VIZ::ISMPosePredictionVisualizerRVIZ::~ISMPosePredictionVisualizerRVIZ ( )
inline

Definition at line 54 of file ism_pose_prediction_visualizer_rviz.hpp.

Member Function Documentation

void VIZ::ISMPosePredictionVisualizerRVIZ::addVisualization ( ISM::RecognitionResultPtr  result,
asr_msgs::AsrAttributedPointCloud  attributed_point_cloud,
bool  valid_position_viz 
)

generates and publish prediction markers

Parameters
resultresult of the given attributed point cloud
attributedPointCloudattributedPointCloud calculated in posepredictin ism

Definition at line 48 of file ism_pose_prediction_visualizer_rviz.cpp.

void VIZ::ISMPosePredictionVisualizerRVIZ::calculateDistColor ( ISM::ObjectPtr  camera_object_ptr)

calculates distance color

Parameters
cameraObjectPtrpose and type of recognized object

Definition at line 198 of file ism_pose_prediction_visualizer_rviz.cpp.

void VIZ::ISMPosePredictionVisualizerRVIZ::clearAllMarkerOfTopic ( )
inline

deletes all markers of topic and sets update to false

Definition at line 112 of file ism_pose_prediction_visualizer_rviz.hpp.

void VIZ::ISMPosePredictionVisualizerRVIZ::dynamicReconfCallback ( asr_ism_visualizations::ism_pose_prediction_visualizerConfig &  config,
uint32_t  level 
)
inline

Definition at line 65 of file ism_pose_prediction_visualizer_rviz.hpp.

void VIZ::ISMPosePredictionVisualizerRVIZ::dynamicReconfCallbackVP ( asr_ism_visualizations::ism_valid_position_visualizerConfig &  config,
uint32_t  level 
)
inline

Definition at line 76 of file ism_pose_prediction_visualizer_rviz.hpp.

MarkerArray VIZ::ISMPosePredictionVisualizerRVIZ::generatePredictionMarker ( ISM::RecognitionResultPtr  result)
private

generates prediction markers

Definition at line 243 of file ism_pose_prediction_visualizer_rviz.cpp.

MarkerArray VIZ::ISMPosePredictionVisualizerRVIZ::generateValidPositions ( ISM::RecognitionResultPtr  result)
private

generates markers for validPositionSpace visualization

Definition at line 108 of file ism_pose_prediction_visualizer_rviz.cpp.

void VIZ::ISMPosePredictionVisualizerRVIZ::nextObject ( )

increments object counter and uptates object marker

Definition at line 268 of file ism_pose_prediction_visualizer_rviz.cpp.

void VIZ::ISMPosePredictionVisualizerRVIZ::nextPose ( )

increments posecounter and uptates object marker

Definition at line 286 of file ism_pose_prediction_visualizer_rviz.cpp.

void VIZ::ISMPosePredictionVisualizerRVIZ::prevObject ( )

Definition at line 277 of file ism_pose_prediction_visualizer_rviz.cpp.

void VIZ::ISMPosePredictionVisualizerRVIZ::prevPose ( )

Definition at line 293 of file ism_pose_prediction_visualizer_rviz.cpp.

void VIZ::ISMPosePredictionVisualizerRVIZ::releaseCallback ( )
inline

Definition at line 58 of file ism_pose_prediction_visualizer_rviz.hpp.

void VIZ::ISMPosePredictionVisualizerRVIZ::setGlobalParams ( double  marker_lifetime,
std::string  base_frame 
)
inline

Definition at line 88 of file ism_pose_prediction_visualizer_rviz.hpp.

void VIZ::ISMPosePredictionVisualizerRVIZ::updateObjectMarker ( )
private

updates marker of selected object

Definition at line 163 of file ism_pose_prediction_visualizer_rviz.cpp.

Member Data Documentation

double VIZ::ISMPosePredictionVisualizerRVIZ::axis_scale_
private

Definition at line 130 of file ism_pose_prediction_visualizer_rviz.hpp.

std::string VIZ::ISMPosePredictionVisualizerRVIZ::base_frame_
private

PP stuff.

Definition at line 128 of file ism_pose_prediction_visualizer_rviz.hpp.

std::vector<ColorRGBA> VIZ::ISMPosePredictionVisualizerRVIZ::dist_color_
private

Definition at line 157 of file ism_pose_prediction_visualizer_rviz.hpp.

std::map<int, ISM::Object> VIZ::ISMPosePredictionVisualizerRVIZ::id_to_object_name_map_
private

Definition at line 155 of file ism_pose_prediction_visualizer_rviz.hpp.

double VIZ::ISMPosePredictionVisualizerRVIZ::line_scale_
private

Definition at line 131 of file ism_pose_prediction_visualizer_rviz.hpp.

double VIZ::ISMPosePredictionVisualizerRVIZ::marker_lifetime_
private

Definition at line 129 of file ism_pose_prediction_visualizer_rviz.hpp.

double VIZ::ISMPosePredictionVisualizerRVIZ::max_angle_in_overlay_
private

Definition at line 133 of file ism_pose_prediction_visualizer_rviz.hpp.

double VIZ::ISMPosePredictionVisualizerRVIZ::max_angle_scale_
private

Definition at line 149 of file ism_pose_prediction_visualizer_rviz.hpp.

double VIZ::ISMPosePredictionVisualizerRVIZ::max_distance_in_overlay_
private

Definition at line 132 of file ism_pose_prediction_visualizer_rviz.hpp.

std::map<std::string, boost::filesystem::path> VIZ::ISMPosePredictionVisualizerRVIZ::mesh_resource_paths_
private

Definition at line 153 of file ism_pose_prediction_visualizer_rviz.hpp.

std::string VIZ::ISMPosePredictionVisualizerRVIZ::object_axis_map_
private

VP stuff.

Definition at line 142 of file ism_pose_prediction_visualizer_rviz.hpp.

int VIZ::ISMPosePredictionVisualizerRVIZ::object_counter_
private

Definition at line 137 of file ism_pose_prediction_visualizer_rviz.hpp.

int VIZ::ISMPosePredictionVisualizerRVIZ::object_sampels_
private

Definition at line 143 of file ism_pose_prediction_visualizer_rviz.hpp.

std::map<ISM::Object, std::vector<ISM::PosePtr> > VIZ::ISMPosePredictionVisualizerRVIZ::object_type_to_poses_map_
private

Definition at line 154 of file ism_pose_prediction_visualizer_rviz.hpp.

int VIZ::ISMPosePredictionVisualizerRVIZ::pose_counter_
private

Definition at line 138 of file ism_pose_prediction_visualizer_rviz.hpp.

double VIZ::ISMPosePredictionVisualizerRVIZ::pose_prediction_alpha_
private

Definition at line 146 of file ism_pose_prediction_visualizer_rviz.hpp.

double VIZ::ISMPosePredictionVisualizerRVIZ::pose_prediction_value_
private

Definition at line 147 of file ism_pose_prediction_visualizer_rviz.hpp.

dynamic_reconfigure::Server<asr_ism_visualizations::ism_pose_prediction_visualizerConfig>* VIZ::ISMPosePredictionVisualizerRVIZ::reconfigure_server_
private

Definition at line 158 of file ism_pose_prediction_visualizer_rviz.hpp.

dynamic_reconfigure::Server<asr_ism_visualizations::ism_valid_position_visualizerConfig>* VIZ::ISMPosePredictionVisualizerRVIZ::reconfigure_server_vp_
private

Definition at line 159 of file ism_pose_prediction_visualizer_rviz.hpp.

double VIZ::ISMPosePredictionVisualizerRVIZ::sample_alpha_
private

Definition at line 145 of file ism_pose_prediction_visualizer_rviz.hpp.

double VIZ::ISMPosePredictionVisualizerRVIZ::sample_scale_
private

Definition at line 135 of file ism_pose_prediction_visualizer_rviz.hpp.

double VIZ::ISMPosePredictionVisualizerRVIZ::sample_value_
private

Definition at line 144 of file ism_pose_prediction_visualizer_rviz.hpp.

double VIZ::ISMPosePredictionVisualizerRVIZ::sphere_radius_
private

Definition at line 148 of file ism_pose_prediction_visualizer_rviz.hpp.

bool VIZ::ISMPosePredictionVisualizerRVIZ::update = false
private

Definition at line 139 of file ism_pose_prediction_visualizer_rviz.hpp.


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


asr_ism_visualizations
Author(s): Hanselmann Fabian, Heller Florian, Heizmann Heinrich, Kübler Marcel, Meißner Pascal, Reckling Reno, Stöckle Patrick, Trautmann Jeremias
autogenerated on Fri Nov 8 2019 03:28:47