-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathcx_skiller_plugin.cpp
More file actions
43 lines (37 loc) · 1.38 KB
/
cx_skiller_plugin.cpp
File metadata and controls
43 lines (37 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/***************************************************************************
* cx_skiller_plugin.cpp - Relay exec requests from ROS CX to the Skiller
*
* Created: Oct 2023
* Copyright 2023 Tarik Viehmann <viehmann@kbsg.rwth-aachen.de>
****************************************************************************/
/* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Library General Public License for more details.
*
* Read the full text in the LICENSE.GPL file in the doc directory.
*/
#include "cx_skiller_thread.h"
#include <core/plugin.h>
using namespace fawkes;
/** Plugin to publish IMU data to ROS.
* @author Till Hofmann
*/
class ROS2CXSkillerPlugin : public fawkes::Plugin
{
public:
/** Constructor.
* @param config Fawkes configuration
*/
explicit ROS2CXSkillerPlugin(Configuration *config) : Plugin(config)
{
thread_list.push_back(new ROS2CXSkillerThread());
}
};
PLUGIN_DESCRIPTION("ROS CX Skiller Interface Plugin")
EXPORT_PLUGIN(ROS2CXSkillerPlugin)