Skip to content

[Bug]: Fix random "divide by zero" errors in ATS Telemetry skill #384

Description

@teddybear082

Wingman AI Version

2.1.1

Bug Description

Testers report that once in awhile ATS telemetry skill reports a "divide by zero" error when parsing truck simulator telemetry data. This is likely caused by one of the data points reporting as 0 or 0.0

Steps to Reproduce

There's not a great way to reproduce this but depends on the variable requested and current game state. The skill code does have a few locations where a variable represents the divisor. This could be made more robust by checking whether those instances the divisor is 0 before performing the calculation.

Wingman Configuration (Wingman.yaml)

N/A

Settings (settings.yaml)

N/A

Log File

N/A

Screenshots / Error Messages

N/A

Additional Context

N/A

Secrets Check

  • I confirm that I have NOT included my secrets.yaml or any API keys in this report.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions