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

add some cuda conversion to avoid useless conversion #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nicolas-beaufort
Copy link

This pull-request add some cuda conversion to avoid useless conversion like NV12ToBGR8.

@auroraborghi
Copy link

auroraborghi commented Oct 3, 2019

@nicolas-beaufort @dusty-nv
Nicolas Beaufort's code worked perfectly to solve the issue of having 0s as camera image data with the following changes to gstCamera.cpp and gstCamera.h:

  • camera/gstCamera.cpp
    • CaptureRGBA (line 280): (void** output) instead of float
    • ConvertRGBA (line 302): (void** output) instead of float
  • camera/gstCamera.h
    • CaptureRGBA (line 78): (void** output) instead of float
    • ConvertRGBA (line 82): (void** output) instead of float

If the appropriate changes above are made, #5 with dusty-nv/jetbot_ros#7 will solve dusty-nv/jetbot_ros#2 .

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

Successfully merging this pull request may close these issues.

2 participants