Make a sample script for analyzing the array during homing step.

This commit is contained in:
Matt McWilliams 2023-10-09 20:52:18 -04:00
parent c8e5f7b742
commit 6e7c226c57
10 changed files with 227 additions and 209 deletions

2
.gitignore vendored
View File

@ -8,3 +8,5 @@ dist
*.svd *.svd
*debug_custom.json *debug_custom.json
*debug.cfg *debug.cfg
notes/mphd

View File

@ -1,5 +1,5 @@
{ {
"version": "1.8.52", "version": "1.8.53",
"ext_port": 1111, "ext_port": 1111,
"profiles": { "profiles": {
"mcopy": { "mcopy": {

2
app/package-lock.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "mcopy-app", "name": "mcopy-app",
"version": "1.8.52", "version": "1.8.53",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {

View File

@ -1,6 +1,6 @@
{ {
"name": "mcopy-app", "name": "mcopy-app",
"version": "1.8.52", "version": "1.8.53",
"description": "GUI for the mcopy small gauge film optical printer platform", "description": "GUI for the mcopy small gauge film optical printer platform",
"main": "main.js", "main": "main.js",
"scripts": { "scripts": {

View File

@ -1,5 +1,5 @@
{ {
"version": "1.8.52", "version": "1.8.53",
"ext_port": 1111, "ext_port": 1111,
"profiles": { "profiles": {
"mcopy": { "mcopy": {

View File

@ -0,0 +1,16 @@
//g++ -o mphd mcopy_projector_homing_debug.cpp
#include <iostream>
#include <sstream>
#include <string>
#include <fstream>
using namespace std;
int main() {
ifstream input("mcopy_projector_homing_debug.csv");
for ( string line; getline( input, line ); )
{
cout << line << endl;
}
return 0;
}

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "mcopy", "name": "mcopy",
"version": "1.8.52", "version": "1.8.53",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "mcopy", "name": "mcopy",
"version": "1.8.52", "version": "1.8.53",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"arduino": "file:app/lib/arduino", "arduino": "file:app/lib/arduino",

View File

@ -1,6 +1,6 @@
{ {
"name": "mcopy", "name": "mcopy",
"version": "1.8.52", "version": "1.8.53",
"description": "Small gauge film optical printer platform", "description": "Small gauge film optical printer platform",
"main": "build.js", "main": "build.js",
"directories": { "directories": {

View File

@ -1,5 +1,5 @@
{ {
"version": "1.8.52", "version": "1.8.53",
"ext_port": 1111, "ext_port": 1111,
"profiles": { "profiles": {
"mcopy": { "mcopy": {