Main Page
Namespaces
Classes
Files
File List
File Members
test
ocs2fc_publisher.py
Go to the documentation of this file.
1
#!/usr/bin/env python
2
import
rospy
3
from
jsk_network_tools.msg
import
OCS2FC
4
5
if
__name__ ==
"__main__"
:
6
rospy.init_node(
"ocs2fc_test_publisher"
)
7
pub = rospy.Publisher(
"ocs2fc_original"
, OCS2FC)
8
r = rospy.Rate(10)
9
while
not
rospy.is_shutdown():
10
msg = OCS2FC()
11
msg.joint_angles = [10] * 32
12
msg.stop =
True
13
pub.publish(msg)
14
r.sleep()
15
jsk_network_tools
Author(s): Yusuke Furuta
autogenerated on Tue Feb 6 2018 03:45:07