Skip to content

Commit

Permalink
errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mayarajan3 committed Nov 3, 2024
1 parent f2808a9 commit 50c7268
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/src/doodlebot/Doodlebot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ export default class Doodlebot {

const beforeLine = this.prependUntilTarget(lineData[0]);

let { motorCommands, bezierPoints, line } = followLine(beforeLine, lineData[0], delay, previousSpeed, []);
let { motorCommands, bezierPoints, line } = followLine(beforeLine, lineData[0], lineData[1], delay, previousSpeed, []);
for (const command of motorCommands) {
const { radius, angle } = command;
// await this.motorCommand(
Expand Down
1 change: 1 addition & 0 deletions extensions/src/doodlebot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"bezier-js": "^6.1.4",
"canvas": "^2.11.2",
"cubic-spline": "^3.0.3",
"curve-matcher": "^1.1.1",
"events": "^3.3.0"
}
}

0 comments on commit 50c7268

Please sign in to comment.