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

Gazebo & SpaceNav Pro crash #2893

Open
ViaudJV opened this issue Nov 27, 2020 · 2 comments
Open

Gazebo & SpaceNav Pro crash #2893

ViaudJV opened this issue Nov 27, 2020 · 2 comments
Labels
9 Gazebo 9

Comments

@ViaudJV
Copy link

ViaudJV commented Nov 27, 2020

Hi,
I work with gazebo, i see a crash of gazebo-9 with spaceNav Pro.
This spacemouse have more than two buttons (14 bouttons).
The spacemouse event return a sev.button.bnum with a value up to 26.
I think to resolve the crash i suggest to increase number of button definition on SpaceNavPrivate.hh and modify SpaceNav.cc
or check sev.button.bnum value before affectation.

@chapulina chapulina added the 9 Gazebo 9 label Nov 30, 2020
@chapulina
Copy link
Contributor

Thank you for the bug report. You're welcome to open a pull request with the suggested fix. We won't have the hardware to test with, but if the code looks reasonable and maintains backwards compatibility I think we can get it in.

@chapulina
Copy link
Contributor

And I just saw your pull request 20 seconds after writing that reply 😄

#2895

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
9 Gazebo 9
Projects
None yet
Development

No branches or pull requests

2 participants