question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Toyota: Prolonged low speed lateral oscillation

See original GitHub issue

Describe the bug

This is an instance of steering oscillation commonly experienced when driving tssp corolla at low speeds (20->35mph).

https://user-images.githubusercontent.com/3820605/186998526-4404dbbe-1ecd-45ef-bbab-e99b05373967.mp4

(segment 9) image

segments 10 and 11 also display oscillating torque output/steering angle.

Which car does this affect?

Toyota Corolla 2017

Provide a route where the issue occurs

a152dad3c3368320|2022-08-26–15-36-30–9

openpilot version

38eb19bf04a5b6498cc38377796134205f0ee725

Additional info

latcontrol torque error equations

setpoint = desired_curvature * vego^2 + desired_curvature * low_speed_factor
setpoint = desired_curvature * (vego^2 + low_speed_factor)
measurement = actual_curvature * (vego^2 + low_speed_factor)

==>

error = (desired_curvature - actual_curvature) * (vego^2 + low_speed_factor)

error is difference in curvature multiplied by vego^2 + low_speed_factor

graph of vego^2 + low_speed_factor

https://www.wolframalpha.com/input?i=y+%3D+piecewise[{{500%2C+x+<+10}%2C+{800+-+30x%2C+x+<+20}%2C+{200%2C+x+>+20}}]+%2B+x^2

y = piecewise[{{500, x < 10}, {800 - 30x, x < 20}, {200, x > 20}}] + x^2

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

3reactions
sshanecommented, Aug 26, 2022

Loving the use of the clipping feature!

0reactions
ntegan1commented, Nov 29, 2022

Is this still an issue?

Missed this. Much better!

Torque control is so good

Read more comments on GitHub >

github_iconTop Results From Across the Web

CFA_TSS_2.pdf - Toyota
Most TSS 2.0 models will feature Full-Speed Range. Dynamic Radar Cruise Control⁵, which is designed to allow low-speed following, speed matching, stopping, and....
Read more >
Suspension Vibration and Noise Diagnosis - Brake & Front End
Acceleration/deceleration sensitive — The vibration/noise is only noticed when vehicle speed changes (as when starting out from a stop, passing, slowing down or ......
Read more >
Vibration Diagnosis: On Acceleration, Braking, High/Low ...
Vibration Diagnosis: On Acceleration, Braking, High/ Low Speed, ... the most common types of vehicle vibrations, their causes, and repairs.
Read more >
Experimental study on braking and stability performance ...
The test results show that the low speed worsens braking stability, ... The long time also causes oscillations to increase about a reference...
Read more >
9 Reasons Why Your Car Shakes When Accelerating (and ...
Does the vehicle only vibrate at low speeds, high speeds, or a constant speed? If your car only shakes while braking, the cause...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found