E-clutch
Before you start, you should check what is:
This mode can be used as an emulation of the clutch from conventional motorbikes. Analogue signal from clutch input (after CSC) is used as multiplier for throttle signal (after CSC). Then this signal continues through the general accleration signal path
Parameters
The ASC and CSC for the clutch are located in the folder /acc/ascclt
, resp /acc/cscclt
.
Configuration steps
Set the clutch input
This function is activated if /io/IN_clutch
is mapped to a GPIO. (value is non-zero)
This is a list of most common GPIO pins:
/io/IN_clutch value | Input name |
---|---|
0 - default | clutch is disabled |
8 | GPIO0 |
9 | GPIO1 |
10 | GPIO2 |
11 | GPIO3 |
12 | GPIO4 |
Check the Input mapping for more information.
Also it is recommended to configure the GPIO to the floating input (disable pull-up or pull-down resistor). This can be done by setting the /common/ioconfX
parameter to 0. More about ioconf here
Set the clutch signal range
Using the ASC and CSC for the clutch, you can set the range of the clutch signal. The ASC and CSC for the clutch are located in the folder /acc/ascclt
, resp /acc/cscclt
.
For example, check the getting started guide for the throttle - Getting started - throttle. You can do the same steps for the clutch signal.