replaced odom_frame with map_frame, trasform only if attr_points.size()>0