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

Map circular input region of the joysticks to a square region, improved user interface. #8

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

Conversation

eike-welk
Copy link

  • More conventional command line user interface, and better reporting of possible problems.

  • Maps circular input region of the joysticks to a square region.
    This is necessary to drive tight corners, and fast curves.

  • Expanded user interface on the game controller

    • Separate buttons to start and stop recording.
    • Separate buttons for automatic and manual driving.
    • Interactive scaling for angle and throttle.
  • Better and more complete comments.

  • Various small bug fixes.

Only the device name was converted to lower case, but not the
search term for the input device. Therefore the input device
could not be found by using the default search term, or by its
name as it was displayed in "bluetoothctl".
* Throttle & angle are on different analog sticks. On the old mapping
  full steering could only be applied with zero throttle. (The
  shape of the analog sticks' maximum deflection is a circle.)

* Separate buttons for 'start recording' and 'stop recording'.

* Separate buttons for manual driving mode and automatic driving mode.
  The automatic driving mode button toggles between: 'automatic
  steering' and 'automatic steering and throttle'
Throttle and angle are independent, and therefore need a rectangular
input area. This change maps the 45 degree positions to maximum values
in both channels.

Additionally a variable scaling for the angle was added.
This avoids unexpected acceleration.
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.

1 participant