garrettpall 7ebd7b8b4d maneuversd: Add note about cars requiring resume button press to exit standstill (#33665) | 3 周之前 | |
---|---|---|
.. | ||
.gitignore | 1 月之前 | |
README.md | 3 周之前 | |
generate_report.py | 3 周之前 | |
maneuversd.py | 3 周之前 |
Test your vehicle's longitudinal control tuning with this tool. The tool will test the vehicle's ability to follow a few longitudinal maneuvers and includes a tool to generate a report from the route.
master
on your comma device. echo -n 1 > /data/params/d/LongitudinalManeuverMode
Note: For GM cars, it is recommended to hold down the resume button for all low-speed tests (starting, stopping and creep) to avoid the car entering standstill.
Gather the route ID and then run the report generator. The file will be exported to the same directory:
$ python tools/longitudinal_maneuvers/generate_report.py 57048cfce01d9625/0000010e--5b26bc3be7 'pcm accel compensation'
processing report for LEXUS_ES_TSS2
plotting maneuver: start from stop, runs: 4
plotting maneuver: creep: alternate between +1m/s^2 and -1m/s^2, runs: 2
plotting maneuver: gas step response: +1m/s^2 from 20mph, runs: 2
Report written to /home/batman/openpilot/tools/longitudinal_maneuvers/longitudinal_reports/LEXUS_ES_TSS2_57048cfce01d9625_0000010e--5b26bc3be7.html
You can reach out on Discord if you have any questions about these instructions or the tool itself.