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

Change AI throttle Multiplier on the joystick #943

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

altusXe
Copy link

@altusXe altusXe commented Oct 4, 2021

Changing AI throttle multiplier on the joystick while running the model instead of changing it on the config file everytime.

Currently the function has been mapped only to the PS3 joystick dpad left and dpad right buttons as they were not being used, but can be mapped to other joysticks if there are unused buttons.

Changing AI throttle multiplier on the joystick while running the model instead of changing it on the config file everytime.

Currently the function has been mapped only to the PS3 joystick dpad left and dpad right buttons as they were  not being used, but can be mapped to other joysticks if there are unused buttons.
@altusXe altusXe closed this Oct 5, 2021
@altusXe altusXe reopened this Oct 5, 2021
@zlite zlite requested a review from Ezward October 6, 2021 18:07
@@ -488,6 +489,9 @@ class DriveMode:
def run(self, mode,
user_angle, user_throttle,
pilot_angle, pilot_throttle):

mul = ctr.ai_scale
Copy link
Contributor

Choose a reason for hiding this comment

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

How is this expected to work if ctr != MyJoyStickController?

@@ -488,6 +489,9 @@ class DriveMode:
def run(self, mode,
user_angle, user_throttle,
pilot_angle, pilot_throttle):

mul = ctr.ai_scale
Copy link
Contributor

Choose a reason for hiding this comment

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

How is this expected to work if ctr != MyJoyStickController?

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.

None yet

2 participants