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 D415 formats; change YUYV to yuv422_yuy2 for ROS2 #11534

Merged
merged 5 commits into from
Mar 8, 2023

Conversation

maloel
Copy link
Collaborator

@maloel maloel commented Mar 7, 2023

D415 uses two additional formats that weren't supported before.
For YUY2/YUYV, the equivalent ROS2 format is yuv422_yuy2, supported since Foxy. This was tested and it works.

@maloel maloel requested review from Nir-Az and OhadMeir March 7, 2023 09:07
Copy link
Contributor

@OhadMeir OhadMeir left a comment

Choose a reason for hiding this comment

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

LGTM

hex << setfill('0') << setw(4) << header->version << dec
<< ", type " << header->table_type << ", size " << header->table_size
<< ", CRC: " << hex << header->crc32);
//LOG_DEBUG("Loaded Valid Table: version [mjr.mnr]: 0x" <<
Copy link
Collaborator

Choose a reason for hiding this comment

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

This only prints once the table is loaded.
It can help onvestigate users issues if we know they has a problem parsing there calibration table no?
Why should we start removing debug messeges?
Can you explain where it hurts?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It's a big block of text that is useless and unreadable, and just gets in the way in normal operation. I don't remember when I ever needed calibration table information. It's very very specific.

I have different ideas about keeping all these debug messages while not hurting output. Let's talk about it separately.

Copy link
Contributor

Choose a reason for hiding this comment

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

Also rs-dds-server tool gets the intrinsics information of all profiles and it prints the info for each one. That is a lot of unneeded information.

@maloel maloel merged commit a75e3c8 into IntelRealSense:dds Mar 8, 2023
@maloel maloel deleted the dds branch March 8, 2023 06:41
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.

3 participants