Skip to content

feat: add center of mass indicators and analysis tool panel #1153

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

Draft
wants to merge 4 commits into
base: dev
Choose a base branch
from

Conversation

rutmanz
Copy link
Member

@rutmanz rutmanz commented Jun 20, 2025

Description

Adds an analysis panel (per the Jira ticket) and a center of mass indicator for robot bodies that can be enabled. Currently the center of mass sphere floats in front of the rest of the scene so it can be seen even when inside a mesh (like Dozer).

image

Testing Done

  • Turning on and off with existing robots
  • Adding robots while enabled
  • Closing panel while enabled

AARD-1817

@rutmanz rutmanz requested review from a team as code owners June 20, 2025 21:51
@rutmanz rutmanz self-assigned this Jun 20, 2025
@rutmanz rutmanz added rendering Relating to the rendering engine or how something is rendered ui/ux Relating to user interface, or in general, user experience labels Jun 20, 2025
@BrandonPacewic BrandonPacewic requested review from ariesninjadev and removed request for Dhruv-0-Arora June 20, 2025 22:46
Copy link

@ariesninjadev ariesninjadev left a comment

Choose a reason for hiding this comment

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

It's preferable that one is able to continue viewing the CoM's of robots even after the analysis panel is closed. Further, it should be stored alongside other data in browser cache to preserve the setting. lmk if you disagree

Fix unit test **

@rutmanz
Copy link
Member Author

rutmanz commented Jun 20, 2025

I'm inclined to agree that it would make sense as a setting, but the ticket specifies that it should be the start of a separate analysis mode/panel. cc @BrandonPacewic

@BrandonPacewic BrandonPacewic self-assigned this Jun 23, 2025
Copy link
Member

@BrandonPacewic BrandonPacewic left a comment

Choose a reason for hiding this comment

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

It's preferable that one is able to continue viewing the CoM's of robots even after the analysis panel is closed. Further, it should be stored alongside other data in browser cache to preserve the setting. lmk if you disagree

Fix unit test **

I'm inclined to agree that it would make sense as a setting, but the ticket specifies that it should be the start of a separate analysis mode/panel. cc @BrandonPacewic

I think I agree with these suggestions. I'll take over this PR since @rutmanz is out for the week.

@BrandonPacewic BrandonPacewic marked this pull request as draft June 23, 2025 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rendering Relating to the rendering engine or how something is rendered ui/ux Relating to user interface, or in general, user experience
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants