Classes | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
sick_scan::SickScanMarker Class Reference

#include <sick_scan_marker.h>

Classes

class  FieldInfo
 

Public Member Functions

 SickScanMarker (ros::NodeHandle *nh=0, const std::string &marker_topic="", const std::string &marker_frame_id="")
 
void updateMarker (const std::vector< SickScanMonField > &fields, int fieldset, int eval_field_logic)
 
void updateMarker (sick_scan::LIDoutputstateMsg &msg, int eval_field_logic)
 
void updateMarker (sick_scan::LFErecMsg &msg, int eval_field_logic)
 
virtual ~SickScanMarker ()
 

Protected Member Functions

std::vector< visualization_msgs::Marker > createMonFieldLegend (const std::vector< FieldInfo > &field_info)
 
std::vector< visualization_msgs::Marker > createMonFieldMarker (const std::vector< FieldInfo > &field_info)
 
std::vector< visualization_msgs::Marker > createMonFieldsetLegend (int fieldset)
 
std::vector< visualization_msgs::Marker > createOutputStateLegend (const std::vector< std::string > &output_state, const std::vector< std::string > &output_count, const std::vector< std_msgs::ColorRGBA > &output_colors)
 
void publishMarker (void)
 

Protected Attributes

std::string m_frame_id
 
float m_marker_output_legend_offset_x
 
ros::Publisher m_marker_publisher
 
std::vector< visualization_msgs::Marker > m_scan_fieldset_legend
 
std::vector< visualization_msgs::Marker > m_scan_mon_field_legend
 
std::vector< visualization_msgs::Marker > m_scan_mon_field_marker
 
std::vector< sick_scan::SickScanMonFieldm_scan_mon_fields
 
int m_scan_mon_fieldset
 
std::vector< visualization_msgs::Marker > m_scan_outputstate_legend
 

Detailed Description

Definition at line 53 of file sick_scan_marker.h.

Constructor & Destructor Documentation

sick_scan::SickScanMarker::SickScanMarker ( ros::NodeHandle nh = 0,
const std::string &  marker_topic = "",
const std::string &  marker_frame_id = "" 
)

Definition at line 79 of file sick_scan_marker.cpp.

sick_scan::SickScanMarker::~SickScanMarker ( )
virtual

Definition at line 89 of file sick_scan_marker.cpp.

Member Function Documentation

std::vector< visualization_msgs::Marker > sick_scan::SickScanMarker::createMonFieldLegend ( const std::vector< FieldInfo > &  field_info)
protected

Definition at line 372 of file sick_scan_marker.cpp.

std::vector< visualization_msgs::Marker > sick_scan::SickScanMarker::createMonFieldMarker ( const std::vector< FieldInfo > &  field_info)
protected

Definition at line 242 of file sick_scan_marker.cpp.

std::vector< visualization_msgs::Marker > sick_scan::SickScanMarker::createMonFieldsetLegend ( int  fieldset)
protected

Definition at line 414 of file sick_scan_marker.cpp.

std::vector< visualization_msgs::Marker > sick_scan::SickScanMarker::createOutputStateLegend ( const std::vector< std::string > &  output_state,
const std::vector< std::string > &  output_count,
const std::vector< std_msgs::ColorRGBA > &  output_colors 
)
protected

Definition at line 450 of file sick_scan_marker.cpp.

void sick_scan::SickScanMarker::publishMarker ( void  )
protected

Definition at line 203 of file sick_scan_marker.cpp.

void sick_scan::SickScanMarker::updateMarker ( const std::vector< SickScanMonField > &  fields,
int  fieldset,
int  eval_field_logic 
)

Definition at line 93 of file sick_scan_marker.cpp.

void sick_scan::SickScanMarker::updateMarker ( sick_scan::LIDoutputstateMsg &  msg,
int  eval_field_logic 
)

Definition at line 110 of file sick_scan_marker.cpp.

void sick_scan::SickScanMarker::updateMarker ( sick_scan::LFErecMsg &  msg,
int  eval_field_logic 
)

Definition at line 152 of file sick_scan_marker.cpp.

Member Data Documentation

std::string sick_scan::SickScanMarker::m_frame_id
protected

Definition at line 87 of file sick_scan_marker.h.

float sick_scan::SickScanMarker::m_marker_output_legend_offset_x
protected

Definition at line 95 of file sick_scan_marker.h.

ros::Publisher sick_scan::SickScanMarker::m_marker_publisher
protected

Definition at line 88 of file sick_scan_marker.h.

std::vector<visualization_msgs::Marker> sick_scan::SickScanMarker::m_scan_fieldset_legend
protected

Definition at line 93 of file sick_scan_marker.h.

std::vector<visualization_msgs::Marker> sick_scan::SickScanMarker::m_scan_mon_field_legend
protected

Definition at line 92 of file sick_scan_marker.h.

std::vector<visualization_msgs::Marker> sick_scan::SickScanMarker::m_scan_mon_field_marker
protected

Definition at line 91 of file sick_scan_marker.h.

std::vector<sick_scan::SickScanMonField> sick_scan::SickScanMarker::m_scan_mon_fields
protected

Definition at line 90 of file sick_scan_marker.h.

int sick_scan::SickScanMarker::m_scan_mon_fieldset
protected

Definition at line 89 of file sick_scan_marker.h.

std::vector<visualization_msgs::Marker> sick_scan::SickScanMarker::m_scan_outputstate_legend
protected

Definition at line 94 of file sick_scan_marker.h.


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


sick_scan
Author(s): Michael Lehning , Jochen Sprickerhof , Martin Günther
autogenerated on Wed May 5 2021 03:05:49