Skip to content

Commit

Permalink
New autos have a starting pose by default
Browse files Browse the repository at this point in the history
  • Loading branch information
mjansen4857 committed Oct 16, 2023
1 parent 0ad8631 commit 4d19ec0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/auto/pathplanner_auto.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import 'dart:convert';
import 'dart:math';

import 'package:file/file.dart';
import 'package:path/path.dart';
Expand Down Expand Up @@ -38,7 +39,8 @@ class PathPlannerAuto {
required this.autoDir,
required this.fs,
this.folder,
}) : sequence = SequentialCommandGroup(commands: []);
}) : sequence = SequentialCommandGroup(commands: []),
startingPose = Pose2d(position: const Point(2, 2));

PathPlannerAuto duplicate(String newName) {
return PathPlannerAuto(
Expand Down

0 comments on commit 4d19ec0

Please sign in to comment.