robot id issue fixed

This commit is contained in:
vivek-shankar 2017-01-13 19:53:08 -05:00
parent dceb44958f
commit a0c22a77b6
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ namespace rosbzz_node{
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;
cout<<"iterator it val: "<< it-> first << " After convertion: " << buzz_utility::get_rid_uint8compac(it->first)<<endl;
//cout<<"iterator it val: "<< it-> first << " After convertion: " <<(uint8_t) 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;