-
Notifications
You must be signed in to change notification settings - Fork 12
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
Added secondary application compiles, untested #132
base: master
Are you sure you want to change the base?
Conversation
DataSource source; | ||
/** Bits per pixel in the secondaryAppData */ | ||
uint32_t bitsPerPixel; | ||
/** Width of the secondaryAppData */ | ||
uint32_t width; | ||
/** Height of the secondaryAppData*/ | ||
uint32_t height; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do these fields make sense? Is a void* with a length, associated frameID, and timestamp sufficient?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, I don't think hardly anything here makes sense yet.
I am kind of using this as a template and a test utility to evaluate running a secondary application on the camera.
I am going to change these fields, to make a basic demo.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think if we are going to support sending arbitrary number of bytes, we can let the user manually unpack it.
/** The number of frames per second currently streaming from the device */ | ||
float framesPerSecond; | ||
/** The length of the secondaryAppData data stored in secondaryAppDataDataP */ | ||
uint32_t secondaryAppDataLength; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this redundant with the length
member?
…robotics/LibMultiSense into psmithcrl/example_secondary_app
Some controls to help evaluate and test the functionality of the secondary application.
The primary goal being this will serve as an example for secondary application developers to use as a template for their application.