-
Notifications
You must be signed in to change notification settings - Fork 623
There is no programmatic way to obtain width/height from a resolution enum #40
Comments
This functionality exists in |
See comments in #145. For modes in particular, these values may be hardware specific. If we add an API for getting width/height values, we may want to make it dependent on a device_t object, and possibly query the values from future hardware. This adds some complication when dealing with recordings, since the playback API would presumably need to duplicate this functionality, store the mappings in the recording, or inver them from the recorded data. |
@cdedmonds it turns out we already have an API for this, although its a bit convoluted: Call It might be cleanest to provide a helper function like: k4a_result_t k4a_device_get_resolution(k4a_device_t, k4a_color_resolution_t, int* width, int* height); which just calls |
@Brent-A I hadn't thought abot that. Makes sense to expose an API then. Do we want one for color and depth or just color? |
How about a separate |
Think this issue can be closed because |
Nice! I would rather have a dedicated function to do this and one for FPS. It would be a bit more general purpose then the calibration API. |
This change allows other nodes to subscribe to only camera_info without subscribing to the main image topic.
* Fix bug in PR microsoft#40 CameraInfo for raw depth stream was not correctly published. * Fix typo
No description provided.
The text was updated successfully, but these errors were encountered: