Commit b73465fd authored by Jake Read's avatar Jake Read
Browse files

log planner trapezoid times

parent 19fc40b3
...@@ -336,7 +336,7 @@ function Planner() { ...@@ -336,7 +336,7 @@ function Planner() {
// this becomes very useful for turning moves over to stepper motors // this becomes very useful for turning moves over to stepper motors
// and will give us a time estimate for each move as well, // and will give us a time estimate for each move as well,
// we need / want that so that we can set a network buffer length // we need / want that so that we can set a network buffer length
if(verbose) console.log('TRAPEZOIDS') if(true) console.log('PLANNER: trapezoid times in queue')
for (var i = 0; i < mq.length; i++) { for (var i = 0; i < mq.length; i++) {
calcTrap(mq[i], accel, false) calcTrap(mq[i], accel, false)
if (moveTime(mq[i]) < 0.1) { if (moveTime(mq[i]) < 0.1) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment