In this step we will see how to modify the mappings for the most common driver inputs (Steering wheel, Pedals and Gearbox).
1. In the Process Editor, click on the file icon next to .hdrv file name.
2. In the Human driver editor there are four differents areas.
- Functions group in the upper left - This area is used to select the main driving functions (such as steering, pedals, ignition key…) that will be controlled by the HumanDriver. The functions that are not checked can be used by another acquisition module.
- Function mapping on the right - This area is a table containing the mapping of each function of the SCANeR vehicle to a command from a hardware system.
- Options in the middle left - This area will enable more active controls for the operator to choose more parameters related to the selected function.
- Configure network in the lower left corner - It is also possible to retrieve acquisition through UDP, VEN or EtherCAT Communication.
3. Modify the mapping.
Step 3.1. Steering wheel
There are 2 functions for steering (Steer left and Steer right). To change the mapping, double click on Steer left or Steer right (seen above in red), then click on other device... or keyboard and press the key you want to use to steer left
Step 3.2. Pedals
You can repeat the above step for Pedal functions (Brake, Gas, Handbrake and Clutch).
For Brake, Gas and Clutch, it is possible to use the smooth option to have a value that changes smoothly from 0 to 1. Custom calibration can be used to use a custom curve to create a non linear mapping between the command and the input. Good calibration means better feeling and immersion for the driver.
Step 3.3. Gearbox
In SCANeR you can choose whether to drive an antomatic gearbox, manual gearbox or sequential gearbox in the Options area. Once you have chosen, you can map buttons in the Function mapping area to change the mode (e.g. Switch between Automatic and Manual) or to change the gearbox status (e.g. from Drive to Park for an automatic gearbox).