Skip to content

[MISC] Minor updates for viewer plugins#2728

Open
Milotrince wants to merge 5 commits intoGenesis-Embodied-AI:mainfrom
Milotrince:viewer_minor
Open

[MISC] Minor updates for viewer plugins#2728
Milotrince wants to merge 5 commits intoGenesis-Embodied-AI:mainfrom
Milotrince:viewer_minor

Conversation

@Milotrince
Copy link
Copy Markdown
Contributor

Description

  • Add toggling orthographic camera mode to DefaultControlsPlugin
  • Change help text font color to light/dark based on background color
  • Fix MouseInteractionPlugin crashing when n_envs > 0
  • Fix KinematicTactile sensor _draw_debug_probes when n_envs > 0

Related Issue

Motivation and Context

minor fixes

How Has This Been / Can This Be Tested?

n_envs has been added as parameter to plugin tests

Screenshots (if appropriate):

Checklist:

  • I read the CONTRIBUTING document.
  • I followed the Submitting Code Changes section of CONTRIBUTING document.
  • I tagged the title correctly (including BUG FIX/FEATURE/MISC/BREAKING)
  • I updated the documentation accordingly or no change is needed.
  • I tested my changes and added instructions on how to test it for reviewers.

Copy link
Copy Markdown

@claude claude Bot left a comment

Choose a reason for hiding this comment

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

Claude Code Review

This pull request is from a fork — automated review is disabled. A repository maintainer can comment @claude review to run a one-time review.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 20343932dd

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment on lines +316 to +318
self._debug_interact_nodes.append(self.scene.draw_debug_mesh(self._plane_mesh, T=plane_T))
else:
self.scene.update_debug_objects(self._debug_interact_nodes, (sphere_T, line_T, plane_T))
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Keep debug node and pose counts aligned

This branch initializes only two interaction debug nodes (sphere and plane), but later updates always pass three transforms (sphere_T, line_T, plane_T) to update_debug_objects. Since that API zips objects with poses, the third pose is ignored and the plane gets line_T, so held-object visuals are wrong (line never appears and plane transform is corrupted) during drag interactions.

Useful? React with 👍 / 👎.

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.

1 participant