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

Scale factor calculation error in JoystickInput block #272

Closed
bernhard-thiele opened this issue Dec 7, 2018 · 0 comments
Closed

Scale factor calculation error in JoystickInput block #272

bernhard-thiele opened this issue Dec 7, 2018 · 0 comments
Assignees
Labels
Milestone

Comments

@bernhard-thiele
Copy link
Collaborator

The scale factor should be multiplied. Change line

axes = (AxesRaw .- 32768)/32768 ./gain;

to

axes = (AxesRaw .- 32768)/32768 .*gain;
@bernhard-thiele bernhard-thiele self-assigned this Dec 7, 2018
@bernhard-thiele bernhard-thiele added this to the v1.7.0 milestone Dec 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant