Skip to content

Cannot edit path #1013

@5690Programmers

Description

@5690Programmers

Describe the bug
I am unable to edit any path or add a path to my auto. When I attempt to do so, the GUI crashes.

To Reproduce
Steps to reproduce the behavior:

  1. Open pathplanner
  2. Create path
  3. Click on path or preexisting path
  4. Encounter Uncaught Error "Unsupported operation: Infinity or NaN toInt"

Expected behavior
The pathplanner path editor

Versions: (please complete the following information):

  • OS: Windows 11 Pro version 24H2 build 26100.2605
  • GUI Version: 2025.2.1
  • PPLib Version: 2025.2.1
  • PPLib Language: C++

Additional context
Stack Trace:

#0      double.~/ (dart:core-patch/double.dart)
#1      _RepeatingSimulation.x (package:flutter/src/animation/animation_controller.dart:1009)
#2      AnimationController._startSimulation (package:flutter/src/animation/animation_controller.dart:832)
#3      AnimationController.repeat (package:flutter/src/animation/animation_controller.dart:746)
#4      _SplitPathEditorState._simulatePath (package:pathplanner/widgets/editor/split_path_editor.dart:772)
#5      _SplitPathEditorState.initState.<anonymous closure> (package:pathplanner/widgets/editor/split_path_editor.dart:127)
#6      SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1397)
#7      SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1331)
#8      SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:1176)
#9      _rootRun (dart:async/zone.dart:1414)
#10     _CustomZone.run (dart:async/zone.dart:1317)
#11     _CustomZone.runGuarded (dart:async/zone.dart:1225)
#12     _invoke (dart:ui/hooks.dart:314)
#13     PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:427)
#14     _drawFrame (dart:ui/hooks.dart:283)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions