squidworks issueshttps://gitlab.cba.mit.edu/groups/squidworks/-/issues2020-02-25T22:17:25Zhttps://gitlab.cba.mit.edu/squidworks/ponyo/-/issues/3Ponyo Hello World2020-02-25T22:17:25ZPaul GuerrierPonyo Hello WorldIt seems like John C and I were able to get Ponyo loaded onto the feather M4.
However, we are not sure how to verify this and do a Hello World.
Any pointers and advice would be gratefully received.
PaulIt seems like John C and I were able to get Ponyo loaded onto the feather M4.
However, we are not sure how to verify this and do a Hello World.
Any pointers and advice would be gratefully received.
Paulhttps://gitlab.cba.mit.edu/squidworks/ponyo/-/issues/2Ponyo Upload Issues2020-02-13T19:33:27ZPaul GuerrierPonyo Upload IssuesHi Jake
John C and I are trying to get Ponyo running on a feather M4
We are using Arduino IDE.
We had 3 issues and are stuck on number 3. Details are below.
Any help/advice gratefully received.
Paul
running ponyo-master/scratch/arduino...Hi Jake
John C and I are trying to get Ponyo running on a feather M4
We are using Arduino IDE.
We had 3 issues and are stuck on number 3. Details are below.
Any help/advice gratefully received.
Paul
running ponyo-master/scratch/arduino/sketch_apr01a
1>"arduino.h" renamed to "Arduino.h"
2>missing ; at end of class, ";" added
3>class Hunk has no member 'getNumOutputs'https://gitlab.cba.mit.edu/squidworks/cuttlefish/-/issues/3Saturn: odd behavior with increasingly large values of Z2019-11-27T14:00:10ZBrian JordanSaturn: odd behavior with increasingly large values of Zcc @jakeread
We're having some problems with Saturn's toolpathing. We're thinking it's because we're sending large values for Z, while X and Y stay very small. (In our case, Z is the apple's rotator, X and Y are the end effector locati...cc @jakeread
We're having some problems with Saturn's toolpathing. We're thinking it's because we're sending large values for Z, while X and Y stay very small. (In our case, Z is the apple's rotator, X and Y are the end effector location controls.)
At the point where X and Y turn at a corner, all the sudden the Z value starts accelerating/decelerating (looks almost like it goes into an incremental mode), and then eventually it all stops and no longer ingests further messages (blocking our output).
Given the warning messages we see, and based on the timing, we think it has to do with the dtp being lower than 0.001.
if (dtp < 0.001) {
/*
console.log(`> complete position, had ${positions.length}`)
for (let i = 0; i < 10; i++) {
console.log(`> position[${i}] ${positions[i][0].toFixed(3)}, ${positions[i][1].toFixed(3)}, ${positions[i][2].toFixed(3)}`)
}
for (let i = 0; i < 10; i++) {
console.log(`> ramps[${i}].pi ${ramps[i].pi[0].toFixed(3)},${ramps[i].pi[1].toFixed(3)},${ramps[i].pi[2].toFixed(3)}`)
console.log(`> ramps[${i}].pf ${ramps[i].pf[0].toFixed(3)},${ramps[i].pf[1].toFixed(3)},${ramps[i].pf[2].toFixed(3)}`)
}
*/
positions.shift()
speed = ramps[0].vf
ramps.shift()
if (debugRuntime) console.log(`> complete position`)
// have to recalculate blocks now I think?
} else {
if (debugRuntime) console.log(`> updating p[0]`)
positions[0] = ramps[0].pf
speed = ramps[0].vf
ramps.shift()
}
Do you have any ideas for things to try? Would a Z approaching increasingly large numbers cause some issue? We go up to around 25,000 steps for z.
We may try incresaing the steps per unit down in the motor driver to keep the numbers low upstream in case it's a floating point operation issue.https://gitlab.cba.mit.edu/squidworks/cuttlefish/-/issues/2Saturn: non-incremental mode crashes with `p is not defined`2019-11-26T20:23:13ZBrian JordanSaturn: non-incremental mode crashes with `p is not defined`cc @jakeread
Non-incremental mode seems to run in to a reference error:
![image](/uploads/7ea66d9aa572acd551f57ed3a0e52ffb/image.png)
```
puts new position for 31
VM53 saturn.js:490 lookahead
bootstrap.js:52 ERR @ top of loop: Refere...cc @jakeread
Non-incremental mode seems to run in to a reference error:
![image](/uploads/7ea66d9aa572acd551f57ed3a0e52ffb/image.png)
```
puts new position for 31
VM53 saturn.js:490 lookahead
bootstrap.js:52 ERR @ top of loop: ReferenceError: p is not defined
at rampPass (VM53 saturn.js:268)
at Saturn.loop (VM53 saturn.js:515)
at Manager.loop (manager.js:705)
at bootloop (bootstrap.js:50)
bootloop @ bootstrap.js:52
bootstrap.js:55 loop halting, mgr bailing
bootloop @ bootstrap.js:55
```
System in question (which we modify by lowering velocity and disabling incremental mode, also doesn't work with simple one-motor example):
https://gitlab.cba.mit.edu/classes/863.19/CBA/students/cuttlefish-iLathe/blob/master/save/systems/applejack-XA-YD-ZC.jsonhttps://gitlab.cba.mit.edu/squidworks/moduleboard-atsamd51/-/issues/1KiCAD Footprint (?)2019-11-04T14:15:48ZJake ReadKiCAD Footprint (?)@zfredin do you have one? can you push it to the repo / email it 2 me and I will upload?@zfredin do you have one? can you push it to the repo / email it 2 me and I will upload?