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

Acceleration #5

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

Conversation

dettmann
Copy link

With the acceleration mode enabled, one can accelerate or decelerate with the analogue inputs, which is better suited for controlling comparably slow walking robots or when moving over great disrances

}

/* handle the translational part */
uint8_t stop_translation_button = rcmd.buttonValue[_stop_translation_button.get()];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe that not every input device necessarily provides buttons, so this options should be optional and deactivated on default.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, that's why they are just used with acceleration mode enabled. Maybe it's a good idea to check the length of the button vector before?

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.

2 participants