Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix lighthouse geometry estimation example #459

Merged
merged 1 commit into from
Jun 27, 2024
Merged

Conversation

gemenerik
Copy link
Member

@gemenerik gemenerik commented Jun 27, 2024

  • Fixed the data collection reattempts. ensuring the loop runs again if necessary to successfully obtain recordings.
  • Refactored code by consolidating data recording processes into dedicated functions for improved organization and readability.
  • Implemented timeouts in the data recording functions to prevent indefinite blocking

* Fixed broken while loops that were incorrectly exiting immediately without retries.
* Gathered data recording code into functions.
Implemented timeout and retry mechanism in record_angles_average.
* Added timeouts for recording data
Copy link
Member

@ataffanel ataffanel 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!

@gemenerik gemenerik merged commit ad3b4da into master Jun 27, 2024
1 check passed
@tobbeanton tobbeanton deleted the rik/bs_geo_est_fix branch June 28, 2024 07:25
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