Go to the source code of this file.
Namespaces | |
namespace | seller |
Variables | |
tuple | seller.auction_config_server_resp = auctioneer_service(role,auction_type,sending_node) |
tuple | seller.auction_data = auction_msgs.msg.Auction() |
tuple | seller.auction_duration = rospy.Time.now() |
string | seller.auction_type = 'k-sap' |
tuple | seller.auctioneer_server_resp = auctioneer_service(sending_node,nodes_collected,auction_data) |
tuple | seller.auctioneer_service = rospy.ServiceProxy(service_path, auction_srvs.srv.AuctionConfigService) |
tuple | seller.distance = float(math.sqrt(x*x+y*y+z*z)) |
seller.event_location = auction_data.task_location | |
tuple | seller.f = open(sys.argv[3], 'a') |
int | seller.i = 1 |
tuple | seller.line = str(event_location.x) |
tuple | seller.messages = float(rospy.get_param('/num_messages')/number_of_nodes) |
list | seller.nearest_node = [] |
int | seller.nearest_node_distance = 99999999 |
seller.nearest_node_position = node_position | |
string | seller.node = '/node_' |
string | seller.node_param = '/position' |
tuple | seller.node_position = eval(rospy.get_param(node_param)) |
string | seller.nodes_collected = '' |
tuple | seller.nodes_collected_list = rospy.get_param('/nodes_collected') |
string | seller.nodes_collected_str = ',' |
int | seller.number_of_nodes = 0 |
string | seller.role = 'be_auctioneer' |
Main function. | |
tuple | seller.sending_node = rospy.get_name() |
string | seller.service_path = '/auction_config_server' |
seller.stop_search = False | |
tuple | seller.time_i = rospy.Time.now() |
tuple | seller.x = float(node_position[0]) |
tuple | seller.y = float(node_position[1]) |
tuple | seller.z = float(node_position[2]) |