Skip to content

clean up rs-enumerate-devices tab output; add --verbose - #11080

Merged
Nir-Az merged 4 commits into
realsenseai:ddsfrom
maloel:dds
Nov 14, 2022
Merged

clean up rs-enumerate-devices tab output; add --verbose#11080
Nir-Az merged 4 commits into
realsenseai:ddsfrom
maloel:dds

Conversation

@maloel

@maloel maloel commented Nov 9, 2022

Copy link
Copy Markdown
Contributor

Misc changes to clean up my branch.
The rs-enumerate-devices output was using tabs, therefore was (usually) misaligned.
I also added a --verbose flag which, right now, only adds the (sid,index) pair to each profiles so we can check it.

@maloel
maloel requested a review from Nir-Az November 9, 2022 06:34
Comment thread tools/enumerate-devices/rs-enumerate-devices.cpp Outdated
Comment thread tools/enumerate-devices/rs-enumerate-devices.cpp
}
cout << setw( w_fps ) << ( "@ " + std::to_string( profile.fps() ) + "Hz" );
cout << setw( w_format ) << profile.format();
cout << endl;

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.

Can you share a run picture with the new changes so I can compare?

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.

image

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.

What does the (2.0) means?

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.

Oh got it sid, please list it in the title on verbose mode as it is not clear without reading the code..

@maloel maloel Nov 10, 2022

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.

I don't know that it'd be much help.
It's for us -- for debugging really. I.e., if you don't know what it is, ignore it. If I put (UID.IDX) as a heading, will that tell you much? If you want I'll add.

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.

I think it's better to add something, I first thought it the USB version (2.0)

@Nir-Az
Nir-Az self-requested a review November 13, 2022 12:25

@Nir-Az Nir-Az left a comment

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.

Just add the missing title for verbose and its OK :)

@Nir-Az

Nir-Az commented Nov 14, 2022

Copy link
Copy Markdown
Collaborator

Great, thanks!

@Nir-Az
Nir-Az merged commit c286470 into realsenseai:dds Nov 14, 2022
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