Main Page
Namespaces
Classes
Files
File List
File Members
include
katana
JointStatePublisher.h
Go to the documentation of this file.
1
/*
2
* UOS-ROS packages - Robot Operating System code by the University of Osnabrück
3
* Copyright (C) 2010 University of Osnabrück
4
*
5
* This program is free software; you can redistribute it and/or
6
* modify it under the terms of the GNU General Public License
7
* as published by the Free Software Foundation; either version 2
8
* of the License, or (at your option) any later version.
9
*
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License
16
* along with this program; if not, write to the Free Software
17
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18
*
19
* JointStatePublisher.h
20
*
21
* Created on: 06.12.2010
22
* Author: Martin Günther <mguenthe@uos.de>
23
*/
24
25
#ifndef JOINTSTATEPUBLISHER_H_
26
#define JOINTSTATEPUBLISHER_H_
27
28
#include "
ros/ros.h
"
29
#include "sensor_msgs/JointState.h"
30
31
#include <vector>
32
33
#include <
katana/AbstractKatana.h
>
34
35
namespace
katana
36
{
37
38
class
JointStatePublisher
39
{
40
public
:
41
JointStatePublisher
(
boost::shared_ptr<AbstractKatana>
);
42
virtual
~JointStatePublisher
();
43
void
update
();
44
45
private
:
46
boost::shared_ptr<AbstractKatana>
katana
;
47
ros::Publisher
pub
;
48
49
};
50
51
}
52
53
#endif
/* JOINTSTATEPUBLISHER_H_ */
katana::JointStatePublisher::katana
boost::shared_ptr< AbstractKatana > katana
Definition:
JointStatePublisher.h:46
katana
Definition:
AbstractKatana.h:37
katana::JointStatePublisher::pub
ros::Publisher pub
Definition:
JointStatePublisher.h:47
katana::JointStatePublisher
Definition:
JointStatePublisher.h:38
katana::JointStatePublisher::~JointStatePublisher
virtual ~JointStatePublisher()
Definition:
JointStatePublisher.cpp:37
boost::shared_ptr
katana::JointStatePublisher::JointStatePublisher
JointStatePublisher(boost::shared_ptr< AbstractKatana >)
Definition:
JointStatePublisher.cpp:30
katana::JointStatePublisher::update
void update()
Definition:
JointStatePublisher.cpp:41
AbstractKatana.h
ros.h
ros::Publisher
katana
Author(s): Martin Günther
autogenerated on Fri Jan 3 2020 04:01:25