src
hand
valves_node.cpp
Go to the documentation of this file.
1
/*
2
* Copyright 2010 Shadow Robot Company Ltd.
3
*
4
* This program is free software: you can redistribute it and/or modify it
5
* under the terms of the GNU General Public License as published by the Free
6
* Software Foundation version 2 of the License.
7
*
8
* This program is distributed in the hope that it will be useful, but WITHOUT
9
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11
* more details.
12
*
13
* You should have received a copy of the GNU General Public License along
14
* with this program. If not, see <http://www.gnu.org/licenses/>.
15
*/
16
30
#include <
ros/ros.h
>
31
32
#include <boost/smart_ptr.hpp>
33
34
#include "
sr_hand/hand/valves.h
"
35
36
using
shadowrobot::Valves
;
37
39
// MAIN //
41
52
int
main
(
int
argc,
char
**argv)
53
{
54
ros::init
(argc, argv,
"shadowarm"
);
55
ros::NodeHandle
n;
56
57
boost::shared_ptr <Valves>
valves(
new
Valves
());
58
59
while
(
ros::ok
())
60
{
61
valves->publish();
62
}
63
64
return
0;
65
}
main
int main(int argc, char **argv)
Definition:
valves_node.cpp:52
ros::NodeHandle
valves.h
This is a ROS Interface used to directly access the valves on Shadow Robot's muscle robots...
ros::init
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
shadowrobot::Valves
Definition:
valves.h:41
boost::shared_ptr
ros::ok
ROSCPP_DECL bool ok()
ros.h
sr_hand
Author(s): Ugo Cupcic
autogenerated on Mon Feb 28 2022 23:52:24