From e0992b46adfe026da089681b8bd5b8069c6cd6ff Mon Sep 17 00:00:00 2001 From: vivek-shankar Date: Fri, 13 Jan 2017 18:34:53 -0500 Subject: [PATCH] debug rid --- src/roscontroller.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/roscontroller.cpp b/src/roscontroller.cpp index e2cf58e..9c0c960 100644 --- a/src/roscontroller.cpp +++ b/src/roscontroller.cpp @@ -41,7 +41,8 @@ namespace rosbzz_node{ map< int, buzz_utility::Pos_struct >::iterator it; rosbuzz::neigh_pos neigh_pos_array; //neigh_pos_array.clear(); for (it=raw_neighbours_pos_map.begin(); it!=raw_neighbours_pos_map.end(); ++it){ - sensor_msgs::NavSatFix neigh_tmp; + sensor_msgs::NavSatFix neigh_tmp; + cout<<"iterator it val: "<< it-> first << " After convertion: " << buzz_utility::get_rid_uint8compac(it->first)<first); //custom robot id storage neigh_tmp.longitude=(it->second).x; neigh_tmp.latitude=(it->second).y;