Open Ethan0207 opened 7 months ago
Division by 0 can only happen if both data[i][0] and data[i][1] are 0. This is unrealistic as it means that the returned point value is at x=0 and y=0. This does not happen for the velodyne Puck as those are not real values that it could encounter.
My only guess is that the lidar you are using is either not set up properly, is returning faulty data or sets inf values as 0. You shoyld check how data is represented differently between the velodyne lidar and the lidar you are using.
Hi, I have a question I'd like to consult about. When I changed the LiDAR, I encountered the following error during the training process. So, when using the Velodyne LiDAR, why do you not need to consider this division by zero error? And How can you ensure that mag1 * mag2 does not equal zero?