Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Jake Read
rndmc
Commits
b73465fd
Commit
b73465fd
authored
Nov 26, 2018
by
Jake Read
Browse files
log planner trapezoid times
parent
19fc40b3
Changes
1
Show whitespace changes
Inline
Side-by-side
modules/motion/planner.js
View file @
b73465fd
...
@@ -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
(
verbos
e
)
console
.
log
(
'
TRAPEZOIDS
'
)
if
(
tru
e
)
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
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment