Skip to content

add more info to logs in fps_helper - #13669

Merged
Nir-Az merged 2 commits into
realsenseai:developmentfrom
AviaAv:fps-perm-test
Jan 12, 2025
Merged

add more info to logs in fps_helper#13669
Nir-Az merged 2 commits into
realsenseai:developmentfrom
AviaAv:fps-perm-test

Conversation

@AviaAv

@AviaAv AviaAv commented Jan 9, 2025

Copy link
Copy Markdown
Contributor

No description provided.

@AviaAv
AviaAv requested a review from Nir-Az January 9, 2025 10:13
Comment thread unit-tests/live/frames/fps_helper.py Outdated
profile_name_fps_dict[profile_name] += 1
log.d(f"frame {frame.profile.stream_name()} #{profile_name_fps_dict[frame.profile.stream_name()] + 1} finished")
log.d(f"frame {frame.profile.stream_name()} #{profile_name_fps_dict[frame.profile.stream_name()]} "
f"callback finished")

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Can you explain this change? +1 dropped

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The idea was to show the correct frame number, since we've just increased it inside the 'if', but I noticed it's still wrong when we don't count frames.

I just fixed it now, so the two logs make sense now, whether or not we count frames.

@Nir-Az
Nir-Az merged commit d40c2e2 into realsenseai:development Jan 12, 2025
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.

2 participants