Skip to main content
FW version: Stable

Cruise and Walk

cruise.jpg

These functions require a GPIO-connected button. The cruise input (in_cruise) must be mapped to GPIO through input mapping.

tip
  • One physical input can serve both in_cruise (long press) and in_mapswitch (short press)
  • Map changes automatically disable cruise mode

Cruise Function

When enabled, cruise control maintains the current speed level. Activate cruise by long-pressing the cruise button. Deactivate it using the brake or accelerator (if enabled in crsopts).

Cruise activation requires the relative speed to exceed the walklvl value. With speed measured from 0 to 1 (full motor speed), setting walklvl to 0.1 means cruise activates only above 10% of full speed.

Assisted Walk Function

This special cruise mode helps when pushing a bike uphill. Activate walk assist by pressing and holding the cruise button - it remains active until release. The system provides walk assist below walklvl speed and switches to cruise mode above it.

Parameters

info

All parameters are located in the /cruise folder.

crsopts

Configuration options for cruise and walk functionality.

BitDescription
0Enable walk function
1Enable cruise function
2Allow accelerator to deactivate cruise
3Allow cruise button press to deactivate cruise
4Activate cruise with short press (instead of long press)

walklvl [0-1]

Defines the speed threshold for walk function activation. Walk function activates below this speed level. Values range from 0-1, where 1 represents full speed (e.g., 0.1 equals 10% of full speed).