Closed miguelriemoliveira closed 3 months ago
Hey @miguelriemoliveira Ok I will mention or email you when I get there. I already know what will trigger that crash, but I still have some things prior to complete
I will work on this now.
Earlier today, I wrote a bit on my blog about a few theoretical doubts I have regarding this matter :
~https://www.notion.so/Week-6-cb45af3b97174e7a8c672b343303879e?pvs=4#b78f40c94f144d37b984be6c7b931e4b~
Forgot this is private I don't know of permissions work on Notion so here's a screenshot :
Hi @brunofavs ,
we can talk about it in the meeting in a moment ...
Related to #581
So I just changed the configure_calibration_package to allow for additional_tfs to be dynamic. Then created a dataset and tried to calibrate.
As expected, the calibrate creates an optimization problem with the following parameters:
Parameters:
Group x0 x data Min Max
lidar3d_plate_link-lidar3d_base_link_x lidar3d_plate_link-lidar3d_base_link 0.000000 0.000000 0.000000 -inf inf
lidar3d_plate_link-lidar3d_base_link_y lidar3d_plate_link-lidar3d_base_link 0.000000 0.000000 0.000000 -inf inf
lidar3d_plate_link-lidar3d_base_link_z lidar3d_plate_link-lidar3d_base_link 0.000000 0.000000 0.000000 -inf inf
lidar3d_plate_link-lidar3d_base_link_r1 lidar3d_plate_link-lidar3d_base_link 0.000000 0.000000 0.000000 -inf inf
lidar3d_plate_link-lidar3d_base_link_r2 lidar3d_plate_link-lidar3d_base_link 0.000000 0.000000 0.000000 -inf inf
lidar3d_plate_link-lidar3d_base_link_r3 lidar3d_plate_link-lidar3d_base_link 0.000000 0.000000 0.000000 -inf inf
front_right_camera_link-front_right_camera_rgb_frame_x front_right_camera_link-front_right_camera_rgb_frame 0.000000 0.000000 0.000000 -inf inf
front_right_camera_link-front_right_camera_rgb_frame_y front_right_camera_link-front_right_camera_rgb_frame -0.045000 -0.045000 -0.045000 -inf inf
front_right_camera_link-front_right_camera_rgb_frame_z front_right_camera_link-front_right_camera_rgb_frame 0.000000 0.000000 0.000000 -inf inf
front_right_camera_link-front_right_camera_rgb_frame_r1 front_right_camera_link-front_right_camera_rgb_frame 0.000000 0.000000 0.000000 -inf inf
front_right_camera_link-front_right_camera_rgb_frame_r2 front_right_camera_link-front_right_camera_rgb_frame 0.000000 0.000000 0.000000 -inf inf
front_right_camera_link-front_right_camera_rgb_frame_r3 front_right_camera_link-front_right_camera_rgb_frame 0.000000 0.000000 0.000000 -inf inf
world-base_footprint_x world-base_footprint 0.209351 0.209351 0.209351 -inf inf
world-base_footprint_y world-base_footprint -0.692575 -0.692575 -0.692575 -inf inf
world-base_footprint_z world-base_footprint -0.001008 -0.001008 -0.001008 -inf inf
world-base_footprint_r1 world-base_footprint 0.000348 0.000348 0.000348 -inf inf
world-base_footprint_r2 world-base_footprint -0.002264 -0.002264 -0.002264 -inf inf
world-base_footprint_r3 world-base_footprint 0.304454 0.304454 0.304454 -inf inf
front_left_camera_link-front_left_camera_rgb_frame_x front_left_camera_link-front_left_camera_rgb_frame 0.000000 0.000000 0.000000 -inf inf
front_left_camera_link-front_left_camera_rgb_frame_y front_left_camera_link-front_left_camera_rgb_frame -0.045000 -0.045000 -0.045000 -inf inf
front_left_camera_link-front_left_camera_rgb_frame_z front_left_camera_link-front_left_camera_rgb_frame 0.000000 0.000000 0.000000 -inf inf
front_left_camera_link-front_left_camera_rgb_frame_r1 front_left_camera_link-front_left_camera_rgb_frame 0.000000 0.000000 0.000000 -inf inf
front_left_camera_link-front_left_camera_rgb_frame_r2 front_left_camera_link-front_left_camera_rgb_frame 0.000000 0.000000 0.000000 -inf inf
front_left_camera_link-front_left_camera_rgb_frame_r3 front_left_camera_link-front_left_camera_rgb_frame 0.000000 0.000000 0.000000 -inf inf
world-pattern_link_x world-pattern_link 2.131433 2.131433 2.131433 -inf inf
world-pattern_link_y world-pattern_link 0.240979 0.240979 0.240979 -inf inf
world-pattern_link_z world-pattern_link 0.798899 0.798899 0.798899 -inf inf
world-pattern_link_r1 world-pattern_link -1.783295 -1.783295 -1.783295 -inf inf
world-pattern_link_r2 world-pattern_link 0.759856 0.759856 0.759856 -inf inf
world-pattern_link_r3 world-pattern_link -1.262079 -1.262079 -1.262079 -inf inf
where we can see that the world-base_footprint transformation is only one for all collections.
First problem is that the calibrate script has no access to information about whether a transform is dynamic or fixed. This is generated in configure_calibration_pkg, but not saved anywhere.
After talking to @manuelgitgomes we decided on the following:
This is how the new dataset looks:
related to #895
I think I got it. The sparse matrix is now like this
https://docs.google.com/spreadsheets/d/1MJ4Qz1veFdkAF22Q3xv81e2baGAqEod0w-gsXHzLVjk/edit?usp=sharing
Makes sense?
Hi @brunofavs ,
this is now working. You can define a dynamic_tf as an additional transform.
Makes sense?
Seems fine! Great job!
I will test it soon :)
It's not fine :C
Now no prior dataset is compatible anymore.
Hi @brunofavs ,
let me know what happens so I can try to fix.
What is the error?
Ooops. You already created another issue. Closing this one.
@brunofavs , when you do this you will have this error.
Talk to me when you get there.