Skip to content

Commit

Permalink
Fix C++ Choreo trajectory parsing (#960)
Browse files Browse the repository at this point in the history
  • Loading branch information
mjansen4857 authored Jan 2, 2025
1 parent 52b46b1 commit bb073a5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ void PathPlannerPath::loadChoreoTrajectoryIntoCache(
std::string name = markerJson.at("name").get<std::string>();

auto fromJson = markerJson.at("from");
auto fromOffsetJson = markerJson.at("offset");
auto fromOffsetJson = fromJson.at("offset");

units::second_t fromTargetTimestamp {
fromJson.at("targetTimestamp").get<double>() };
Expand Down

0 comments on commit bb073a5

Please sign in to comment.