Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enabling RAW #123

Open
anto1713 opened this issue Oct 28, 2021 · 4 comments
Open

Enabling RAW #123

anto1713 opened this issue Oct 28, 2021 · 4 comments

Comments

@anto1713
Copy link

Any idea how to enable raw when using raspicam_node?

i always use /raspicam_node/image/compressed.
how can i change the topic to /raspicam_node/image?
because i want uncompressed image

@JanezCim
Copy link

JanezCim commented Oct 28, 2021

have you tried enabling raw in the launch files?

<arg name="enable_raw" default="false"/>

@anto1713
Copy link
Author

anto1713 commented Oct 29, 2021

i enable raw by type
roslaunch raspicam_node camerav2_1280x720.launch enable_raw:=true
and the parameter says that /raspicam_node/enable_raw: True

and i enable the raw by manually edit, just like your comment
and launch raspicam_node camerav2_1280x720.launch
but the terminal says Unable to convert 'bgr8' image for display: 'Image is wrongly formed: height * step != size or 960 * 3840 != 1843200

how can i solve this?

@kminoda
Copy link

kminoda commented Nov 10, 2021

I got the same issue using camerav2_1640x1232.launch with enable_raw=true.
See #84 for the solution.

@realizator
Copy link

realizator commented Nov 16, 2021

Guys, for the raw mode resolution to be dividable by 32 - this is the low-level sensor-specific.
1280/32 = 40 - it's Ok
720/32 = 22.5 - not Ok! Use either 32 * 23 = 736 or 32 * 22 = 704 instead of 720.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants