robots variable correction

This commit is contained in:
vivek-shankar 2017-04-02 15:31:13 -04:00
parent 4c1c3dff43
commit fcc26231a1
1 changed files with 2 additions and 2 deletions

View File

@ -73,9 +73,9 @@ namespace rosbzz_node{
multi_msg=true;
}
/*Set ROBOTS variable for barrier in .bzz from neighbours count*/
buzz_utility::set_robot_var(neighbours_pos_map.size());
buzz_utility::set_robot_var(neighbours_pos_map.size()+1);
/*Set no of robots for updates*/
updates_set_robots(neighbours_pos_map.size());
updates_set_robots(neighbours_pos_map.size()+1);
/*run once*/
ros::spinOnce();
/*loop rate of ros*/