fstelemetry-0.1.1
توضیحات
Capture FS2020 telemery to a csv file
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | fstelemetry-0.1.1 |
| نام | fstelemetry |
| نسخه کتابخانه | 0.1.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | John Bencina |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/jbencina/fstelemetry |
| آدرس اینترنتی | https://pypi.org/project/fstelemetry/ |
| مجوز | MIT |
# FSTelemetry
Python library for collecting Flight Simulator 2020 telemetry into a local csv
file using SimConnect. Variables for collection are simply defined in a
`config.yaml` file.
A list of available data points can be found here at the Python-SimConnect
GitHub page:
https://github.com/odwdinc/Python-SimConnect/blob/master/SimConnect/RequestList.py#L234.
## Getting Started
Install FSTelemetry (https://pypi.org/project/fstelemetry/)
```bash
pip install fstelemetry
```
Create a `config.yaml` file in a new folder containing a list of metrics
you would like to track:
```yaml
keys:
- PLANE_ALTITUDE
- GROUND_VELOCITY
- AIRSPEED_INDICATED
- AIRSPEED_MACH
- AMBIENT_TEMPERATURE
- AMBIENT_PRESSURE
- TOTAL_WEIGHT
- FUEL_TOTAL_QUANTITY
- ENG_FUEL_FLOW_GPH:1
- ENG_FUEL_FLOW_GPH:2
- TURB_ENG_CORRECTED_N1:1
- TURB_ENG_CORRECTED_N2:1
- VERTICAL_SPEED
- AIRCRAFT_WIND_X
- AIRCRAFT_WIND_Y
```
In the same directory, simply launch the tool (Note: ensure you are in an
active flight)
```bash
fstelemetry
```
This will produce a log file named with the current `YYYYMMDDHHMMSS.csv` by
default. You can change settings such as the config & log file location if
needed. You can also adjust the delay in logging (default 1.0 seconds). See:
```bash
fstelemetry --help
usage: fstelemetry [-h] [--config CONFIG] [--log LOG] [--interval INTERVAL]
optional arguments:
-h, --help show this help message and exit
--config CONFIG Relative path to the config file
--log LOG Relative path for the output log file
--interval INTERVAL Polling interval in seconds
```
نیازمندی
| مقدار | نام |
|---|---|
| ==0.4.23 | SimConnect |
| - | pyyaml |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.5 | Python |
نحوه نصب
نصب پکیج whl fstelemetry-0.1.1:
pip install fstelemetry-0.1.1.whl
نصب پکیج tar.gz fstelemetry-0.1.1:
pip install fstelemetry-0.1.1.tar.gz