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::LFErecMsg &msg, int eval_field_logic)
 
void updateMarker (sick_scan::LIDoutputstateMsg &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

◆ SickScanMarker()

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.

◆ ~SickScanMarker()

sick_scan::SickScanMarker::~SickScanMarker ( )
virtual

Definition at line 89 of file sick_scan_marker.cpp.

Member Function Documentation

◆ createMonFieldLegend()

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.

◆ createMonFieldMarker()

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.

◆ createMonFieldsetLegend()

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

Definition at line 414 of file sick_scan_marker.cpp.

◆ createOutputStateLegend()

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.

◆ publishMarker()

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

Definition at line 203 of file sick_scan_marker.cpp.

◆ updateMarker() [1/3]

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.

◆ updateMarker() [2/3]

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

Definition at line 152 of file sick_scan_marker.cpp.

◆ updateMarker() [3/3]

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

Definition at line 110 of file sick_scan_marker.cpp.

Member Data Documentation

◆ m_frame_id

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

Definition at line 87 of file sick_scan_marker.h.

◆ m_marker_output_legend_offset_x

float sick_scan::SickScanMarker::m_marker_output_legend_offset_x
protected

Definition at line 95 of file sick_scan_marker.h.

◆ m_marker_publisher

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

Definition at line 88 of file sick_scan_marker.h.

◆ m_scan_fieldset_legend

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

Definition at line 93 of file sick_scan_marker.h.

◆ m_scan_mon_field_legend

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

Definition at line 92 of file sick_scan_marker.h.

◆ m_scan_mon_field_marker

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

Definition at line 91 of file sick_scan_marker.h.

◆ m_scan_mon_fields

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

Definition at line 90 of file sick_scan_marker.h.

◆ m_scan_mon_fieldset

int sick_scan::SickScanMarker::m_scan_mon_fieldset
protected

Definition at line 89 of file sick_scan_marker.h.

◆ m_scan_outputstate_legend

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 Thu Sep 8 2022 02:30:20