Fawkes API
Fawkes Development Version
gazsim_robotino_plugin.cpp
1
/***************************************************************************
2
* robotino-sim_plugin.cpp - Plugin simulates the Robotino in Gazebo
3
*
4
* Created: Fr 3. Mai 21:13:45 CEST 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 "gazsim_robotino_thread.h"
22
23
#include <core/plugin.h>
24
25
using namespace
fawkes
;
26
27
/** Plugin to simulate the Robotino in Gazebo
28
*
29
*
30
* @author Frederik Zwilling
31
*/
32
class
GazsimRobotinoPlugin
:
public
fawkes::Plugin
33
{
34
public
:
35
/** Constructor.
36
* @param config Fawkes configuration
37
*/
38
explicit
GazsimRobotinoPlugin
(
Configuration
*config) :
Plugin
(config)
39
{
40
thread_list.push_back(
new
RobotinoSimThread
());
41
}
42
};
43
44
PLUGIN_DESCRIPTION(
"Simulation of Robotino in Gazebo"
)
45
EXPORT_PLUGIN(
GazsimRobotinoPlugin
)
RobotinoSimThread
Definition:
gazsim_robotino_thread.h:54
fawkes::Configuration
Definition:
config.h:70
GazsimRobotinoPlugin
Plugin to simulate the Robotino in Gazebo.
Definition:
gazsim_robotino_plugin.cpp:32
fawkes
GazsimRobotinoPlugin::GazsimRobotinoPlugin
GazsimRobotinoPlugin(Configuration *config)
Constructor.
Definition:
gazsim_robotino_plugin.cpp:38
fawkes::Plugin
Definition:
plugin.h:39
src
plugins
gazebo
gazsim-robotino
gazsim_robotino_plugin.cpp
Generated by
1.8.17