flip_all.py
Go to the documentation of this file.
00001 #!/usr/bin/env python
00002 #       
00003 # License: BSD
00004 #   https://raw.github.com/robotics-in-concert/rocon_multimaster/hydro-devel/rocon_gateway_tests/LICENSE 
00005 #
00006 ##############################################################################
00007 # Imports
00008 ##############################################################################
00009 
00010 import rospy
00011 import rocon_gateway
00012 import sys
00013 
00014 ##############################################################################
00015 # Main
00016 ##############################################################################
00017 
00018 if __name__ == '__main__':
00019     rospy.init_node('flip_all')
00020     cancel_flag = rospy.get_param("cancel", False)
00021     try:
00022         rocon_gateway.samples.flip_all(cancel=cancel_flag)
00023     except rocon_gateway.GatewaySampleRuntimeError as e:
00024         rospy.logerr("Flip All: %s" % str(e))
00025         sys.exit(1)


rocon_gateway_tests
Author(s): Daniel Stonier, Jihoon Lee, Piyush Khandelwal
autogenerated on Sat Jun 8 2019 18:48:48