tier4 / CalibrationTools

GNU General Public License v3.0
107 stars 40 forks source link

How can I receive extrinsic_calibration service? #181

Closed enddl3224 closed 2 weeks ago

enddl3224 commented 1 month ago

Hi, I'm trying to use camera-lidar calibration tool using tag_based_pnp_calibrator.launch.xml. and I want to check the values(initial_reprojection_error, current_reprojection_error, filtered_reprojection_error).

If I receive extrinsic_calibration service, then request_received_ = true; I think I can also get the above values as well.

How can I receive extrinsic_calibration service?

I'm attaching some pictures.

Thank you.

knzo25 commented 1 month ago

@enddl3224 Although you provided a lot of data I don't fully understand. Are you using the calibrator manager? If not, you can always send the service manually

enddl3224 commented 1 month ago

Thank you for comment! I'm using the calibrator manager(sensor_calibration_manager). But could you tell me how can I send the service manually? I guess I didn't send the service.

knzo25 commented 1 month ago

Please check if the service name from both the server and the client coincide. When creating launchers, it is the most common mistake, and that is why newer versions should allow to use the tools without writing launchers (the so called default project). To send services manually just type ros2 service call service_name and then use autocomplete to deduce the type and contents. Sadly, that is out of the scope of the support we can do as it falls outside the intended use of these tools and correspond to the integration work of users

enddl3224 commented 1 month ago

Thank you so much! I'll try it.

knzo25 commented 3 weeks ago

@enddl3224 If there are no updated on this, I will be closing this in about one week