|
@@ -1,4 +1,4 @@
|
|
|
-#N canvas 296 114 871 626 10;
|
|
|
+#N canvas 224 55 871 626 10;
|
|
|
#X obj 85 172 cnv 15 130 200 empty empty Status 2 8 0 14 -233017 -128992
|
|
|
0;
|
|
|
#X obj 85 377 cnv 15 130 100 empty empty MANUEL 2 8 0 14 -233017 -128992
|
|
@@ -53,11 +53,11 @@
|
|
|
#X connect 11 0 6 0;
|
|
|
#X restore 65 96 pd conversion;
|
|
|
#X obj 65 74 route /status /onTarget;
|
|
|
-#X obj 180 382 vsl 12 60 0 2 0 0 /stepper/\$1/manualSpeed /stepper/\$1/manualSpeed
|
|
|
-speed -10 70 0 10 -262144 -1 -1 5900 1;
|
|
|
+#X obj 177 382 vsl 12 60 0 2 0 0 /stepper/\$1/manualSpeed /stepper/\$1/manualSpeed
|
|
|
+speed -10 70 0 10 -262144 -1 -1 0 1;
|
|
|
#X obj 105 444 hradio 15 1 0 2 /stepper/\$1/manualDirection /stepper/\$1/manualDirection
|
|
|
direction -10 22 0 10 -262144 -1 -1 0;
|
|
|
-#X obj 270 175 bng 25 250 50 0 /stepper/\$1/move/go /stepper/\$1/move/go
|
|
|
+#X obj 329 295 bng 25 250 50 0 /stepper/\$1/move/go /stepper/\$1/move/go
|
|
|
GO 6 13 0 10 -4034 -1 -1;
|
|
|
#X obj 285 686 list prepend add;
|
|
|
#X obj 285 707 list trim;
|
|
@@ -93,78 +93,72 @@ GO 6 13 0 10 -4034 -1 -1;
|
|
|
#X restore 661 40 pd \$0-osc;
|
|
|
#X obj 106 398 tgl 35 0 /stepper/\$1/manualDrive /stepper/\$1/manualDrive
|
|
|
empty 17 7 0 10 -204800 -33289 -1 0 1;
|
|
|
-#X obj 365 264 tgl 12 0 /stepper/\$1/accMode empty 0/1 17 7 0 10 -262144
|
|
|
+#X obj 345 350 tgl 15 0 /stepper/\$1/accMode empty 0/1 17 7 0 10 -262144
|
|
|
-1 -1 0 1;
|
|
|
-#X obj 223 292 nbx 4 14 -1e+37 1e+37 0 0 /stepper/\$1/move /stepper/\$1/move
|
|
|
-tours 48 8 0 10 -262144 -1 -1 0 256;
|
|
|
-#X obj 168 459 nbx 4 14 -1e+37 1e+37 0 0 /stepper/\$1/manualSpeed /stepper/\$1/manualSpeed
|
|
|
-empty 0 -8 0 10 -262144 -1 -1 2 256;
|
|
|
-#X obj 315 282 vsl 12 60 0 2 0 0 /stepper/\$1/setMaxSpeed /stepper/\$1/setMaxSpeed
|
|
|
-speed -10 70 0 10 -262144 -1 -1 2950 1;
|
|
|
-#X obj 303 359 nbx 4 14 -1e+37 1e+37 0 0 /stepper/\$1/setMaxSpeed /stepper/\$1/setMaxSpeed
|
|
|
-empty 0 -8 0 10 -262144 -1 -1 1 256;
|
|
|
-#X obj 365 282 vsl 12 60 0 2 0 0 /stepper/\$1/acceleration /stepper/\$1/acceleration
|
|
|
-acc -2 70 0 10 -233017 -233017 -195568 2950 1;
|
|
|
-#X obj 353 359 nbx 4 14 -1e+37 1e+37 0 0 /stepper/\$1/acceleration
|
|
|
-/stepper/\$1/acceleration empty 0 -8 0 10 -233017 -233017 -195568 1
|
|
|
+#X obj 233 292 nbx 4 14 -1e+37 1e+37 0 0 /stepper/\$1/move /stepper/\$1/move
|
|
|
+tours 48 8 0 10 -262144 -1 -1 0.0555556 256;
|
|
|
+#X obj 165 459 nbx 4 14 -1e+37 1e+37 0 0 /stepper/\$1/manualSpeed /stepper/\$1/manualSpeed
|
|
|
+empty 0 -8 0 10 -262144 -1 -1 0 256;
|
|
|
+#X obj 253 371 vsl 25 60 0 2 0 0 /stepper/\$1/setMaxSpeed /stepper/\$1/setMaxSpeed
|
|
|
+speed -4 70 0 10 -262144 -1 -1 600 1;
|
|
|
+#X obj 243 449 nbx 4 14 -1e+37 1e+37 0 0 /stepper/\$1/setMaxSpeed /stepper/\$1/setMaxSpeed
|
|
|
+empty 0 -8 0 10 -262144 -1 -1 0.20339 256;
|
|
|
+#X obj 342 372 vsl 25 60 0 2 0 0 /stepper/\$1/acceleration /stepper/\$1/acceleration
|
|
|
+acc 4 70 0 10 -233017 -233017 -195568 400 1;
|
|
|
+#X obj 333 449 nbx 4 14 -1e+37 1e+37 0 0 /stepper/\$1/acceleration
|
|
|
+/stepper/\$1/acceleration empty 0 -8 0 10 -233017 -233017 -195568 0.135593
|
|
|
256;
|
|
|
#X obj 434 838 cnv 15 180 100 empty empty presets 2 8 0 14 -233017
|
|
|
-128992 0;
|
|
|
#X obj 197 175 bng 15 250 50 0 /stepper/\$1/updateStatus /stepper/\$1/updateStatus
|
|
|
refresh -45 8 0 10 -262144 -1 -1;
|
|
|
-#X obj 298 175 bng 25 250 50 0 /stepper/\$1/stop /stepper/\$1/stop
|
|
|
+#X obj 357 295 bng 25 250 50 0 /stepper/\$1/stop /stepper/\$1/stop
|
|
|
STOP 1 14 0 10 -258113 -1 -1;
|
|
|
#X obj 281 531 t b b;
|
|
|
#X obj 286 765 s /stepper/\$1/sequences/list;
|
|
|
#X msg 309 559 clear \, align 0 \, add none \, set 0;
|
|
|
#X obj 83 127 s /stepper/\$1/pos/current;
|
|
|
-#X obj 339 227 nbx 4 14 -1e+37 1e+37 0 0 /stepper/\$1/move/startPos
|
|
|
-/stepper/\$1/move/startPos startPos 0 -8 0 10 -262144 -1 -1 0 256;
|
|
|
-#X obj 277 232 bng 15 250 50 0 /stepper/\$1/move/gotoStart /stepper/\$1/move/gotoStart
|
|
|
-goto 17 7 0 10 -262144 -1 -1;
|
|
|
-#X obj 230 232 bng 15 250 50 0 /stepper/\$1/move/setStart /stepper/\$1/move/setStart
|
|
|
+#X obj 224 229 nbx 4 14 -1e+37 1e+37 0 0 /stepper/\$1/move/startPos
|
|
|
+/stepper/\$1/move/startPos Position_depart 0 -8 0 12 -204800 -1 -1
|
|
|
+0 256;
|
|
|
+#X obj 353 229 bng 15 250 50 0 /stepper/\$1/move/gotoStart /stepper/\$1/move/gotoStart
|
|
|
+goto 17 7 0 10 -204800 -1 -1;
|
|
|
+#X obj 296 229 bng 15 250 50 0 /stepper/\$1/move/setStart /stepper/\$1/move/setStart
|
|
|
set 17 7 0 10 -262144 -1 -1;
|
|
|
#X obj 148 241 nbx 3 14 -1e+37 1e+37 0 0 /stepper/\$1/pos/current/deg
|
|
|
-/stepper/\$1/pos/current/deg degrees -50 8 0 10 -262144 -1 -1 0 256
|
|
|
-;
|
|
|
+/stepper/\$1/pos/current/deg degrees -50 8 0 10 -262144 -1 -1 330.808
|
|
|
+256;
|
|
|
#X obj 148 225 nbx 5 14 -1e+37 1e+37 0 0 /stepper/\$1/pos/current /stepper/\$1/pos/current
|
|
|
-turns -45 7 0 10 -262144 -1 -1 0 256;
|
|
|
-#X obj 223 308 nbx 4 14 -1e+37 1e+37 0 0 /stepper/\$1/move/deg /stepper/\$1/move/deg
|
|
|
-deg 48 8 0 10 -262144 -1 -1 0 256;
|
|
|
+turns -45 7 0 10 -262144 -1 -1 0.918911 256;
|
|
|
+#X obj 233 308 nbx 4 14 -1e+37 1e+37 0 0 /stepper/\$1/move/deg /stepper/\$1/move/deg
|
|
|
+deg 48 8 0 10 -262144 -1 -1 20 256;
|
|
|
#X obj 153 97 s /stepper/\$1/pos/onTarget;
|
|
|
-#X obj 327 175 cnv 25 70 25 /stepper/\$1/runningGui /stepper/\$1/runningGui
|
|
|
+#X obj 301 174 cnv 25 70 25 /stepper/\$1/runningGui /stepper/\$1/runningGui
|
|
|
idle 17 12 0 14 -233017 -195568 0;
|
|
|
#X obj 353 122 r /stepper/\$1/accGUI;
|
|
|
-#X text 227 212 Position depart;
|
|
|
#X text 225 263 Reglages mouvement;
|
|
|
#X obj 405 172 cnv 15 370 305 empty empty Sequence 2 8 0 14 -233017
|
|
|
-128992 0;
|
|
|
-#X obj 500 175 nbx 4 14 -1e+37 1e+37 0 0 /stepper/\$1/move/startPos
|
|
|
-/stepper/\$1/move/startPos startPos 48 8 0 10 -262144 -1 -1 0 256;
|
|
|
-#X obj 661 175 bng 15 250 50 0 /stepper/\$1/move/gotoStart /stepper/\$1/move/gotoStart
|
|
|
-goto 17 7 0 10 -262144 -1 -1;
|
|
|
-#X obj 614 175 bng 15 250 50 0 /stepper/\$1/move/setStart /stepper/\$1/move/setStart
|
|
|
-set 17 7 0 10 -262144 -1 -1;
|
|
|
-#X obj 675 210 bng 15 250 50 0 /stepper/\$1/writeSeq /stepper/\$1/writeSeq
|
|
|
+#X obj 637 248 bng 15 250 50 0 /stepper/\$1/writeSeq /stepper/\$1/writeSeq
|
|
|
save 17 7 0 10 -262144 -1 -1;
|
|
|
#X text 144 204 CURRENT;
|
|
|
#X obj 172 824 tof/menubutton 100 25 \$0-mbS \$0-mbR 1 grey90 black
|
|
|
grey95 black 0 \, none \, test (autre copie).move \, test.move \, test (3e copie).move
|
|
|
\, test (4e copie).move \, test (copie).move;
|
|
|
#X obj 183 801 r /stepper/\$1/sequences/list;
|
|
|
-#X obj 427 208 bng 15 250 50 0 /stepper/\$1/sequencer/open empty choose_sequence
|
|
|
+#X obj 637 228 bng 15 250 50 0 /stepper/\$1/sequencer/open empty choose_sequence
|
|
|
17 7 0 10 -262144 -1 -1;
|
|
|
-#X obj 559 240 nbx 5 14 -1e+37 1e+37 0 0 /stepper/\$1/cue/current /stepper/\$1/cue/current
|
|
|
+#X obj 798 255 nbx 5 14 -1e+37 1e+37 0 0 /stepper/\$1/cue/current /stepper/\$1/cue/current
|
|
|
empty 0 -8 0 10 -262144 -1 -1 0 256;
|
|
|
-#X obj 421 232 bng 25 250 50 0 /stepper/\$1/sequencer/go /stepper/\$1/sequencer/go
|
|
|
-GO 6 13 0 10 -4034 -1 -1;
|
|
|
+#X obj 481 229 bng 30 250 50 0 /stepper/\$1/sequencer/go /stepper/\$1/sequencer/go
|
|
|
+GO 9 16 0 10 -4034 -1 -1;
|
|
|
#X msg 494 538 1;
|
|
|
-#X obj 556 212 tgl 15 0 /stepper/\$1/sequencer/loop /stepper/\$1/sequencer/loop
|
|
|
-loopSeq 17 7 0 10 -262144 -1 -1 0 1;
|
|
|
+#X obj 534 229 tgl 30 0 /stepper/\$1/sequencer/loop /stepper/\$1/sequencer/loop
|
|
|
+loop 32 15 0 13 -162280 -1 -1 0 1;
|
|
|
#X obj 410 273 stepperCue \$1 0;
|
|
|
-#X obj 675 230 bng 15 250 50 0 /stepper/\$1/sequencer/load /stepper/\$1/sequencer/load
|
|
|
+#X obj 791 226 bng 15 250 50 0 /stepper/\$1/sequencer/load /stepper/\$1/sequencer/load
|
|
|
reload 17 7 0 10 -262144 -1 -1;
|
|
|
-#X text 451 236 sequence;
|
|
|
+#X text 413 232 sequence;
|
|
|
#X obj 410 321 stepperCue \$1 1;
|
|
|
#X obj 411 369 stepperCue \$1 2;
|
|
|
#X obj 411 417 stepperCue \$1 3;
|
|
@@ -324,8 +318,8 @@ CUE 3 \; /stepper/0/cue/3/move 0.0277778 \; /stepper/0/cue/3/setMaxSpeed
|
|
|
#X obj 471 227 - 360;
|
|
|
#X text 517 225 go backward \, quickest path;
|
|
|
#X floatatom 502 166 5 0 0 0 - - -, f 5;
|
|
|
-#X obj 140 463 s /toOSC;
|
|
|
-#X msg 140 444 /\$1 \$3 \$2;
|
|
|
+#X obj 140 493 s /toOSC;
|
|
|
+#X msg 140 474 /\$1 \$3 \$2;
|
|
|
#X obj 140 345 f \$1;
|
|
|
#X obj 420 314 / 360;
|
|
|
#X obj 170 222 s /stepper/\$1/pos/current/deg;
|
|
@@ -340,14 +334,20 @@ CUE 3 \; /stepper/0/cue/3/move 0.0277778 \; /stepper/0/cue/3/setMaxSpeed
|
|
|
#X obj 197 180 * 360;
|
|
|
#X obj 170 199 -;
|
|
|
#X text 286 58 START POSITION MANAGEMENT;
|
|
|
-#X obj 140 425 list;
|
|
|
-#X obj 140 366 pack 0 0 4000 0;
|
|
|
+#X obj 140 455 list;
|
|
|
+#X obj 140 396 pack 0 0 4000 0;
|
|
|
#X obj 351 333 steps2camrot;
|
|
|
-#X text 242 366 stepper ID \, move \, speed \, acc;
|
|
|
-#X msg 140 391 driveMode 0 \$1 \, acceleration \$4 \$1 \, maxSpeed
|
|
|
+#X text 242 396 stepper ID \, move \, speed \, acc;
|
|
|
+#X msg 140 421 driveMode 0 \$1 \, acceleration \$4 \$1 \, maxSpeed
|
|
|
\$3 \$1 \, move \$2 \$1 \, getStatus \$1 \$1;
|
|
|
-#X msg 416 441 driveMode 1 \$1 \, maxSpeed \$3 \$1 \, acceleration
|
|
|
+#X msg 416 461 driveMode 1 \$1 \, maxSpeed \$3 \$1 \, acceleration
|
|
|
move \$2 \$1 \, setSpeed \$3 \$1 \, getStatus \$1 \$1;
|
|
|
+#X obj 611 332 / 60;
|
|
|
+#X obj 542 350 steps2camrot;
|
|
|
+#X obj 648 356 / 60;
|
|
|
+#X obj 579 374 steps2camrot;
|
|
|
+#X obj 648 338 r /stepper/\$1/accLimit;
|
|
|
+#X obj 611 314 r /stepper/\$1/speedLimit;
|
|
|
#X connect 0 0 1 0;
|
|
|
#X connect 1 0 26 0;
|
|
|
#X connect 3 0 6 0;
|
|
@@ -383,8 +383,14 @@ move \$2 \$1 \, setSpeed \$3 \$1 \, getStatus \$1 \$1;
|
|
|
#X connect 32 0 35 0;
|
|
|
#X connect 33 0 32 1;
|
|
|
#X connect 35 0 31 0;
|
|
|
+#X connect 37 0 38 1;
|
|
|
+#X connect 38 0 32 2;
|
|
|
+#X connect 39 0 40 1;
|
|
|
+#X connect 40 0 32 3;
|
|
|
+#X connect 41 0 39 0;
|
|
|
+#X connect 42 0 37 0;
|
|
|
#X restore 661 97 pd \$0-startposition;
|
|
|
-#N canvas 624 132 1211 848 \$0-modes&moves 0;
|
|
|
+#N canvas 561 76 1211 848 \$0-modes&moves 0;
|
|
|
#X obj 40 108 route 0 1;
|
|
|
#X obj 40 44 r /stepper/\$1/manualDrive;
|
|
|
#X obj 51 131 r /stepper/\$1/accMode;
|
|
@@ -446,12 +452,10 @@ move \$2 \$1 \, setSpeed \$3 \$1 \, getStatus \$1 \$1;
|
|
|
#X obj 663 492 / 60;
|
|
|
#X obj 663 474 r /stepper/\$1/setMaxSpeed;
|
|
|
#X obj 519 646 list prepend;
|
|
|
-#X obj 599 624 r /stepper/\$1/driveMode;
|
|
|
#X obj 626 454 r /stepper/\$1/move;
|
|
|
#X obj 519 450 f \$1;
|
|
|
#X obj 701 512 / 60;
|
|
|
#X obj 701 494 r /stepper/\$1/acceleration;
|
|
|
-#X obj 519 665 route 0 1;
|
|
|
#X obj 519 754 list;
|
|
|
#X obj 519 792 s /toOSC;
|
|
|
#X msg 519 773 /\$1 \$3 \$2;
|
|
@@ -464,9 +468,7 @@ move \$2 \$1 \, setSpeed \$3 \$1 \, getStatus \$1 \$1;
|
|
|
#X obj 557 472 steps2camrot;
|
|
|
#X obj 44 319 r /stepper/\$1/manualDrive;
|
|
|
#X obj 44 342 route 0 1;
|
|
|
-#X obj 63 378 r /stepper/\$1/accMode;
|
|
|
-#X msg 63 379 0;
|
|
|
-#X obj 44 407 f;
|
|
|
+#X obj 117 361 r /stepper/\$1/accMode;
|
|
|
#X obj 43 466 s /stepper/\$1/driveMode;
|
|
|
#X msg 84 434 2;
|
|
|
#X text 66 280 SET DRIVE MODE V2;
|
|
@@ -481,6 +483,13 @@ move \$2 \$1 \, setSpeed \$3 \$1 \, getStatus \$1 \$1;
|
|
|
#X text 894 512 used if driveMode = 2;
|
|
|
#X obj 739 514 r /stepper/\$1/accLimit;
|
|
|
#X obj 519 594 pack 10 5000 1000 1000 1000;
|
|
|
+#X obj 970 43 r /stepper/\$1/manualDrive;
|
|
|
+#X msg 970 64 0;
|
|
|
+#X text 970 20 Force speed to 0 when manual;
|
|
|
+#X obj 970 83 s /stepper/\$1/manualSpeed;
|
|
|
+#X msg 44 363 0;
|
|
|
+#X obj 599 624 r /stepper/\$1/accMode;
|
|
|
+#X obj 519 665 route 1 0;
|
|
|
#X connect 0 0 4 0;
|
|
|
#X connect 0 1 5 0;
|
|
|
#X connect 2 0 22 0;
|
|
@@ -534,36 +543,43 @@ move \$2 \$1 \, setSpeed \$3 \$1 \, getStatus \$1 \$1;
|
|
|
#X connect 55 0 51 0;
|
|
|
#X connect 56 0 47 0;
|
|
|
#X connect 57 0 18 0;
|
|
|
-#X connect 58 0 74 1;
|
|
|
+#X connect 58 0 72 1;
|
|
|
#X connect 59 0 58 0;
|
|
|
-#X connect 60 0 66 0;
|
|
|
-#X connect 61 0 60 1;
|
|
|
-#X connect 62 0 75 1;
|
|
|
-#X connect 63 0 92 0;
|
|
|
-#X connect 64 0 72 1;
|
|
|
-#X connect 65 0 64 0;
|
|
|
-#X connect 66 0 71 0;
|
|
|
-#X connect 66 1 87 0;
|
|
|
-#X connect 67 0 69 0;
|
|
|
-#X connect 69 0 68 0;
|
|
|
-#X connect 70 0 63 0;
|
|
|
-#X connect 71 0 67 0;
|
|
|
-#X connect 72 0 92 3;
|
|
|
-#X connect 74 0 92 2;
|
|
|
-#X connect 75 0 92 1;
|
|
|
-#X connect 76 0 77 0;
|
|
|
-#X connect 77 0 80 0;
|
|
|
-#X connect 77 1 82 0;
|
|
|
-#X connect 78 0 79 0;
|
|
|
-#X connect 79 0 80 1;
|
|
|
-#X connect 80 0 81 0;
|
|
|
-#X connect 82 0 81 0;
|
|
|
-#X connect 87 0 67 0;
|
|
|
-#X connect 88 0 89 1;
|
|
|
-#X connect 89 0 92 4;
|
|
|
-#X connect 91 0 88 0;
|
|
|
-#X connect 92 0 60 0;
|
|
|
+#X connect 60 0 95 0;
|
|
|
+#X connect 61 0 73 1;
|
|
|
+#X connect 62 0 88 0;
|
|
|
+#X connect 63 0 70 1;
|
|
|
+#X connect 64 0 63 0;
|
|
|
+#X connect 65 0 67 0;
|
|
|
+#X connect 67 0 66 0;
|
|
|
+#X connect 68 0 62 0;
|
|
|
+#X connect 69 0 65 0;
|
|
|
+#X connect 70 0 88 3;
|
|
|
+#X connect 72 0 88 2;
|
|
|
+#X connect 73 0 88 1;
|
|
|
+#X connect 74 0 75 0;
|
|
|
+#X connect 75 0 93 0;
|
|
|
+#X connect 75 1 78 0;
|
|
|
+#X connect 78 0 77 0;
|
|
|
+#X connect 83 0 65 0;
|
|
|
+#X connect 84 0 85 1;
|
|
|
+#X connect 85 0 88 4;
|
|
|
+#X connect 87 0 84 0;
|
|
|
+#X connect 88 0 60 0;
|
|
|
+#X connect 89 0 90 0;
|
|
|
+#X connect 90 0 92 0;
|
|
|
+#X connect 93 0 77 0;
|
|
|
+#X connect 94 0 60 1;
|
|
|
+#X connect 95 0 69 0;
|
|
|
+#X connect 95 1 83 0;
|
|
|
#X restore 661 117 pd \$0-modes&moves;
|
|
|
+#X obj 514 190 nbx 4 14 -1e+37 1e+37 0 0 /stepper/\$1/move/startPos
|
|
|
+/stepper/\$1/move/startPos Position_depart 0 -8 0 12 -204800 -1 -1
|
|
|
+0 256;
|
|
|
+#X obj 643 190 bng 15 250 50 0 /stepper/\$1/move/gotoStart /stepper/\$1/move/gotoStart
|
|
|
+goto 17 7 0 10 -204800 -1 -1;
|
|
|
+#X obj 586 190 bng 15 250 50 0 /stepper/\$1/move/setStart /stepper/\$1/move/setStart
|
|
|
+set 17 7 0 10 -262144 -1 -1;
|
|
|
#X connect 3 0 11 0;
|
|
|
#X connect 11 0 10 0;
|
|
|
#X connect 11 0 13 0;
|