Use C++ camera_info_manager yamls with camera_info_manager_py, and vice versa?
I'd like to run camera_info_manager_py saveCalibrationFile in a python file and then load the same yaml in in C++, but it appears the yaml dump is saving like this:
!!python/unicode 'camera_matrix':
!!python/unicode 'data': [1059.8847344712244, 0.0, 636.6932553292625, 0.0, 1058.8956875577258,
470.30001700247, 0.0, 0.0, 1.0]
!!python/unicode 'camera_name': camera
!!python/unicode 'distortion_coefficients':
...
as opposed to the cleaner C++ output:
image_width: 640
image_height: 480
camera_name: image_publisher
camera_matrix:
rows: 3
cols: 3
data: [500.0, 0, 320, 0, 500.0, 240, 0, 0, 1]
distortion_model: plumb_bob
distortion_coefficients:
...
Loading the C++ yaml in python doesn't generate an error, but the camera info is blank, while loading the python yaml in C++ generates
yaml-cpp: error at line 0, column 0: bad conversion]
Is this a bug or am I doing something wrong on the python side?