Skip to content

Conversation

@dorodnic
Copy link
Contributor

[Do not merge]
This PR unlocks T265 manual exposure controls -

  1. To control exposure, AUTO_EXPOSURE option must be set to 0 prior to streaming
  2. AUTO_EXPOSURE will reset after each streaming session to 1
  3. When in manual-exposure mode, pose frames will fail to arrive (the algorithm requires auto-exposure)
  4. Once in manual-exposure, EXPOSURE and GAIN options can be used

TODO: Clean-up

@dorodnic dorodnic added the T260 series Intel® T265 library label May 16, 2019
{
if (!manual_exposure)
throw std::runtime_error("To control exposure you must set sensor to manual exposure mode prior to streaming");
SetManualExposure(_tm_dev, value, last_gain);
Copy link
Contributor

Choose a reason for hiding this comment

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

is this missing a microseconds to milliseconds conversion?

@bfulkers-i
Copy link
Contributor

We definitely do not recommend trying to set exposure manually for T265 tracking performance, but if you are treating T265 as a raw data only sensor this is not an unreasonable thing to adjust.

@ev-mp ev-mp merged commit a7d9cde into IntelRealSense:development Jun 3, 2019
@freemanlo
Copy link
Contributor

@bfulkers-i
If the manual exposure is enabled, the pose data is invalid?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T260 series Intel® T265 library

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants