Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arithmetic Exception in AutoPilotSystem.LimitSpeed #290

Open
Synirrr opened this issue Feb 27, 2024 · 0 comments
Open

Arithmetic Exception in AutoPilotSystem.LimitSpeed #290

Synirrr opened this issue Feb 27, 2024 · 0 comments

Comments

@Synirrr
Copy link
Contributor

Synirrr commented Feb 27, 2024

13:43:20.6704 [INFO] Keen: MES / General: Exception in Parallel Calculations
13:43:20.6704 [INFO] Keen: MES / General: System.ArithmeticException: Function does not accept floating point Not-a-Number values.
at System.Math.Sign(Single value)
at ModularEncountersSystems.Behavior.Subsystems.AutoPilot.AutoPilotSystem.LimitSpeed(Single proposedSpeed, Double actualSpeed)
at ModularEncountersSystems.Behavior.Subsystems.AutoPilot.AutoPilotSystem.CalculateGyroRotation()
at ModularEncountersSystems.Behavior.Subsystems.AutoPilot.AutoPilotSystem.ProcessRotationParallel(Boolean hasWaypoint)
at ModularEncountersSystems.Behavior.Subsystems.AutoPilot.AutoPilotSystem.PrepareAutopilot()
at ModularEncountersSystems.Behavior.BehaviorManager.ProcessAutoPilotParallel()
at ModularEncountersSystems.Behavior.BehaviorManager.<>c.b__17_0()

Grids spawn but never move and this exception is thrown continuously multiple times a second

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant