🛠️ Fixer: Improve Suspension Bottoming Reliability and Feel#135
🛠️ Fixer: Improve Suspension Bottoming Reliability and Feel#135google-labs-jules[bot] wants to merge 1 commit intomainfrom
Conversation
- Increase BASE_NM_BOTTOMING from 1.0f to 5.0f for more perceptible jolts. - Relax ride height scraping threshold from 2mm to 10mm for better sensitivity. - Implement fallbacks for missing mTireLoad and mSuspForce, enabling bottoming effects for DLC cars. - Add safety clamping to intensity calculations to prevent FFB spikes. - Explicitly reset bottoming output every frame to prevent stuck forces. - Define cross-platform NOINLINE macro in FFBEngine.h. - Fix broken coverage tests in test_ffb_coverage_refactor.cpp. - Add reliability regression tests in test_ffb_road_texture.cpp.
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
This PR addresses reports that the Suspension Bottoming effect was ineffective or non-functional, particularly on DLC cars.
Key improvements:
std::clampto all intensity calculations and an explicit reset of thebottoming_crunchcontext variable to prevent FFB spikes or stuck forces during physics glitches.NOINLINEmacro to support both MSVC and GCC, fixing Linux build errors.Verified with 260/260 passing test cases on Linux (Headless).
PR created automatically by Jules for task 17041721125058709674 started by @coasting-nc