Skip to content

[fix] keyboard commands crashing with 3-column command tensor#82

Open
maedmatt wants to merge 1 commit into
amazon-far:mainfrom
maedmatt:fix/isaacgym-heading-command
Open

[fix] keyboard commands crashing with 3-column command tensor#82
maedmatt wants to merge 1 commit into
amazon-far:mainfrom
maedmatt:fix/isaacgym-heading-command

Conversation

@maedmatt

Copy link
Copy Markdown
Contributor

Issue

  • Heading left/right keys (Q/E) hardcode commands[:, 3] which crashes with IndexError for locomotion configs that have as command (vx, vy, vyaw).
  • Fix: fall back to commands[:, 2] (angular velocity) when no 4th column exists.
  • Also zero_command (Z key) which hardcoded commands[:, :4] is now zeros on all columns.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

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