Fawkes API  Fawkes Development Version
gazsim_vis_localization_plugin.cpp
1 /***************************************************************************
2  * gazsim_vis_localization_plugin.cpp - Plugin visualizes the localization
3  *
4  * Created: Tue Sep 17 15:34:44 2013
5  * Copyright 2013 Frederik Zwilling
6  ****************************************************************************/
7 
8 /* This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU Library General Public License for more details.
17  *
18  * Read the full text in the LICENSE.GPL file in the doc directory.
19  */
20 
21 #include <core/plugin.h>
22 
23 #include "gazsim_vis_localization_thread.h"
24 
25 using namespace fawkes;
26 
27 /** Plugin visualizes the localization
28  *
29  *
30  * @author Frederik Zwilling
31  */
33 {
34  public:
35 
36  /** Constructor.
37  * @param config Fawkes configuration
38  */
40  : Plugin(config)
41  {
42  thread_list.push_back(new VisLocalizationThread());
43  }
44 };
45 
46 PLUGIN_DESCRIPTION("Visualization of the Localization in Gazebo")
47 EXPORT_PLUGIN(GazsimVisLocalizationPlugin)
Plugin interface class.
Definition: plugin.h:33
Fawkes library namespace.
Plugin visualizes the localization.
GazsimVisLocalizationPlugin(Configuration *config)
Constructor.
Thread simulates the Localization in Gazebo.
Interface for configuration handling.
Definition: config.h:67