Skip to content
This repository was archived by the owner on Feb 18, 2026. It is now read-only.
This repository was archived by the owner on Feb 18, 2026. It is now read-only.

Fix transition condition for the one pedal mode #418

@jiwoop

Description

@jiwoop

Currently, one pedal mode is enabled by pressing one pedal enable button. One pedal mode has three segments:
currentOnePedal
This means that if the driver presses the pedal a little bit in the forward normal drive and switch to the one pedal mode, the pedal will be in the region of regenerative braking. This would make the car to start braking suddenly.

To address the problem, we should add a mechanism/algorithm that would let driver to go in the same speed that they were going before they enter one pedal mode.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions