-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lateral tuning of E9x #2
base: master
Are you sure you want to change the base?
Conversation
…R_SERVO_CAN is not available
Thanks for contributing to openpilot! In order for us to review your PR as quickly as possible, check the following:
|
This reverts commit 2c59e0b.
… rather than cruise units
need to figure out what values in toml causes:
|
@OxygenLiu any idea why it was constantly requesting max torque to the right and being undrivable? Is it related to |
this is the torque params for cycloidal reducer 11:1, probably not suitable for planetary gearbox. I had similar issue due to wrong stepper direction. :( |
For 5:1 shouldn't be that much different. Strange that it always go full to the right, not just opposite. I will test longitudinal for now. |
@@ -33,7 +33,7 @@ | |||
MIN_ENGAGE_BUFFER = 2 # secs | |||
|
|||
VERSION = 1 # bump this to invalidate old parameter caches | |||
ALLOWED_CARS = ['toyota', 'hyundai'] | |||
ALLOWED_CARS = ['bmw', 'toyota', 'hyundai'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bmw
probably should not be allowed to use live values, because overriding the steering by hand cannot be detected and could sometimes skew the results.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hm, I agree. The learned live parameters can be saved in override.toml
, and then delete bmw
in ALLOWED_CARS
.
In practise I don't override steering, but instead press the brake pedal to disengage OP.
Besides, without a proper torque sensor, it is probably quite challenge to achieve a smooth overriding.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overriding works well when going nore or less straight and torque is low. OP still doesn't work great when there is no lane lines.
Car
E90 325i, MY2008
Tuning