Skip to content

camera_info_topic cannot be set #2

@Aikhjarto

Description

@Aikhjarto

Hi!

I have a node publishing camera data in /cam1/camera_info and /cam1/image/raw as side-by-side stereo image.
I will have multiple cameras so I set the topic names tor side_x_side_stereo_node accordingly:

rosrun side_x_side_stereo side_x_side_stereo_node \
_input_image_topic:=/cam1/image_raw \
_left_output_image_topic:=/cam1/left/image_raw \
_right_output_image_topic:=/cam1/right/image_raw \
_left_camera_info_topic:=/cam1/left/camera_info \
_right_camera_info_topic:=/cam1/right/camera_info

However, the published topics look like this:

/cam1/camera_info
/cam1/image_raw
/cam1/image_raw/compressed
/cam1/image_raw/compressed/parameter_descriptions
/cam1/image_raw/compressed/parameter_updates
/cam1/image_raw/compressedDepth
/cam1/image_raw/compressedDepth/parameter_descriptions
/cam1/image_raw/compressedDepth/parameter_updates
/cam1/image_raw/theora
/cam1/image_raw/theora/parameter_descriptions
/cam1/image_raw/theora/parameter_updates
/cam1/left/image_raw
/cam1/left/image_raw/compressed
/cam1/left/image_raw/compressed/parameter_descriptions
/cam1/left/image_raw/compressed/parameter_updates
/cam1/left/image_raw/compressedDepth
/cam1/left/image_raw/compressedDepth/parameter_descriptions
/cam1/left/image_raw/compressedDepth/parameter_updates
/cam1/left/image_raw/theora
/cam1/left/image_raw/theora/parameter_descriptions
/cam1/left/image_raw/theora/parameter_updates
/cam1/right/image_raw
/cam1/right/image_raw/compressed
/cam1/right/image_raw/compressed/parameter_descriptions
/cam1/right/image_raw/compressed/parameter_updates
/cam1/right/image_raw/compressedDepth
/cam1/right/image_raw/compressedDepth/parameter_descriptions
/cam1/right/image_raw/compressedDepth/parameter_updates
/cam1/right/image_raw/theora
/cam1/right/image_raw/theora/parameter_descriptions
/cam1/right/image_raw/theora/parameter_updates
/rosout
/rosout_agg
/sxs_stereo/left/camera_info
/sxs_stereo/right/camera_info

Note, that the camera_info is published under /sxs_stereo/left/camera_info and /sxs_stereo/right/camera_info, thus ignoring the parameters _left_camera_info_topic and _right_camera_info_topic

Any idea how to fix that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions