include
psen_scan_v2
config_server_node.h
Go to the documentation of this file.
1
// Copyright (c) 2021 Pilz GmbH & Co. KG
2
//
3
// This program is free software: you can redistribute it and/or modify
4
// it under the terms of the GNU Lesser General Public License as published by
5
// the Free Software Foundation, either version 3 of the License, or
6
// (at your option) any later version.
7
//
8
// This program is distributed in the hope that it will be useful,
9
// but WITHOUT ANY WARRANTY; without even the implied warranty of
10
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
// GNU Lesser General Public License for more details.
12
//
13
// You should have received a copy of the GNU Lesser General Public License
14
// along with this program. If not, see <https://www.gnu.org/licenses/>.
15
16
#ifndef PSEN_SCAN_V2_CONFIG_SERVER_NODE_H
17
#define PSEN_SCAN_V2_CONFIG_SERVER_NODE_H
18
19
#include <string>
20
21
#include <gtest/gtest_prod.h>
22
23
#include <
ros/ros.h
>
24
25
#include "psen_scan_v2/ZoneSet.h"
26
#include "psen_scan_v2/ZoneSetConfiguration.h"
27
31
namespace
psen_scan_v2
32
{
33
static
const
std::string
DEFAULT_ZONESET_TOPIC
=
"zoneconfiguration"
;
34
39
class
ConfigServerNode
40
{
41
public
:
42
ConfigServerNode
(
ros::NodeHandle
& nh,
const
char
* config_file_path,
const
std::string& frame_id);
43
44
private
:
45
ros::NodeHandle
nh_
;
46
ros::Publisher
zoneset_pub_
;
47
};
48
}
// namespace psen_scan_v2
49
50
#endif // PSEN_SCAN_V2_CONFIG_SERVER_NODE_H
ros::Publisher
psen_scan_v2::ConfigServerNode::nh_
ros::NodeHandle nh_
Definition:
config_server_node.h:45
ros.h
psen_scan_v2::ConfigServerNode::zoneset_pub_
ros::Publisher zoneset_pub_
Definition:
config_server_node.h:46
psen_scan_v2::ConfigServerNode
ROS Node that publishes a latched topic containing the configured zonesets.
Definition:
config_server_node.h:39
psen_scan_v2
Root namespace for the ROS part.
Definition:
active_zoneset_node.h:29
psen_scan_v2::ConfigServerNode::ConfigServerNode
ConfigServerNode(ros::NodeHandle &nh, const char *config_file_path, const std::string &frame_id)
Definition:
config_server_node.cpp:27
psen_scan_v2::DEFAULT_ZONESET_TOPIC
static const std::string DEFAULT_ZONESET_TOPIC
Definition:
config_server_node.h:33
ros::NodeHandle
psen_scan_v2
Author(s): Pilz GmbH + Co. KG
autogenerated on Sat Jun 22 2024 02:46:11