Skip to content

raspicam_node image_raw=true don't work on PI2 #111

Open
@elgarbe

Description

@elgarbe

Hi, I'm working with a raspberry pi 2 with ubuntu MATE 16.04.7 server (the only version that I could use with raspicam).
I've installed raspicam_node from this repo following the official instructions. I need to get uncompressed image for apriltag. So I enable raw image on launchfile. But image_view and apriltag_ros throw an error like
[ERROR] [1615055637.841805351]: Unable to convert 'bgr8' image for display: 'Image is wrongly formed: height * step != size or 1231 * 4920 != 3075072'
I've tested a lot of resolution even heigh / 16 and width / 32.
The same test on a raspberry pi 3b+ works ok.

Then I found this repo:
https://github.com/dganbold/raspicam_node
It's very old, but it works ok on my raspberry pi 2.

Is there a way to get this official repo, working with raw images on pi2? Is there an explanation why it works on pi3b+ and not on pi2?

Thank

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions