Variables | |
tuple | dis = math.sqrt(dx*dx+dy*dy) |
tuple | distance_to_connect = rospy.get_param('~distance') |
list | dx = position_x[cur_robot] |
list | dy = position_y[cur_robot] |
string | full_topic = "robot_%i/base_pose_ground_truth" |
string | group_name = "robot_" |
int | height = 25 |
tuple | join_service = rospy.ServiceProxy(name, ChangeMCMembership) |
list | looks = [] |
tuple | msg = Odometry() |
string | name = "/robot_%i/adhoc_communication/join_mc_group" |
tuple | num_robots = rospy.get_param('~num_robots') |
list | position_x = [] |
list | position_y = [] |
list | publishers = [] |
tuple | res = join_service(group_name,1) |
tuple | val = random.randint(0,10) |
int | width = 25 |
tuple | x = random.randint(0,width) |
tuple | y = random.randint(0,height) |
tuple simple_simulator::dis = math.sqrt(dx*dx+dy*dy) |
Definition at line 99 of file simple_simulator.py.
tuple simple_simulator::distance_to_connect = rospy.get_param('~distance') |
Definition at line 29 of file simple_simulator.py.
list simple_simulator::dx = position_x[cur_robot] |
Definition at line 97 of file simple_simulator.py.
list simple_simulator::dy = position_y[cur_robot] |
Definition at line 98 of file simple_simulator.py.
string simple_simulator::full_topic = "robot_%i/base_pose_ground_truth" |
Definition at line 32 of file simple_simulator.py.
string simple_simulator::group_name = "robot_" |
Definition at line 105 of file simple_simulator.py.
int simple_simulator::height = 25 |
Definition at line 26 of file simple_simulator.py.
tuple simple_simulator::join_service = rospy.ServiceProxy(name, ChangeMCMembership) |
Definition at line 108 of file simple_simulator.py.
list simple_simulator::looks = [] |
Definition at line 23 of file simple_simulator.py.
tuple simple_simulator::msg = Odometry() |
Definition at line 86 of file simple_simulator.py.
string simple_simulator::name = "/robot_%i/adhoc_communication/join_mc_group" |
Definition at line 104 of file simple_simulator.py.
tuple simple_simulator::num_robots = rospy.get_param('~num_robots') |
Definition at line 28 of file simple_simulator.py.
list simple_simulator::position_x = [] |
Definition at line 16 of file simple_simulator.py.
list simple_simulator::position_y = [] |
Definition at line 17 of file simple_simulator.py.
list simple_simulator::publishers = [] |
Definition at line 15 of file simple_simulator.py.
tuple simple_simulator::res = join_service(group_name,1) |
Definition at line 109 of file simple_simulator.py.
tuple simple_simulator::val = random.randint(0,10) |
Definition at line 46 of file simple_simulator.py.
int simple_simulator::width = 25 |
Definition at line 25 of file simple_simulator.py.
tuple simple_simulator::x = random.randint(0,width) |
Definition at line 34 of file simple_simulator.py.
tuple simple_simulator::y = random.randint(0,height) |
Definition at line 35 of file simple_simulator.py.