Skip to content

Rework the lighthouse geometry estimator#747

Draft
krichardsson wants to merge 93 commits into
masterfrom
krichardson/umwelt
Draft

Rework the lighthouse geometry estimator#747
krichardsson wants to merge 93 commits into
masterfrom
krichardson/umwelt

Conversation

@krichardsson

@krichardsson krichardsson commented Jun 5, 2025

Copy link
Copy Markdown
Contributor

This PR contains changes that aims at reworking the lighthouse geometry estimator to make it easier to use and help the use to better understand the state of the system.

This is work in progress.

This PR breaks APIs and it should be used together with PR bitcraze/crazyflie-lib-python#543 in the client.

@krichardsson krichardsson changed the title Krichardson/umwelt Rework the lighthouse geometry estimator Jun 5, 2025

@enyanil enyanil left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Very nice updates, easy to follow and descriptive! I added comments with my opinions if there are changes you want to implement

Comment thread docs/userguides/userguide_client/lighthouse_tab.md Outdated
Comment thread docs/userguides/userguide_client/lighthouse_tab.md Outdated
Comment thread docs/userguides/userguide_client/lighthouse_tab.md Outdated
Comment thread docs/userguides/userguide_client/lighthouse_tab.md Outdated
Comment thread docs/userguides/userguide_client/lighthouse_tab.md Outdated
Comment thread docs/userguides/userguide_client/lighthouse_tab.md Outdated
Comment thread docs/userguides/userguide_client/lighthouse_tab.md Outdated
Comment thread docs/userguides/userguide_client/lighthouse_tab.md Outdated
Comment thread docs/userguides/userguide_client/lighthouse_tab.md Outdated
Comment thread docs/userguides/userguide_client/lighthouse_tab.md

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

The numbering is very confusing to me. Is there a reason this is not going from left to right and top to bottom. It make the corresponding text difficult to follow.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

To me it looks like the 5 is the 3d view and not the sample collection. Perhaps try a green square with a white 5 in the top corner.

match notification_type:
case _UserNotificationType.SUCCESS:
self._helper.cf.platform.send_user_notification(True)
self._helper.cf.param.set_value('led_deck_ctrl.rgb888', LED_DECK_RGB888_GREEN)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

oh nice! Did we also play with spinning the propellers at some point? or flashing the bitmask?

Either way we should mention this in the blog post I think.

_changeable = self._selected_sample_type in (LhCfPoseSampleType.XYZ_SPACE, LhCfPoseSampleType.VERIFICATION)
self._change_type_sample_button.setEnabled(_changeable)
self._change_type_sample_button.setToolTip(
'' if _changeable else 'Switching types of samples is only available for XYZ and Verification samples')

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

What other kinds of sample are there? Excluded samples?

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.

5 participants