-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Ship Ford Q4 to release #1729
Comments
I will try to comment on what we do for Q4 Ford to refine it - I will split it in multiple comments for easier consumtion RADAR Parsing: I had an attempt to use the same approach that is in master for Q3, even though Q4 is missing some control messages, like 'MRR_Header_InformationDetections', 'MRR_Header_SensorCoverage' - I just relied on the MRR device sending the right scanIndex, https://github.com/commaai/opendbc/blob/master/opendbc/car/ford/radar_interface.py#L198. The outcome was the drivability was not bad, but the chevron arrow was jumping around a lot. Even pointing to location where nothing was present, just an empty lane. This is my equivalent method:
|
Usable Radar: Q4 fords are using this approach in sunnypilot https://github.com/sunnypilot/sunnypilot/blob/dev-c3/selfdrive/car/ford/radar_interface.py Q4 with the MLSIM models - no extra tuning - was always stopping to close to the car in front or even trying to ram the car in front. Ford sends:
|
openpilot long usability in Q4: Even in the latest master the brake actuator, since for ford we have to control it, it's very active. It activates for very small slowdowns - there is no "cruising" - no acceleration and no braking here https://github.com/commaai/opendbc/blob/master/opendbc/car/ford/carcontroller.py#L128 we are using
This is what it was found to give a good balance to avoid false actuator activation, this might be considered just fine tuning. I think radar is more important than this fine tuning. |
This is probably why the EVs seem to be okay. There's no engine braking, but the friction brake still activates the regen braking slightly before actuating the physical friction brakes. With the above hysteresis, this is a great feel for both EVs and ICE. In addition to the above long items, the following lat item is noticed: Biggest issue we have right now is that when you take control of the steering wheel to take a 90 degree turn, the steering wheel holds an angle that's not straight and you have to hold the wheel until it stops pulling. right now, to address this on forks, we set all 4 control variables to zero and ramp_type to 3. this allows us to take control from and not experience the angle holding that master does Further more, the wheel can only be actuated to 80 degrees when using the single curvature variable and actuation is slow. To get further beyond the 80 degree limit and wildly better micro-control, the other three signals need to be introduced. |
A good route that can be analyzed:
Found issue #1754 which causes failure to fingerprint. |
Standing by to test branches this weekend. |
Commenting to help test during this weekends hackathon (2023 F-150 Raptor) |
I have a 23 Lightning running 3x on bluepilot. I would like to help with this process but not sure what is needed. |
We've got a Mach-E rented for COMMA_HACK (there's no F-150s available around us unfortunately).
To make the most of that time, post any quirks, bugs, issues, and feedback here. Ideally, include at least your Dongle ID and preferably a route too.
TODO
Nice to haves:
The text was updated successfully, but these errors were encountered: