16 #ifndef PSEN_SCAN_V2_ACTIVE_ZONESET_NODE_H 17 #define PSEN_SCAN_V2_ACTIVE_ZONESET_NODE_H 21 #include <boost/optional.hpp> 24 #include <visualization_msgs/Marker.h> 25 #include <std_msgs/UInt8.h> 27 #include "psen_scan_v2/ZoneSetConfiguration.h" 62 [[deprecated(
"use ZoneSet activeZoneset() const instead")]] ZoneSet
getActiveZoneset()
const;
65 void addMarkers(std::vector<visualization_msgs::Marker>& new_markers);
83 #endif // PSEN_SCAN_V2_ACTIVE_ZONESET_NODE_H void publishCurrentMarkers()
static const std::string DEFAULT_ACTIVE_ZONESET_TOPIC
void addMarkers(std::vector< visualization_msgs::Marker > &new_markers)
void zonesetCallback(const ZoneSetConfiguration &zoneset_config)
ros::Subscriber active_zoneset_subscriber_
bool isAllInformationAvailable() const
static const std::string DEFAULT_ZONECONFIGURATION_TOPIC
ZoneSet activeZoneset() const
ROS Node that continuously publishes a marker for the active_zoneset.
void activeZonesetCallback(const std_msgs::UInt8 &zoneset_config)
boost::optional< ZoneSetConfiguration > zoneset_config_
ros::Publisher zoneset_markers_
ZoneSet getActiveZoneset() const
Root namespace for the ROS part.
boost::optional< std_msgs::UInt8 > active_zoneset_id_
ros::Subscriber zoneset_subscriber_
static const std::string DEFAULT_ZONESET_MARKER_ARRAY_TOPIC
std::vector< visualization_msgs::Marker > current_markers_
ActiveZonesetNode(ros::NodeHandle &nh)
Constructor.
std::vector< visualization_msgs::Marker > last_markers_
void addDeleteMessageForUnusedLastMarkers()