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

3D field keybindings overlap with connect to robot keybinding #299

Closed
mpulte opened this issue Jan 3, 2025 · 1 comment
Closed

3D field keybindings overlap with connect to robot keybinding #299

mpulte opened this issue Jan 3, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@mpulte
Copy link

mpulte commented Jan 3, 2025

The keybinding for camera controls in the 3d view are bound to ijkl. Using command-k or command-shift-k to connect to robot or simulator while on this view causes the camera to rotate downward so that the field is no longer centered or even in view. This also affects robot/driver station camera locations.

I have only tested on a Mac and am unsure if this affects Windows devices. As a workaround, you can use a different tab to connect or use the File menu. To fix a rotated tab, tap k and then use i/k to reorient the camera.

To Reproduce
Steps to reproduce the behavior:

  1. Open a 3D Field tab.
  2. Press cmd-shift-k or cmd-k

Expected behavior
View does not rotate

Screenshots

Screen.Recording.2025-01-03.at.4.04.21.PM.mov

Version (required):
4.1.0 and WPI 4.0.0-beta

Additional context
Add any other context about the problem here.

@mpulte mpulte added the bug Something isn't working label Jan 3, 2025
@jwbonner
Copy link
Member

jwbonner commented Jan 3, 2025

Thanks for catching that. The solution I just added is to only apply the 3D field keyboard shortcuts when the meta key (command/control) is not pressed. So if you press Cmd+K or Cmd+Shift+K it won't affect the 3D field at all.

@jwbonner jwbonner closed this as completed Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants