Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

gemenerik
Copy link
Member

Removes LighthouseBsGeoEstimator and associated OpenCV dependency checking code. This feature was effectively deprecated due to:

  • Poor UX: required manual OpenCV installation
  • Limited functionality: only supported 1-2 base stations
  • No tests or active maintenance
  • Complex pkg_resources dependency checking

Users can still use the (now standard and) robust lighthouse geometry estimation for multi-basestation setups.

Together with UI removal in bitcraze/crazyflie-clients-python#754

Removes LighthouseBsGeoEstimator and associated OpenCV dependency checking code. This feature was effectively deprecated due to:
  - Poor UX: required manual OpenCV installation
  - Limited functionality: only supported 1-2 base stations
  - No tests or active maintenance
  - Complex pkg_resources dependency checking

Users can still use the (now standard and) robust lighthouse geometry estimation for multi-basestation setups.

Follows UI removal in crazyflie-clients-python@b0062f4ab8dd7ac436301a9a06414f2b7eebcb8a
@gemenerik gemenerik requested a review from Copilot September 15, 2025 14:29
@gemenerik gemenerik self-assigned this Sep 15, 2025
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR removes the OpenCV-based lighthouse geometry estimator (LighthouseBsGeoEstimator) and its associated dependency checking code from the cflib. The removal addresses user experience issues, limited functionality (1-2 base stations only), lack of maintenance/testing, and complex dependency management while users can still utilize the standard multi-basestation lighthouse geometry estimation.

  • Removal of deprecated OpenCV-based lighthouse geometry estimator
  • Cleanup of import statements and module exports
  • Deletion of associated test files and implementation

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
cflib/localization/init.py Removes import and export of LighthouseBsGeoEstimator class
cflib/localization/lighthouse_bs_geo.py Complete file deletion (implementation removed)
test/localization/test_lighthouse_bs_geo.py Complete file deletion (tests removed)

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@gemenerik gemenerik changed the title Remove OpenCV-based lighthouse geometry estimator from cflib Remove OpenCV-based lighthouse geometry estimator Sep 15, 2025
@ataffanel ataffanel merged commit 83c7325 into master Sep 16, 2025
1 check passed
@gemenerik gemenerik deleted the rik/remove-opencv-geometry-estimator branch September 16, 2025 14:13
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