From ef4f4e23e6de156ee00f44e97c869e892fc3f509 Mon Sep 17 00:00:00 2001 From: vivek-shankar Date: Sun, 2 Apr 2017 15:42:46 -0400 Subject: [PATCH] correction robots var --- src/roscontroller.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/roscontroller.cpp b/src/roscontroller.cpp index 6aea0ba..5be8d5d 100644 --- a/src/roscontroller.cpp +++ b/src/roscontroller.cpp @@ -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()+1); + buzz_utility::set_robot_var(raw_neighbours_pos_map.size()+1); /*Set no of robots for updates*/ - updates_set_robots(neighbours_pos_map.size()+1); + updates_set_robots(raw_neighbours_pos_map.size()+1); /*run once*/ ros::spinOnce(); /*loop rate of ros*/