Skip to content

Commit

Permalink
Update TrajectoryCreator.java
Browse files Browse the repository at this point in the history
  • Loading branch information
kylecorry31 authored Feb 9, 2019
1 parent 177966c commit 0fc5d98
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public static BufferedTrajectoryPointStream createTrajectory(double[][] profile,
double position = profile[i][0];
double velocity = profile[i][1];
// double acceleration = profile[i][2];
int duration = (int) profile[i][3];
int duration = (int) (profile[i][3] * 1000);

point.timeDur = duration;
point.position = position * positionToTicks;
Expand Down

0 comments on commit 0fc5d98

Please sign in to comment.