Openpilot: Disable lane keeping during lane change + decrease it during manual steer

Created on 21 Jun 2019  ·  6Comments  ·  Source: commaai/openpilot

If I am showing right (left) turn side light, I plan to change lane to the right (left). Wouldn't it be easy to disable lane keeping torque on the steering wheel when the following two conditions are met?

  1. Turn signal is ON
  2. Steer torque in the direction of the turn signal
    And then enable lane keeping when the following condition is met?
  3. No torque on the steering wheel by the driver
    This would ease out lane changes!

Additionally, the following would be helpful to prevent car from bumping on the pot holes:

  • Decrease the lane keeping control gain when manual torque is detected on the steering wheel.

Most helpful comment

@nojvek Most people "need" safety prioritized over features. Also, fewer choices promote a consistent, straightforward user experience.

All 6 comments

it has been done before

check out kegman's branch he has a simple way of disabling lkas when blinkers are on

To be honest. Openpilot needs more switches in its settings.

There’s a whole bunch of really cool features that the community is working on and it’s in different branches

What we need is feature flags. By default openpilot is in safe mode. But you can enable certain feature flags via settings to try out “beta” features like automatic lane change, park assist, stop and go, red light detection, aggressive braking, acceleration and turning etc.

@nojvek Most people "need" safety prioritized over features. Also, fewer choices promote a consistent, straightforward user experience.

With lane changes shipped this is no longer relevant

Whoa! so excited for automatic lane changes.

Was this page helpful?
0 / 5 - 0 ratings