Skip to content

add D415 formats; change YUYV to yuv422_yuy2 for ROS2 - #11534

Merged
maloel merged 5 commits into
realsenseai:ddsfrom
maloel:dds
Mar 8, 2023
Merged

add D415 formats; change YUYV to yuv422_yuy2 for ROS2#11534
maloel merged 5 commits into
realsenseai:ddsfrom
maloel:dds

Conversation

@maloel

@maloel maloel commented Mar 7, 2023

Copy link
Copy Markdown
Contributor

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

@OhadMeir OhadMeir left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

Comment thread src/ds/ds-private.h
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
Copy Markdown
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
Copy Markdown
Contributor 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
Copy Markdown
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 realsenseai: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