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

Image encodings - BGR8 vs. RGB8 #6

Open
binary42 opened this issue Sep 4, 2015 · 3 comments
Open

Image encodings - BGR8 vs. RGB8 #6

binary42 opened this issue Sep 4, 2015 · 3 comments

Comments

@binary42
Copy link

binary42 commented Sep 4, 2015

branch: indigo-devel
os: ubuntu 14.04
platform: tegra k1 jetson armv7

Image encodings using yuyv from usb_cam in transfer_images.cpp. Line 176 enc::BGR8 kills process due to perceived encoding mismatch. When changed to enc::RGB8, code continues and outputs SendXA...

Error from enc::BGR8 usage:

[transfer_images-1] process has died [pid 15633, exit code -11, cmd /home/ubuntu/Dev/repos/ros_ws/devel/lib/raptor/transfer_images image_in:=/usb_cam/image_raw __name:=transfer_images __log:=/home/ubuntu/.ros/log/cb52e0a4-5386-11e5-8e33-00044b25c206/transfer_images-1.log].
log file: /home/ubuntu/.ros/log/cb52e0a4-5386-11e5-8e33-00044b25c206/transfer_images-1*.log

Nothing is log as well, which is bothersome.

@binary42
Copy link
Author

binary42 commented Sep 4, 2015

Additional issue believed to be of a related cause:

transfer_images_ffld.cpp has similar code which crashes. at line 136 enc::BGR8 or RGB8

@binary42
Copy link
Author

binary42 commented Sep 4, 2015

And another annoying note, code uses a few output type to display errors and general info. shouldn't use std::cerr to output general info and program progress. I'll refrain from a formal code review for now, LOL :)

@binary42
Copy link
Author

binary42 commented Sep 4, 2015

A realization is that this is nowhere near ready to use. No worries. I will wait. I hope development continues. If I choose to pursue it, I'll fork and do a pull request. Thanks though.

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

1 participant