-
Notifications
You must be signed in to change notification settings - Fork 669
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Localization rapidly gets worse while sliding through the low-friction area. #6919
Comments
@Kim-mins |
Thank you for the response @YamatoAndo! Actually, my current version is before this PR, and it seems I can't check velodyne_top since there's no component managing it individually. Thanks! |
You can check the TF between velodyne_top and base_link using the following command:
and this is the result in your rosbag
Does this match the placement of the LiDAR in the simulator? |
Thank you for the investigation @YamatoAndo! According to the setting of the bridge I'm using now, the translation of z is 2.4, and 0.0 for others. [link] |
When checking the TF tree, it seems to have the structure of base_link <-> sensor_kit_base_link <-> velodyne_top_base_link <-> velodyne_top.
And velodyne_top_base_link <-> velodyne_top looked like this.
I believe 0.066 represents the height from the bottom of the sensor to the laser's emission position. |
From my tests, it seems that the LiDAR is correctly positioned approximately +1.5 m along the x-axis from the base_link. Could you adjust the TF to achieve the display results as follows?
|
Alternatively, this line modify to |
Thank you for the details @YamatoAndo! To my understanding, my current setting is as below:
So, at the bridge code, the sensor was spawned with +2.4 of z value to be aligned with the calibration above. I cannot find the calibration for velodyne_top_base_link <-> velodyne_top, sorry for that. But there seems no translation, since the values match to what you provided. So.. I think I can make x to be +1.5 by modifying the calibration of one of those two above. By the way, I have a question for the value 1.5. Could you please tell me the reason for adding 1.5 to the translation on x-axis? I could not find documentations for this.. Thank you! |
|
When I tested with your rosbag, adjusting x to +1.5 resulted in stable localization. I'm not sure how far it is from the base_link to the center of the vehicle in reality, but the value 1.5m from the base_link seemed to work well. |
It seems like you're using the tesla.model3 vehicle, but did you get it from this repository? The wheel_base of this vehicle is 3.0046, so I think 1.5023 would be appropriate for the center of the vehicle. |
Thank you @YamatoAndo! I've tried to check the issue with the modification for here (0 to 1.5), but the ego vehicle does not move as it considers the vehicle itself as an obstacle. I also checked that the result from
|
Well, right. I'm using tesla model3, but the bridge I'm using now is this. Thank you! |
Oh, my mistake.. sorry I modified both.. I tested again with the only modification on here, and the result is as below: rviz2.mp4The vehicle repeats driving and stopping, and it just stops at all. I also confirmed that the result from ros2 run tf2_ros tf2_echo base_link velodyne_top is as below:
|
I think it's because the LiDAR point cloud is hitting the back of the vehicle. |
Please crop the LiDAR point cloud. Alternatively, consider placing the LiDAR in a position where it doesn't hit the vehicle body.It might be better to set it at a higher position. |
Thank you for the response @YamatoAndo! I'll try your suggestion soon. By the way, I have a question that, is this issue caused by my sensor calibrations? Thank you! |
Please configure the sensor placement in ROS to match the sensor placement in the simulator. Probably, it would be correct to do as follows:
You may also consider making fine adjustments to ensure that LiDAR points do not hit the vehicle body. For example,
I don't think it's just a sensor calibration issue. |
Sorry for late reply @YamatoAndo.. I tested the scenario with your sensor calibration(the latter one), and it seems the issue remains. Should I tune the sensor calibration more? I think your calibration is correct, but I cannot know what to do more. Thank you! |
I checked the rosbag. Unfortunately, it's difficult for the current version of Autoware to run in this location. |
Thank you for checking @YamatoAndo! |
This pull request has been automatically marked as stale because it has not had recent activity. |
Checklist
Description
Hi team,
I'm currently running Autoware with Carla, and I found a situation that the localization gets worse while sliding through the low-friction area.
Here's the frontview video:
report.mp4
From 0:06 of the video, the ego vehicle starts to slide through, since there's a blue box that indicates the low-friction area.
After the sliding, the vehicle fails to drive again and stops forever.
Here's the corresponding RViz video: [rviz]
At the RViz video, while the ego vehicle is sliding, the localization rapidly goes bad, and it eventually thinks itself crossed the centerline, but the car is actually close to the sidewalk, not the centerline.
Expected behavior
I thought that, even though the ego vehicle slides through, the localization should not make any error.
Actual behavior
But the localization rapidly goes bad while sliding through.
Steps to reproduce
Here's a ros2bag file for the reproduction: [ros2bag]
Versions
Possible causes
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: