Skip to content

Conversation

@remibettan
Copy link
Contributor

Tracked by : LRS-581

@remibettan remibettan requested a review from Nir-Az December 15, 2022 13:49
@remibettan remibettan force-pushed the hkr_other_ds_rebased_dev branch 2 times, most recently from 3e14573 to c604c76 Compare December 15, 2022 14:35
bool frame_arrived = false;
try
{
if (_sub->s->supports(RS2_OPTION_THERMAL_COMPENSATION))
Copy link
Collaborator

Choose a reason for hiding this comment

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

This looks like a mistake
Development has it

Copy link
Collaborator

Choose a reason for hiding this comment

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

?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

corrected


if (_pid != ds::RS457_PID) //not mipi device
Copy link
Collaborator

Choose a reason for hiding this comment

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

Hard to follow, where did this lines go?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

In line 191, in method register_metadata

@remibettan remibettan force-pushed the hkr_other_ds_rebased_dev branch from 369dcd3 to ee6f12b Compare December 19, 2022 07:27
public motion_sensor
{
public:
explicit ds_motion_sensor(std::string name,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we use 2 Ctors?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, one needs the sets for mapping of the profiles (uvc) and one does not (hid)

auto fisheye_auto_exposure = register_auto_exposure_options(_fisheye_ep.get(), &ds::fisheye_xu);
if (auto fisheye_sensor = dynamic_cast<ds_fisheye_sensor*>(_fisheye_ep.get()))
fisheye_sensor->set_roi_method(std::make_shared<fisheye_auto_exposure_roi_method>(fisheye_auto_exposure));
else if (auto fisheye_sensor = dynamic_cast<ds_fisheye_sensor*>(_fisheye_ep.get()))
Copy link
Collaborator

Choose a reason for hiding this comment

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

if and else match,
Am I missing something?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

correct- removed

Copy link
Collaborator

@Nir-Az Nir-Az left a comment

Choose a reason for hiding this comment

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

Looks good,
As discussed lets do a short D457 sanity and comparation of controls against development and we'll merge it.

@Nir-Az Nir-Az merged commit 54f3595 into realsenseai:development Dec 25, 2022
@remibettan remibettan deleted the hkr_other_ds_rebased_dev branch July 29, 2025 14:09
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.

4 participants