Skip to content

Revert "Use Timer object to calculate FPS"#1928

Merged
samfreund merged 1 commit intoPhotonVision:mainfrom
Gold856:revert-timer-object
Apr 22, 2025
Merged

Revert "Use Timer object to calculate FPS"#1928
samfreund merged 1 commit intoPhotonVision:mainfrom
Gold856:revert-timer-object

Conversation

@Gold856
Copy link
Member

@Gold856 Gold856 commented Apr 21, 2025

This reverts commit a429527.

Description

This commit broke the FPS counter because I forgot to start the timer. I could just use restart, and then it would only be wrong for the very first pipeline run, but that's a hack, and frankly, the old way was fine.

Meta

Merge checklist:

  • Pull Request title is short, imperative summary of proposed changes
  • The description documents the what and why
  • If this PR changes behavior or adds a feature, user documentation is updated
  • If this PR touches photon-serde, all messages have been regenerated and hashes have not changed unexpectedly
  • If this PR touches configuration, this is backwards compatible with settings back to v2024.3.1
  • If this PR touches pipeline settings or anything related to data exchange, the frontend typing is updated
  • If this PR addresses a bug, a regression test for it is added

@Gold856 Gold856 requested a review from a team as a code owner April 21, 2025 23:40
@samfreund samfreund enabled auto-merge (squash) April 21, 2025 23:42
@samfreund samfreund merged commit c15c626 into PhotonVision:main Apr 22, 2025
39 checks passed
@Gold856 Gold856 deleted the revert-timer-object branch April 22, 2025 05:18
samfreund pushed a commit to samfreund/photonvision that referenced this pull request Jun 28, 2025
This reverts commit a429527.

## Description

This commit broke the FPS counter because I forgot to start the timer. I
could just use `restart`, and then it would only be wrong for the very
first pipeline run, but that's a hack, and frankly, the old way was
fine.

## Meta

Merge checklist:
- [x] Pull Request title is [short, imperative
summary](https://cbea.ms/git-commit/) of proposed changes
- [x] The description documents the _what_ and _why_
- [ ] If this PR changes behavior or adds a feature, user documentation
is updated
- [ ] If this PR touches photon-serde, all messages have been
regenerated and hashes have not changed unexpectedly
- [ ] If this PR touches configuration, this is backwards compatible
with settings back to v2024.3.1
- [ ] If this PR touches pipeline settings or anything related to data
exchange, the frontend typing is updated
- [ ] If this PR addresses a bug, a regression test for it is added
@Gold856 Gold856 added the backend Things relating to photon-core and photon-server label Aug 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend Things relating to photon-core and photon-server

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants