-
Notifications
You must be signed in to change notification settings - Fork 48
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
[marker_radar_lidar_calibrator] Adding pair is not possible #215
Comments
@Sophie2216 Regarding the ARS548, we support it in this branch. Are you using it? Until the related PR is merged it is difficult to give proper support. That being said, if you provide us some rosbag, we can at least have a look a it ! |
@knzo25 I would like to send you the rosbag via email. Would this be possible? |
Thanks for the confirmation, the before mentioned PR used our driver so I can not really give any sort of guarantees otherwise. |
@Sophie2216 |
@knzo25 We have tried to do the lidar-radar calibration by using the "feature/marker_radar_lidar_calibrator_support_radars_and_transformation_algorithms" branch. Unfortunately, it didn't work. The default project was selected in combination with the marker_radar_lidar_calibrator and the following variables were inserted in the launcher configuration: We thought that the radar's scan_raw topic may fit best from the following possible topics of the ARS548 radar: The sensor_calibration_manager window, RViz, and the metrics plotter appeared, but the 'Calibrate' button was not available and in the terminal the following lines showed up: The following xml-file (I had to upload it as a txt-file since xml is not a supported file format for uploading) was used for launching the ARS548: I hope that you can help with this amount of information to solve the issue such that we can calibrate with the marker_radar_lidar_calibrator. Thanks for your help! |
Hi! |
Hello @knzo25 , |
@Sophie2216 |
I confirmed that the pipeline works well until cluster detection (using the On another node, for the ARS408 we used objects (the driver we used provided only those). For the ARS548 we recommend using detections, which come in the sensor frame, which is needed for optimization, unless you want to do the math by yourself afterwards. I saw a lot of frames, which may have made me use incorrect ones, but please read the meaning of each frame we use in the documentation before deciding which ones to use |
@knzo25 We added a frame lrr_front_ars548_footprint with xyz:=0 0 0 and rpy:=0 0 0, which has a parent the frame lrr_front_ars548. First, we tried the "feature/marker_radar_lidar_calibrator_support_radars_and_transformation_algorithms" branch with the svd_2d algorithm. The recommended /sensing/radar/lrr_front_ars548/detections with the msg_type:=radar_cloud was used and led to the same error in the terminal als shown in my previous comment on Dec, 13th 2024. Thus, we pulled the "tier4/universe" branch. When we used this branch, we wanted to use the detections as you suggested, but it was not possible since in the terminal the marker_radar_lidar_calibrator has written that the type RadarTracks is required. Unfortunately, /sensing/radar/lrr_front_ars548/detections has the type PointCloud. Thus, we tried it with /sensing/radar/lrr_front_ars548/objects_raw. With this topic it worked in the end such that we were able to register the radar-lidar pairs. BUT the /sensing/radar/lrr_front_ars548/objects_raw topic has as the header.frame_id the base_link. This does not calibrate the tf links from base_link to lrr_front_ars548. Additionally, when we added the radar-lidar pairs and clicked "Send calibration", an error appeared in the sensor_calibration_manager window which said something like "Error. tf is not included" such that calibration was not able to be saved. How can we use the detections topic for calibration? |
I do not remember the specifics of the radar calibration development branch, for that you would need to reach its author.
|
@vividf I have seen that you are an author of the branch 'feature/marker_radar_lidar_calibrator_support_radars_and_transformation_algorithms'. I need your expertise for solving my issue with the marker_radar_lidar_calibrator. I would highly appreciate receiving an answer as soon as possible. Please can you help me to find out what is the reason that the process dies as shown in my previous comment on Dec, 13th 2024 and how can I resolve the issue? We would like to use this branch since it seems to be the only way to use the /sensing/radar/lrr_front_ars548/detections topic of the Radar ARS548, which has the type PointCloud. In the comment on January, 10th 2025, a better insight is given why we have to use this topic instead of using /sensing/radar/lrr_front_ars548/objects_raw, which would work already with the branch 'tier4/universe'. |
@Sophie2216 Hi, Could you please test using this branch? It contains the latest updates for supporting the ARS548. For ARS548, please use either |
Hello!
Unfortunately, the marker radar lidar calibrator does not work for me. Hopefully, you can help me with the following problem:
I am trying to calibrate the lidar_top, which is a ouster_os2, with the lrr_front_ars548, which is a ARS548 3D radar. The initial TF tree is shown in the following screenshot:
For a better visualization, the TFs are located in the following way in 3D:
After the background extraction of the marker_radar_lidar_calibrator is finished, the corner reflector is placed into the environment and in the rviz2 visualization one can see the corner reflector as follows. Additionally, the blue dots are manually added to the marker_radar_lidar_calibrator view and showing the radar's detected objects according to the radar's topic.
A closer look is shown in the following two pictures, where it can be seen that the radars detected objects (blue) are not identical to the radar object_raw points (purple according your documentation of the marker_radar_lidar_calibrator). Several green marked lidar points (which are marker from the marker_radar_lidar_calibrator) also appear in the proximity of the corner reflector.
Since the marker_radar_lidar_calibrator finds lidar (green) and radar (purple) dots, the "Add lidar-radar pair" button was able to be pressed. Unfortunately, the pair is not established and the console has the following output:
[marker_radar_lidar_calibrator-2] [INFO] [1732291567.283530748] [marker_radar_lidar_calibrator]: lidarCallback [marker_radar_lidar_calibrator-2] [INFO] [1732291567.283549330] [marker_radar_lidar_calibrator]: There were no tracks [marker_radar_lidar_calibrator-2] [INFO] [1732291567.336945966] [marker_radar_lidar_calibrator]: lidarCallback [marker_radar_lidar_calibrator-2] [INFO] [1732291567.339657780] [marker_radar_lidar_calibrator]: Extracting foreground [marker_radar_lidar_calibrator-2] [INFO] [1732291567.339695228] [marker_radar_lidar_calibrator]: initial points: 131072 [marker_radar_lidar_calibrator-2] [INFO] [1732291567.340580046] [marker_radar_lidar_calibrator]: cropped points: 129459 [marker_radar_lidar_calibrator-2] [INFO] [1732291567.343981659] [marker_radar_lidar_calibrator]: voxel filtered points: 285 [marker_radar_lidar_calibrator-2] [INFO] [1732291567.344404879] [marker_radar_lidar_calibrator]: tree filtered points: 12 [marker_radar_lidar_calibrator-2] [INFO] [1732291567.480623977] [marker_radar_lidar_calibrator]: ransac filtered points: 12 [marker_radar_lidar_calibrator-2] [INFO] [1732291567.480723653] [marker_radar_lidar_calibrator]: Cluster extraction input size: 12 [marker_radar_lidar_calibrator-2] [INFO] [1732291567.480730139] [marker_radar_lidar_calibrator]: found cluster of size: 12 [marker_radar_lidar_calibrator-2] [INFO] [1732291567.480738445] [marker_radar_lidar_calibrator]: Extracting lidar reflectors from clusters [marker_radar_lidar_calibrator-2] [INFO] [1732291567.480745983] [marker_radar_lidar_calibrator]: Colored clusters size=12 [marker_radar_lidar_calibrator-2] [INFO] [1732291567.481355589] [marker_radar_lidar_calibrator]: Extracting foreground [marker_radar_lidar_calibrator-2] [INFO] [1732291567.481374676] [marker_radar_lidar_calibrator]: initial points: 200 [marker_radar_lidar_calibrator-2] [INFO] [1732291567.481387904] [marker_radar_lidar_calibrator]: cropped points: 135 [marker_radar_lidar_calibrator-2] [INFO] [1732291567.481406840] [marker_radar_lidar_calibrator]: voxel filtered points: 127 [marker_radar_lidar_calibrator-2] [INFO] [1732291567.481496107] [marker_radar_lidar_calibrator]: tree filtered points: 70 [marker_radar_lidar_calibrator-2] [INFO] [1732291567.481580595] [marker_radar_lidar_calibrator]: Cluster extraction input size: 70 [marker_radar_lidar_calibrator-2] [INFO] [1732291567.481588946] [marker_radar_lidar_calibrator]: found cluster of size: 4 [marker_radar_lidar_calibrator-2] [INFO] [1732291567.481593272] [marker_radar_lidar_calibrator]: found cluster of size: 4 [marker_radar_lidar_calibrator-2] [INFO] [1732291567.481597285] [marker_radar_lidar_calibrator]: found cluster of size: 4 [marker_radar_lidar_calibrator-2] [INFO] [1732291567.481600920] [marker_radar_lidar_calibrator]: found cluster of size: 4 [marker_radar_lidar_calibrator-2] [INFO] [1732291567.481604756] [marker_radar_lidar_calibrator]: found cluster of size: 4 [marker_radar_lidar_calibrator-2] [INFO] [1732291567.481608270] [marker_radar_lidar_calibrator]: found cluster of size: 4 [marker_radar_lidar_calibrator-2] [INFO] [1732291567.481611837] [marker_radar_lidar_calibrator]: found cluster of size: 4 [marker_radar_lidar_calibrator-2] [INFO] [1732291567.481615115] [marker_radar_lidar_calibrator]: found cluster of size: 4 [marker_radar_lidar_calibrator-2] [INFO] [1732291567.481618768] [marker_radar_lidar_calibrator]: found cluster of size: 4 [marker_radar_lidar_calibrator-2] [INFO] [1732291567.481622034] [marker_radar_lidar_calibrator]: found cluster of size: 4 [marker_radar_lidar_calibrator-2] [INFO] [1732291567.481625137] [marker_radar_lidar_calibrator]: found cluster of size: 4 [marker_radar_lidar_calibrator-2] [INFO] [1732291567.481628448] [marker_radar_lidar_calibrator]: found cluster of size: 4 [marker_radar_lidar_calibrator-2] [INFO] [1732291567.481631796] [marker_radar_lidar_calibrator]: found cluster of size: 4 [marker_radar_lidar_calibrator-2] [INFO] [1732291567.481634958] [marker_radar_lidar_calibrator]: found cluster of size: 4 [marker_radar_lidar_calibrator-2] [INFO] [1732291567.481638471] [marker_radar_lidar_calibrator]: found cluster of size: 4 [marker_radar_lidar_calibrator-2] [INFO] [1732291567.481642061] [marker_radar_lidar_calibrator]: found cluster of size: 4 [marker_radar_lidar_calibrator-2] [INFO] [1732291567.481645473] [marker_radar_lidar_calibrator]: found cluster of size: 4 [marker_radar_lidar_calibrator-2] [INFO] [1732291567.481649190] [marker_radar_lidar_calibrator]: found cluster of size: 1 [marker_radar_lidar_calibrator-2] [INFO] [1732291567.481652909] [marker_radar_lidar_calibrator]: found cluster of size: 1 [marker_radar_lidar_calibrator-2] [INFO] [1732291567.481659360] [marker_radar_lidar_calibrator]: Extracting radar reflectors from clusters [marker_radar_lidar_calibrator-2] [INFO] [1732291567.481663864] [marker_radar_lidar_calibrator]: Radar reflector id=0 size=4 center: x=48.80 y=31.76 z=1.38 [marker_radar_lidar_calibrator-2] [INFO] [1732291567.481670877] [marker_radar_lidar_calibrator]: Radar reflector id=1 size=4 center: x=46.23 y=-12.88 z=1.37 [marker_radar_lidar_calibrator-2] [INFO] [1732291567.481676019] [marker_radar_lidar_calibrator]: Radar reflector id=2 size=4 center: x=46.57 y=-0.98 z=0.97 [marker_radar_lidar_calibrator-2] [INFO] [1732291567.481694995] [marker_radar_lidar_calibrator]: Radar reflector id=3 size=4 center: x=43.78 y=0.54 z=0.74 [marker_radar_lidar_calibrator-2] [INFO] [1732291567.481700286] [marker_radar_lidar_calibrator]: Radar reflector id=4 size=4 center: x=43.71 y=31.40 z=1.52 [marker_radar_lidar_calibrator-2] [INFO] [1732291567.481705257] [marker_radar_lidar_calibrator]: Radar reflector id=5 size=4 center: x=38.28 y=-7.61 z=0.98 [marker_radar_lidar_calibrator-2] [INFO] [1732291567.481710326] [marker_radar_lidar_calibrator]: Radar reflector id=6 size=4 center: x=32.35 y=13.40 z=1.68 [marker_radar_lidar_calibrator-2] [INFO] [1732291567.481715132] [marker_radar_lidar_calibrator]: Radar reflector id=7 size=4 center: x=30.22 y=-4.73 z=0.95 [marker_radar_lidar_calibrator-2] [INFO] [1732291567.481719935] [marker_radar_lidar_calibrator]: Radar reflector id=8 size=4 center: x=24.12 y=-3.04 z=0.46 [marker_radar_lidar_calibrator-2] [INFO] [1732291567.481724275] [marker_radar_lidar_calibrator]: Radar reflector id=9 size=4 center: x=20.25 y=-3.39 z=0.05 [marker_radar_lidar_calibrator-2] [INFO] [1732291567.481728954] [marker_radar_lidar_calibrator]: Radar reflector id=10 size=4 center: x=13.09 y=-10.34 z=1.01 [marker_radar_lidar_calibrator-2] [INFO] [1732291567.481733534] [marker_radar_lidar_calibrator]: Radar reflector id=11 size=4 center: x=10.21 y=-0.30 z=-0.02 [marker_radar_lidar_calibrator-2] [INFO] [1732291567.481738467] [marker_radar_lidar_calibrator]: Radar reflector id=12 size=4 center: x=9.80 y=-2.76 z=0.47 [marker_radar_lidar_calibrator-2] [INFO] [1732291567.481743346] [marker_radar_lidar_calibrator]: Radar reflector id=13 size=4 center: x=10.57 y=-5.40 z=0.13 [marker_radar_lidar_calibrator-2] [INFO] [1732291567.481748367] [marker_radar_lidar_calibrator]: Radar reflector id=14 size=4 center: x=7.16 y=4.29 z=-0.23 [marker_radar_lidar_calibrator-2] [INFO] [1732291567.481752716] [marker_radar_lidar_calibrator]: Radar reflector id=15 size=4 center: x=4.87 y=-2.68 z=0.95 [marker_radar_lidar_calibrator-2] [INFO] [1732291567.481756941] [marker_radar_lidar_calibrator]: Radar reflector id=16 size=4 center: x=28.56 y=13.86 z=1.12 [marker_radar_lidar_calibrator-2] [INFO] [1732291567.481761633] [marker_radar_lidar_calibrator]: Radar reflector id=17 size=1 center: x=19.72 y=13.63 z=0.95 [marker_radar_lidar_calibrator-2] [INFO] [1732291567.481766340] [marker_radar_lidar_calibrator]: Radar reflector id=18 size=1 center: x=15.98 y=-15.70 z=0.37 [marker_radar_lidar_calibrator-2] [INFO] [1732291567.482007915] [marker_radar_lidar_calibrator]: Lidar detections: 0 Radar detections: 19 Matches: 0 Active tracks; 0 Converged tracks: 0
So it seems that radar detections are found but no lidar detections according to the console output although in the rviz2 visualization there are green marked lidar points.
So, why is it not possible to add the lidar-radar pair?
The text was updated successfully, but these errors were encountered: