Skip to content

Fix longitudinal support: add precision weights to MPC based on plan …#4

Closed
SloPOS wants to merge 1 commit into
NotAutopilot:naponsp-devfrom
SloPOS:fix-longitudinal-precision
Closed

Fix longitudinal support: add precision weights to MPC based on plan …#4
SloPOS wants to merge 1 commit into
NotAutopilot:naponsp-devfrom
SloPOS:fix-longitudinal-precision

Conversation

@SloPOS

@SloPOS SloPOS commented Apr 8, 2026

Copy link
Copy Markdown

PR Title: Fix longitudinal support: add precision weights to MPC based on plan source

PR Description:
This PR addresses longitudinal precision issues observed when integrating SunnyPilot. It introduces a mechanism to apply specific precision weights to the MPC based on the source of the plan, reducing the "hunting" and instability common in the previous integration.

Key Changes:

  • Added precision weight logic to the MPC to better handle different plan sources.
  • Improved stability for longitudinal control when utilizing SunnyPilot-based planning.
  • Reduces oscillation and improves tracking accuracy.

Branch: fix-longitudinal-precision
Target: NotAutopilot/naponsp-dev

@SloPOS

SloPOS commented Apr 10, 2026

Copy link
Copy Markdown
Author

Disregard, not working

@SloPOS SloPOS closed this Apr 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant