Fawkes API
Fawkes Development Version
gazsim_localization_plugin.cpp
1
/***************************************************************************
2
* gazsim_localization_plugin.cpp - Plugin provides
3
* the simulated position of a robot in Gazeo
4
*
5
* Created: Thu Aug 08 17:37:38 2013
6
* Copyright 2013 Frederik Zwilling
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 "gazsim_localization_thread.h"
23
24
#include <core/plugin.h>
25
26
using namespace
fawkes
;
27
28
/** Plugin provides the simulated position in Gazebo
29
*
30
*
31
* @author Frederik Zwilling
32
*/
33
class
GazsimLocalizationPlugin
:
public
fawkes::Plugin
34
{
35
public
:
36
/** Constructor.
37
* @param config Fawkes configuration
38
*/
39
explicit
GazsimLocalizationPlugin
(
Configuration
*config) :
Plugin
(config)
40
{
41
thread_list.push_back(
new
LocalizationSimThread
());
42
}
43
};
44
45
PLUGIN_DESCRIPTION(
"Simulation of the Localization in Gazebo"
)
46
EXPORT_PLUGIN(
GazsimLocalizationPlugin
)
fawkes::Configuration
Interface for configuration handling.
Definition:
config.h:65
GazsimLocalizationPlugin
Plugin provides the simulated position in Gazebo.
Definition:
gazsim_localization_plugin.cpp:34
LocalizationSimThread
Thread simulates the Localization in Gazebo.
Definition:
gazsim_localization_thread.h:51
fawkes
Fawkes library namespace.
GazsimLocalizationPlugin::GazsimLocalizationPlugin
GazsimLocalizationPlugin(Configuration *config)
Constructor.
Definition:
gazsim_localization_plugin.cpp:39
fawkes::Plugin
Plugin interface class.
Definition:
plugin.h:34
src
plugins
gazebo
gazsim-localization
gazsim_localization_plugin.cpp
Generated by
1.8.20