robot id issue fixed
This commit is contained in:
parent
dceb44958f
commit
a0c22a77b6
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue