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 
37 
39 // MAIN //
41 
52 int main(int argc, char **argv)
53 {
54  ros::init(argc, argv, "shadowarm");
56 
57  boost::shared_ptr <Valves> valves(new Valves());
58 
59  while (ros::ok())
60  {
61  valves->publish();
62  }
63 
64  return 0;
65 }
int main(int argc, char **argv)
Definition: valves_node.cpp:52
This is a ROS Interface used to directly access the valves on Shadow Robot&#39;s muscle robots...
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
ROSCPP_DECL bool ok()


sr_hand
Author(s): Ugo Cupcic
autogenerated on Mon Feb 28 2022 23:52:24