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

RC Mode joystick mixing #19

Open
worlds6440 opened this issue Mar 22, 2017 · 2 comments
Open

RC Mode joystick mixing #19

worlds6440 opened this issue Mar 22, 2017 · 2 comments
Assignees

Comments

@worlds6440
Copy link
Contributor

Currently using tank driving mode where left and right sticks are used only for left and right throttles. Need to implement single stick driving mode.

@worlds6440 worlds6440 self-assigned this Mar 22, 2017
@PKM-UK
Copy link
Contributor

PKM-UK commented Mar 22, 2017

Provisional joystick mixing code is now in the joystick branch. Left Y axis throttle, right X axis steering, configurable expo and scaling in the code. It might steer the wrong way...

@worlds6440
Copy link
Contributor Author

Cool.

I Think you meant the opposite here. Currently it will be using tank driving when not in tank mode.
if self.core_module:
if self.tank:
self.core_module.throttle(c_l_motor, c_r_motor)
else:
self.core_module.throttle(l_throttle, r_throttle)

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

No branches or pull requests

2 participants