Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
src
hand
valves_node.cpp
Go to the documentation of this file.
1
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 Tue Oct 13 2020 03:55:53