Fawkes API
Fawkes Development Version
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
navigator_plugin.cpp
1
2
/***************************************************************************
3
* navigator_plugin.cpp - Robotino ROS Navigator Plugin
4
*
5
* Created: Sat June 09 15:13:27 2012
6
* Copyright 2012 Sebastian Reuter
7
****************************************************************************/
8
9
/* This program is free software; you can redistribute it and/or modify
10
* it under the terms of the GNU General Public License as published by
11
* the Free Software Foundation; either version 2 of the License, or
12
* (at your option) any later version.
13
*
14
* This program is distributed in the hope that it will be useful,
15
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
* GNU Library General Public License for more details.
18
*
19
* Read the full text in the LICENSE.GPL file in the doc directory.
20
*/
21
22
#include <core/plugin.h>
23
#include "navigator_thread.h"
24
25
using namespace
fawkes;
26
27
/** Send locomotion commands to ROS.
28
* @author Sebastian Reuter
29
*/
30
class
RosNavigatorPlugin
:
public
fawkes::Plugin
31
{
32
public
:
33
/** Constructor.
34
* @param config Fawkes configuration
35
*/
36
RosNavigatorPlugin
(
Configuration
*config)
37
:
Plugin
(config)
38
{
39
thread_list.push_back(
new
RosNavigatorThread
());
40
}
41
};
42
43
PLUGIN_DESCRIPTION(
"Send locomotion commands to ROS"
)
44
EXPORT_PLUGIN(
RosNavigatorPlugin
)
src
plugins
ros
navigator_plugin.cpp
Generated by
1.8.1.2