src
supervisor.cpp
Go to the documentation of this file.
1
/*
2
* Copyright 2022 Technical University of Munich, Chair of Materials Handling,
3
* Material Flow, Logistics – All Rights Reserved
4
*
5
* You may use, distribute and modify this code under the terms of the 3-clause
6
* BSD license. You should have received a copy of that license with this file.
7
* If not, please write to {kontakt.fml@ed.tum.de}.
8
*/
9
10
#include "
ros/ros.h
"
11
#include "
vda5050_connector/state_daemon.h
"
12
#include "
vda5050_connector/connection_daemon.h
"
13
#include "
vda5050_connector/action_daemon.h
"
14
#include "
vda5050_connector/visualization_daemon.h
"
15
#include <string>
16
17
using namespace
std
;
18
/*
19
* TODO: write good comments
20
*/
21
int
main
(
int
argc,
char
**argv)
22
{
23
ros::init
(argc, argv,
"supervisor"
);
24
ros::NodeHandle
nh;
25
26
// ConnectionDaemon connectionDaemon(&nh,"connection_daemon",15.0);
27
// StateDaemon stateDaemon(&nh,"state_daemon");
28
// VisDaemon visDaemon(&nh,"visualization_daemon");
29
// ActionDaemon actionDaemon(&nh, "action_daemon");
30
31
while
(
ros::ok
())
32
{
33
// connectionDaemon.UpdateConnection();
34
// stateDaemon.UpdateState();
35
// visDaemon.UpdateVisualization();
36
ros::spinOnce
();
37
}
38
return
0;
39
}
visualization_daemon.h
ros::init
ROSCPP_DECL void init(const M_string &remappings, const std::string &name, uint32_t options=0)
ros.h
ros::spinOnce
ROSCPP_DECL void spinOnce()
state_daemon.h
ros::ok
ROSCPP_DECL bool ok()
main
int main(int argc, char **argv)
Definition:
supervisor.cpp:21
std
connection_daemon.h
action_daemon.h
ros::NodeHandle
vda5050_connector
Author(s): Florian Rothmeyer
, Florian Spiegel
autogenerated on Wed Mar 22 2023 02:38:56