debug rid

This commit is contained in:
vivek-shankar 2017-01-13 18:34:53 -05:00
parent 32d802d5aa
commit e0992b46ad
1 changed files with 2 additions and 1 deletions

View File

@ -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)<<endl;
neigh_tmp.position_covariance_type=buzz_utility::get_rid_uint8compac(it->first); //custom robot id storage
neigh_tmp.longitude=(it->second).x;
neigh_tmp.latitude=(it->second).y;