Skip to content

fix: get_button_values creates scalar array instead of empty array - #65

Open
andrewwhitecdw wants to merge 1 commit into
NVlabs:mainfrom
andrewwhitecdw:bugfix/inputs-6904596e
Open

fix: get_button_values creates scalar array instead of empty array#65
andrewwhitecdw wants to merge 1 commit into
NVlabs:mainfrom
andrewwhitecdw:bugfix/inputs-6904596e

Conversation

@andrewwhitecdw

Copy link
Copy Markdown

This PR addresses the following issue in exts/omni.ext.mobility_gen/omni/ext/mobility_gen/inputs.py: get_button_values creates scalar array instead of empty array.

Changes

  • exts/omni.ext.mobility_gen/omni/ext/mobility_gen/inputs.py: get_button_values creates scalar array instead of empty array.

Details

Before:

    def get_button_values(self) -> np.ndarray:
        return np.ndarray([])

After:

    def get_button_values(self) -> np.ndarray:
        return np.array([])

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