Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 import rospy
00011 import rocon_gateway
00012 import sys
00013
00014
00015
00016
00017
00018 if __name__ == '__main__':
00019 rospy.init_node('advertise_all')
00020 cancel_flag = rospy.get_param("cancel", False)
00021 try:
00022 rocon_gateway.samples.advertise_all(cancel=cancel_flag)
00023 except rocon_gateway.GatewaySampleRuntimeError as e:
00024 rospy.logerr("Advertise All: %s" % str(e))
00025 sys.exit(1)