18 if __name__ ==
'__main__':
19 rospy.init_node(
'advertise_all')
20 cancel_flag = rospy.get_param(
"cancel",
False)
22 rocon_gateway.samples.advertise_all(cancel=cancel_flag)
23 except rocon_gateway.GatewaySampleRuntimeError
as e:
24 rospy.logerr(
"Advertise All: %s" % str(e))