Skip to content

T265 manual exposure - #3992

Merged
ev-mp merged 4 commits into
realsenseai:developmentfrom
dorodnic:t265_manual_exposure
Jun 3, 2019
Merged

T265 manual exposure#3992
ev-mp merged 4 commits into
realsenseai:developmentfrom
dorodnic:t265_manual_exposure

Conversation

@dorodnic

Copy link
Copy Markdown
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
Comment thread src/tm2/tm-device.cpp
{
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
Copy Markdown
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
Copy Markdown
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 realsenseai:development Jun 3, 2019
@freemanlo

Copy link
Copy Markdown
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