apollo
apollo copied to clipboard
Bug maybe? In modules/map/hdmap/hdmap_common.cc
In hdmap_common.cc line 52 to 62, this is a function to check whether a point is valid or not,
bool IsPointValid(const PointENU &point) { /* if (point.x() > kMaxXCoordinate || point.x() < kMinXCoordinate) { return false; } if (point.y() > kMaxYCoordinate || point.y() < kMinYCoordinate) { return false; } */ return true; }
But I found that the function only return true( since all the check have been commented) and there are other functions using it. Is this a bug or it is intended to be this way? It confuses me a little bit.
Thank you for reporting the issue. This function has been removed in #12409, and thanks again for your support for Apollo!