Skip to content

Advanced interface

ktpa edited this page May 22, 2021 · 26 revisions

WIP

The Advanced Interface consists of the following:


Screen

Driving Screen

DrivingScreenDriving

Functionalities

Park

In park mode, the user is permitted to leave the driving screen.

Drive

In drive mode, the user is prohibited to leave the driving screen.

Voice Command

Running on an Android Virtual Device

  1. Launch your AVD
  2. Go to Extended controls
  3. Select Microphone
  4. Toggle the option "Virtual microphone uses host audio input"
  5. Recompile the application without closing the virtual device.
  6. You should now hear a sound when you press the microphone-button from the drive-screen.

Any problems can usually be solved by doing the following steps:

  1. Go to AVD Manager and select "Wipe Data" on your AVD.
  2. Follow "Running on an Android Virtual Device" steps.

Joystick

The joystick controls the AlSet vehicle's power and steering directions. Up represents forward, and down backwards. The radial bounds of the joystick is controlled by the variable joystickRadiusMax present in DrivingActivity.java:

private final float joystickRadiusMax = 180;

Clone this wiki locally