Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/k4j8/engine-rpms-vs-car-speed
Plot engine RPMs against car speed
https://github.com/k4j8/engine-rpms-vs-car-speed
Last synced: about 14 hours ago
JSON representation
Plot engine RPMs against car speed
- Host: GitHub
- URL: https://github.com/k4j8/engine-rpms-vs-car-speed
- Owner: k4j8
- License: mit
- Created: 2022-08-07T15:45:37.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-10T13:26:28.000Z (about 2 years ago)
- Last Synced: 2024-03-19T15:03:16.882Z (8 months ago)
- Language: Python
- Size: 463 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Engine RPMs vs. Speed
Plots engine RPMs against car speed and performs k-means clustering to determine the gear number.
How to use:
1. You can collect your own source data with an OBD2 reader that supports exporting to a file.
2. Update the global constants in `engine_rpms_vs_car_speed.py` to match your source data file name and column names.
3. Install the requirements: `pip install --requirement requirements.txt`
4. Run the script: `python engine_rpms_vs_car_speed.py`Graph of data **without** clustering:
![Without clustering](images/Engine%20RPMs%20vs.%20Car%20Speed%20without%20clustering.png)Graph of data **with** clustering:
![With clustering](images/Engine%20RPMs%20vs.%20Car%20Speed%20with%20clustering.png)