Skip to content

Mapping based lidar - lidar calibration 'lost' frames #239

@Acuno41

Description

@Acuno41

Greetings,

My system:

  • Ubuntu 22.04
  • Ros2 Humble
  • Fast DDS

I was trying to do mapping based lidar-lidar calibration tutorial and I faced some issues that i want to ask.

At first I run the sensor_calibration_manager and set the project "rdv" and calibrator "mapping_based_lidar_lidar_calibrator" with default parameters then download and run rosbag which shared in tutorial file with half speed and everything goes well. But when i run ros2 service call /stop_mapping std_srvs/srv/Empty command, ı faced the error below.

Image

When i tracked the error problem looks caused by this lines. Then I updated that line like below and that problem gone.(I checked the updated result and it was desired Dict[str, Dict[str, np.array]] format)

        result = {
            self.sensor_kit_frame:
                dict(
                    zip(
                        self.calibration_base_lidar_frames,
                        sensor_kit_to_calibration_lidar_transforms,
                    )
                )

        }

My first question is that fix OK or should it be something different ?

And my second question is when I updated the code above I run and stop mapping successfully but cant get any calibrations due to 'lost' frames. The terminal output below. I tried to run bag much more slow and fast, changed some parameters and nothing works.
How can I able to create successfull calibration with tutorial data ? Do you have any advice ?

Image

Best regards.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions