Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
include
gazebo_plugins
gazebo_ros_template.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2012-2014 Open Source Robotics Foundation
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at
7
*
8
* http://www.apache.org/licenses/LICENSE-2.0
9
*
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
15
*
16
*/
17
/*
18
* Desc: 3D position interface.
19
* Author: Sachin Chitta and John Hsu
20
* Date: 10 June 2008
21
*/
22
23
#ifndef GAZEBO_ROS_TEMPLATE_HH
24
#define GAZEBO_ROS_TEMPLATE_HH
25
26
#include <
ros/ros.h
>
27
28
#include <gazebo/physics/physics.hh>
29
#include <gazebo/transport/TransportTypes.hh>
30
#include <gazebo/common/Time.hh>
31
#include <gazebo/common/Plugin.hh>
32
#include <gazebo/common/Events.hh>
33
34
namespace
gazebo
35
{
36
37
class
GazeboRosTemplate
:
public
ModelPlugin
38
{
40
public
:
GazeboRosTemplate
();
41
43
public
:
virtual
~GazeboRosTemplate
();
44
46
public
:
void
Load
( physics::ModelPtr _parent, sdf::ElementPtr _sdf );
47
49
protected
:
virtual
void
UpdateChild
();
50
51
};
52
53
}
54
55
#endif
56
gazebo
Definition:
gazebo_ros_block_laser.h:46
gazebo::GazeboRosTemplate::UpdateChild
virtual void UpdateChild()
Update the controller.
Definition:
gazebo_ros_template.cpp:76
gazebo::GazeboRosTemplate
Definition:
gazebo_ros_template.h:37
gazebo::GazeboRosTemplate::GazeboRosTemplate
GazeboRosTemplate()
Constructor.
Definition:
gazebo_ros_template.cpp:51
ros.h
gazebo::GazeboRosTemplate::Load
void Load(physics::ModelPtr _parent, sdf::ElementPtr _sdf)
Load the controller.
Definition:
gazebo_ros_template.cpp:63
gazebo::GazeboRosTemplate::~GazeboRosTemplate
virtual ~GazeboRosTemplate()
Destructor.
Definition:
gazebo_ros_template.cpp:57
gazebo_plugins
Author(s): John Hsu
autogenerated on Tue Apr 6 2021 02:19:39