Skip to content

image_saver only supports plumb_bob distortion model  #1038

Open
@sgillen

Description

@sgillen

On humble (not tested elsewhere) when using image_saver with a camera info using for example, rational_polynomial distortion model, I will get the following error:

[ERROR] [1729187734.973433398] [camera_calibration_parsers]: Videre INI format can only save calibrations using the plumb bob distortion model. Use the YAML format instead.
        distortion_model = 'rational_polynomial', expected 'plumb_bob'
        D.size() = 8, expected 5

Maybe this is considered a bug with camera_calibration_parser, but it might be straightforward to just use a .yml/yaml extension here:
https://github.com/ros-perception/image_pipeline/blob/rolling/image_view/src/image_saver_node.cpp#L268C33-L268C49 

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions