Go to the documentation of this file.
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 addDeleteMessageForUnusedLastMarkers()
void publishCurrentMarkers()
void zonesetCallback(const ZoneSetConfiguration &zoneset_config)
static const std::string DEFAULT_ZONECONFIGURATION_TOPIC
ros::Subscriber active_zoneset_subscriber_
static const std::string DEFAULT_ACTIVE_ZONESET_TOPIC
void addMarkers(std::vector< visualization_msgs::Marker > &new_markers)
bool isAllInformationAvailable() const
ROS Node that continuously publishes a marker for the active_zoneset.
ZoneSet activeZoneset() const
boost::optional< ZoneSetConfiguration > zoneset_config_
void activeZonesetCallback(const std_msgs::UInt8 &zoneset_config)
ZoneSet getActiveZoneset() const
Root namespace for the ROS part.
ros::Publisher zoneset_markers_
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_
psen_scan_v2
Author(s): Pilz GmbH + Co. KG
autogenerated on Sat Jun 22 2024 02:46:11