Skip to content

Commit

Permalink
set PathPlannerAuto's name to the file name
Browse files Browse the repository at this point in the history
  • Loading branch information
mjansen4857 committed Oct 26, 2023
1 parent bbd5803 commit 2f7a42d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ public PathPlannerAuto(String autoName) {

this.autoCommand = AutoBuilder.buildAuto(autoName);
m_requirements = autoCommand.getRequirements();
setName(autoName);
PPLibTelemetry.registerHotReloadAuto(autoName, this);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ PathPlannerAuto::PathPlannerAuto(std::string autoName) {

m_autoCommand = AutoBuilder::buildAuto(autoName).Unwrap();
m_requirements = m_autoCommand->GetRequirements();
SetName(autoName);
}

std::vector<std::shared_ptr<PathPlannerPath>> PathPlannerAuto::getPathGroupFromAutoFile(
Expand Down

0 comments on commit 2f7a42d

Please sign in to comment.