Skip to content

[Fix] RGB data corrupt#16

Open
gjc13 wants to merge 16 commits into
personalrobotics:masterfrom
tinkerfuroc:master
Open

[Fix] RGB data corrupt#16
gjc13 wants to merge 16 commits into
personalrobotics:masterfrom
tinkerfuroc:master

Conversation

@gjc13

@gjc13 gjc13 commented Mar 17, 2016

Copy link
Copy Markdown

The new kinect 2 server is sending data using bgra format. The client is however not updated, causing the problem of corrupted rgb data. The pull request fix this issue.

@psigen

psigen commented Mar 17, 2016

Copy link
Copy Markdown
Member

Ah, this is because we were using a non-master version of the client when testing. Good catch.

Comment thread src/startRGB.cpp Outdated
double utcTime;
memcpy(&utcTime,&mySocket.mBuffer[imageSize],sizeof(double));
cvImage.header.frame_id = cameraFrame.c_str();
printf("%s\n", cameraFrame.c_str());

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you remove this debug printf?

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.

4 participants