-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Try to fix TSS2 creep with higher stopping target #2508
Conversation
I would argue that, off the cuff, these values differ per vehicle; especially between hybrid/non-hybrid braking systems. You want to modulate the brake pedal and allow the car to creep forward under own power without completely releasing the brake pedal, something that is impossible with current state machine. Maybe interp to lead distance would be the best way to handle this. (hint: expand the |
This workaround won't help imho as I tested it. |
I don't think it has to do with the speed going negative. What's interesting though is that the system briefly goes into CRUISE_STATE 11 when the wheel speeds hit zero. This in turn causes ACCEL_NET to jump up. Seems like they have some internal processing of our accel command, and going into certain states makes the actual braking lower than we command. |
Tried stopping brake rate 0.3 - feels good, will post graphs later |
Did you also increase the stopping target? If changing the value is a good fix for this problem we should indeed parameterize it. |
No, I change parameters one by one, so stopping target is the same. Will check graphs in the evening and parametrize it. |
Confirm that stopping brake rate 0.3 solves(or hides) the problem. |
If these tuning values fix the TSS2 creep, and still provide smooth stopping I can put them in carParams so they can be tuned on a vehicle by vehicle basis.
Original discussion: #1270
I think we need to increase start/stopping speed as well to maintain the same resume speed from a stop. If these values work we also need to make sure we only change them for the vehicles that need it and keep other cars the same.