Skip to content
This repository has been archived by the owner on Jul 8, 2024. It is now read-only.

Commit

Permalink
Add cast
Browse files Browse the repository at this point in the history
  • Loading branch information
calcmogul committed Feb 18, 2024
1 parent 21a20a3 commit 0c7745d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions emscripten/TrajoptLibEmbind.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ HolonomicTrajectory opticall(int intervals) {
path.ControlIntervalCounts({4});

// SOLVE
[[maybe_unused]] SwerveSolution solution =
OptimalTrajectoryGenerator::Generate(path);
return HolonomicTrajectory{OptimalTrajectoryGenerator::Generate(path)};
}

EMSCRIPTEN_BINDINGS(my_module) {
Expand Down

0 comments on commit 0c7745d

Please sign in to comment.