39 #ifndef SICK_SCAN_MARKER_H_
40 #define SICK_SCAN_MARKER_H_
43 #include <std_msgs/ColorRGBA.h>
44 #include <visualization_msgs/MarkerArray.h>
46 #include "sick_scan/LFErecMsg.h"
47 #include "sick_scan/LIDoutputstateMsg.h"
61 void updateMarker(
const std::vector<SickScanMonField>& fields,
int fieldset,
int eval_field_logic);
63 void updateMarker(sick_scan::LIDoutputstateMsg&
msg,
int eval_field_logic);
72 FieldInfo(
int idx=0,
int result=0,
const std::string& status=
"",
const std::string& name=
"",
const std_msgs::ColorRGBA&
color=std_msgs::ColorRGBA())
82 std::vector<visualization_msgs::Marker>
createMonFieldMarker(
const std::vector<FieldInfo>& field_info);
83 std::vector<visualization_msgs::Marker>
createMonFieldLegend(
const std::vector<FieldInfo>& field_info);
85 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);