pull_all.py
Go to the documentation of this file.
1 #!/usr/bin/env python
2 #
3 # License: BSD
4 # https://raw.github.com/robotics-in-concert/rocon_multimaster/hydro-devel/rocon_gateway_tests/LICENSE
5 #
6 ##############################################################################
7 # Imports
8 ##############################################################################
9 
10 import rospy
11 import rocon_gateway
12 import sys
13 
14 ##############################################################################
15 # Main
16 ##############################################################################
17 
18 if __name__ == '__main__':
19  rospy.init_node('pull_all')
20  cancel_flag = rospy.get_param("cancel", False)
21  try:
22  rocon_gateway.samples.pull_all(cancel=cancel_flag)
23  except rocon_gateway.GatewaySampleRuntimeError as e:
24  rospy.logerr("Pull All: %s" % str(e))
25  sys.exit(1)


rocon_gateway_tests
Author(s): Daniel Stonier, Jihoon Lee, Piyush Khandelwal
autogenerated on Mon Jun 10 2019 14:40:15