Ver código fonte

sequencer

added stepperCue to manage individual cues for each stepper
added sequencer to play up to 4 cues by stepper
play, step play, loop sequence
synchronised control improvements
bugfix on gotoStart, ensure that speed is set
Etienne Landon 7 anos atrás
pai
commit
26c748d905
3 arquivos alterados com 674 adições e 262 exclusões
  1. 29 15
      OSCstepperCtl.pd
  2. 404 247
      kostepper.pd
  3. 241 0
      stepperCue.pd

+ 29 - 15
OSCstepperCtl.pd

@@ -26,6 +26,7 @@
 #X msg 398 112 devicename /dev/ttyACM0 \, baud 115200 \, pollintervall
 1 \, verbose 1;
 #X connect 0 0 13 0;
+#X connect 0 0 17 0;
 #X connect 2 0 11 0;
 #X connect 2 1 3 0;
 #X connect 4 0 2 0;
@@ -43,23 +44,23 @@
 #X connect 19 0 17 0;
 #X connect 20 0 2 0;
 #X coords 0 -1 1 1 85 60 1 300 50;
-#X restore 614 354 pd SerialOSC;
+#X restore 747 137 pd SerialOSC;
 #X obj 723 491 print OSCin;
 #X obj 721 357 r /fromOSC;
 #X obj 721 379 t a a;
 #X obj 721 470 spigot;
 #X msg 753 405 \$1;
 #X obj 753 427 == 3;
-#X msg 616 329 /home;
+#X msg 749 112 /home;
 #N canvas 212 557 792 428 syncControl 0;
 #X floatatom 42 268 5 0 0 0 - - -, f 5;
 #X floatatom 218 275 5 0 0 0 - - -, f 5;
 #X obj 23 49 unauthorized/grid grid1 200 -2 2 200 -2 2 1 0.01 0.01
-2 2 120 147;
+2 2 582 848;
 #X obj 23 300 t f f;
 #X obj 23 341 abs;
 #X obj 23 362 s /stepper/0/manualSpeed;
-#X obj 123 309 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
+#X obj 123 309 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
 1;
 #X obj 70 317 > 0;
 #X obj 70 338 s /stepper/0/manualDirection;
@@ -70,19 +71,30 @@
 #X obj 289 322 > 0;
 #X obj 289 343 s /stepper/1/manualDirection;
 #X obj 242 367 s /stepper/1/manualSpeed;
-#X obj 240 51 tgl 15 0 empty empty MANUEL 17 7 0 10 -262144 -1 -1 0
+#X obj 22 28 tgl 15 0 empty empty MANUEL 17 7 0 10 -262144 -1 -1 0
 1;
-#X msg 241 92 \; /stepper/0/manualDrive \$1 \; /stepper/1/manualDrive
+#X msg 23 -29 \; /stepper/0/manualDrive \$1 \; /stepper/1/manualDrive
 \$1;
-#X obj 243 153 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
--1 -1;
-#X msg 243 173 \; /stepper/0/move/go bang \; /stepper/1/move/go bang
+#X obj 236 26 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
+-1;
+#X msg 236 46 \; /stepper/0/move/go bang \; /stepper/1/move/go bang
 ;
-#X text 263 153 moveInSync;
-#X obj 243 213 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
+#X text 256 26 moveInSync;
+#X obj 361 14 bng 40 250 50 0 empty empty empty 17 7 0 10 -258113 -1
+-1;
+#X text 369 27 STOP;
+#X msg 422 14 \; /stepper/0/stop bang \; /stepper/1/stop bang;
+#X text 241 116 SEQUENCE;
+#X obj 252 158 bng 40 250 50 0 empty empty empty 17 7 0 10 -4034 -1
+-1;
+#X msg 410 173 \; /stepper/0/sequencer/go bang \; /stepper/1/sequencer/go
+bang;
+#X text 258 171 PLAY;
+#X obj 255 138 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
 -1 -1;
-#X text 263 213 STOP;
-#X msg 243 233 \; /stepper/0/stop bang \; /stepper/1/stop bang;
+#X text 274 136 goto_startPos;
+#X msg 420 123 \; /stepper/0/move/gotoStart bang \; /stepper/1/move/gotoStart
+bang;
 #X connect 2 0 0 0;
 #X connect 2 0 3 0;
 #X connect 2 1 1 0;
@@ -100,10 +112,12 @@
 #X connect 15 0 16 0;
 #X connect 17 0 18 0;
 #X connect 20 0 22 0;
+#X connect 24 0 25 0;
+#X connect 27 0 29 0;
 #X coords 0 -1 1 1 400 250 1 10 10;
-#X restore 470 707 pd syncControl;
+#X restore 157 714 pd syncControl;
 #X obj 12 13 kostepper 0;
-#X obj 13 253 kostepper 1;
+#X obj 12 362 kostepper 1;
 #X connect 2 0 3 0;
 #X connect 3 0 4 0;
 #X connect 3 1 5 0;

+ 404 - 247
kostepper.pd

@@ -1,17 +1,17 @@
 #N canvas 1 55 1918 984 10;
-#X obj 85 172 cnv 15 130 100 empty empty Status 2 8 0 14 -233017 -128992
+#X obj 85 172 cnv 15 130 200 empty empty Status 2 8 0 14 -233017 -128992
 0;
-#X obj 85 277 cnv 15 130 100 empty empty MANUEL 2 8 0 14 -233017 -128992
+#X obj 85 377 cnv 15 130 100 empty empty MANUEL 2 8 0 14 -233017 -128992
 0;
-#X obj 220 172 cnv 15 180 205 empty empty Move 2 8 0 14 -233017 -128992
+#X obj 220 172 cnv 15 180 305 empty empty Move 2 8 0 14 -233017 -128992
 0;
 #X obj 65 9 r /fromOSC;
-#X floatatom 135 213 10 0 0 0 - - -, f 10;
-#X floatatom 135 231 10 0 0 0 - - -, f 10;
-#X floatatom 135 249 10 0 0 0 - - -, f 10;
-#X text 95 213 target;
-#X text 101 231 speed;
-#X text 83 249 maxspeed;
+#X floatatom 145 283 10 0 0 0 - - -, f 10;
+#X floatatom 145 311 10 0 0 0 - - -, f 10;
+#X floatatom 145 339 10 0 0 0 - - -, f 10;
+#X text 105 283 target;
+#X text 111 311 speed;
+#X text 93 339 maxspeed;
 #X obj 110 54 print stepper\$1;
 #N canvas 1 55 450 300 filter\$1 0;
 #X obj 60 41 t a a;
@@ -53,15 +53,12 @@
 #X connect 11 0 6 0;
 #X restore 65 96 pd conversion;
 #X obj 65 74 route /status /onTarget;
-#X obj 180 282 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 105 344 hradio 15 1 0 2 /stepper/\$1/manualDirection /stepper/\$1/manualDirection
-direction -10 22 0 10 -262144 -1 -1 0;
+#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 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 1;
 #X obj 270 175 bng 25 250 50 0 /stepper/\$1/move/go /stepper/\$1/move/go
 GO 6 13 0 10 -4034 -1 -1;
-#X obj 1712 862 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 1486 706 list prepend add;
 #X obj 1486 727 list trim;
 #X obj 1482 606 ofGetPatchDirectory;
@@ -74,7 +71,6 @@ grey95 black 0 \, none \, test (autre copie).move \, test.move \, test (3e copie
 #X obj 1491 684 ofGetDirectoryFileNames move;
 #N canvas 421 242 906 607 \$0-osc 0;
 #X obj 44 54 kollabs/osc_bi \$2 /stepper/\$1/driveMode;
-#X obj 44 144 kollabs/osc_bi \$2 /stepper/\$1/move;
 #X obj 44 164 kollabs/osc_bi \$2 /stepper/\$1/moveTo;
 #X obj 44 224 kollabs/osc_bi \$2 /stepper/\$1/setSpeed;
 #X obj 44 244 kollabs/osc_bi \$2 /stepper/\$1/setMaxSpeed;
@@ -90,62 +86,64 @@ grey95 black 0 \, none \, test (autre copie).move \, test.move \, test (3e copie
 #X msg 532 79 \; /stepper/\$1/accMode 0 \; /stepper/\$1/manualDrive
 0 \; /stepper/\$1/setSpeed 1 \; /stepper/\$1/setMaxSpeed 1 \; /stepper/\$1/acceleration
 1;
+#X obj 44 124 kollabs/osc_bi \$2 /stepper/\$1/move;
+#X obj 44 144 kollabs/osc_bi \$2 /stepper/\$1/move/deg;
+#X connect 11 0 12 0;
 #X connect 12 0 13 0;
-#X connect 13 0 14 0;
-#X restore 346 384 pd \$0-osc;
-#X obj 717 101 route 0 1;
-#X obj 717 57 r /stepper/\$1/manualDrive;
-#X obj 728 124 r /stepper/\$1/accMode;
-#X obj 717 78 t f f;
-#X obj 717 165 f;
-#X msg 742 211 2;
-#X obj 717 229 s /stepper/\$1/driveMode;
-#X obj 717 186 spigot;
-#X obj 750 166 == 0;
-#X obj 106 298 tgl 35 0 /stepper/\$1/manualDrive /stepper/\$1/manualDrive
+#X restore 337 502 pd \$0-osc;
+#X obj 1022 80 route 0 1;
+#X obj 1022 36 r /stepper/\$1/manualDrive;
+#X obj 1033 103 r /stepper/\$1/accMode;
+#X obj 1022 57 t f f;
+#X obj 1022 144 f;
+#X msg 1047 190 2;
+#X obj 1022 208 s /stepper/\$1/driveMode;
+#X obj 1022 165 spigot;
+#X obj 1055 145 == 0;
+#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
 -1 -1 0 1;
-#X text 752 29 SET DRIVE MODE;
-#X obj 544 490 / 60;
-#X obj 544 472 r /stepper/\$1/setMaxSpeed;
-#X obj 1340 272 r /stepper/\$1/driveMode;
-#X obj 429 574 list prepend;
-#X obj 1340 360 pack s f f;
-#X obj 1397 335 f \$1;
-#X obj 1397 313 loadbang;
-#X obj 1340 414 s /toOSC;
-#X msg 1340 392 /\$1 \$3 \$2;
-#X obj 509 552 r /stepper/\$1/driveMode;
-#X text 1360 256 SEND DRIVE MODE;
-#X obj 521 452 r /stepper/\$1/move;
-#X obj 429 448 f \$1;
-#X obj 1311 186 / 60;
-#X obj 578 510 / 60;
-#X obj 578 492 r /stepper/\$1/acceleration;
-#X obj 429 552 pack f f f f;
-#X obj 429 593 route 0 1;
-#X obj 1242 245 spigot;
-#X obj 1325 208 r /stepper/\$1/driveMode;
-#X obj 1325 229 == 2;
-#X msg 1242 264 setSpeed \$1;
-#X obj 728 145 == 0;
-#X msg 1340 293 driveMode \$1 \, setSpeed 0;
+#X text 1057 8 SET DRIVE MODE;
+#X obj 212 648 / 60;
+#X obj 212 630 r /stepper/\$1/setMaxSpeed;
+#X obj 1722 255 r /stepper/\$1/driveMode;
+#X obj 97 732 list prepend;
+#X obj 1722 343 pack s f f;
+#X obj 1779 318 f \$1;
+#X obj 1779 296 loadbang;
+#X obj 1722 397 s /toOSC;
+#X msg 1722 375 /\$1 \$3 \$2;
+#X obj 177 710 r /stepper/\$1/driveMode;
+#X text 1742 239 SEND DRIVE MODE;
+#X obj 189 610 r /stepper/\$1/move;
+#X obj 97 606 f \$1;
+#X obj 1693 169 / 60;
+#X obj 246 668 / 60;
+#X obj 246 650 r /stepper/\$1/acceleration;
+#X obj 97 710 pack f f f f;
+#X obj 97 751 route 0 1;
+#X obj 1624 228 spigot;
+#X obj 1707 191 r /stepper/\$1/driveMode;
+#X obj 1707 212 == 2;
+#X msg 1624 247 setSpeed \$1;
+#X obj 1033 124 == 0;
+#X msg 1722 276 driveMode \$1 \, setSpeed 0;
 #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 429 672 list;
-#X msg 454 647 move \$2 \$1 \, setSpeed \$3 \$1 \, getStatus \$1 \$1
+#X obj 97 830 list;
+#X msg 122 805 move \$2 \$1 \, setSpeed \$3 \$1 \, getStatus \$1 \$1
 ;
-#X text 1296 23 MANUAL SPEED;
-#X obj 1311 162 * 1;
-#X obj 1326 142 t b f;
-#X obj 1326 102 route 0 1;
-#X msg 1326 122 -1;
-#X msg 1355 122 1;
-#X obj 1326 76 r /stepper/\$1/manualDirection;
-#X obj 1311 51 r /stepper/\$1/manualSpeed;
-#X obj 168 359 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 text 1678 6 MANUAL SPEED;
+#X obj 1693 145 * 1;
+#X obj 1708 125 t b f;
+#X obj 1708 85 route 0 1;
+#X msg 1708 105 -1;
+#X msg 1737 105 1;
+#X obj 1708 59 r /stepper/\$1/manualDirection;
+#X obj 1693 34 r /stepper/\$1/manualSpeed;
+#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 0 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
@@ -159,44 +157,37 @@ acc -2 70 0 10 -233017 -233017 -195568 2950 1;
 -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 892 162 r /stepper/\$1/updateStatus;
-#X obj 892 183 f \$1;
-#X msg 892 204 /getStatus \$1;
-#X obj 892 225 s /toOSC;
-#X text 1427 432 prise en compte du homing;
-#X text 1457 449 -> possibilité de placer le moteur en absolu sur
-360° modulo;
-#X text 1461 464 -> utilisation facultative du point de départ d'un
-move;
-#X obj 429 710 s /toOSC;
-#X msg 429 691 /\$1 \$3 \$2;
-#X obj 429 427 r /stepper/\$1/move/go;
-#X obj 720 343 loadbang;
+#X obj 1197 141 r /stepper/\$1/updateStatus;
+#X obj 1197 162 f \$1;
+#X msg 1197 183 /getStatus \$1;
+#X obj 1197 204 s /toOSC;
+#X obj 97 868 s /toOSC;
+#X msg 97 849 /\$1 \$3 \$2;
+#X obj 97 585 r /stepper/\$1/move/go;
+#X obj 1025 322 loadbang;
 #X obj 298 175 bng 25 250 50 0 /stepper/\$1/stop /stepper/\$1/stop
 STOP 1 14 0 10 -258113 -1 -1;
-#X obj 892 75 f \$1;
-#X msg 892 96 /stop \$1;
-#X msg 429 613 acceleration \$4 \$1 \, maxSpeed \$3 \$1 \, move \$2
+#X obj 1197 54 f \$1;
+#X msg 1197 75 /stop \$1;
+#X msg 97 771 acceleration \$4 \$1 \, maxSpeed \$3 \$1 \, move \$2
 \$1 \, getStatus \$1 \$1;
 #X obj 1482 551 t b b;
 #X obj 1487 785 s /stepper/\$1/sequences/list;
-#X obj 1676 837 r /stepper/\$1/sequences/list;
-#X obj 72 703 stepperCue \$1 0;
 #X msg 1510 579 clear \, align 0 \, add none \, set 0;
-#X obj 72 803 stepperCue \$1 1;
 #X obj 83 127 s /stepper/\$1/pos/current;
 #X obj 895 459 r /stepper/\$1/pos/current;
 #X obj 895 478 * 360;
 #X floatatom 822 490 5 0 0 0 - - -, f 5;
 #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 233 bng 15 250 50 0 /stepper/\$1/move/gotoStart /stepper/\$1/move/gotoStart
+/stepper/\$1/move/startPos startPos 0 -8 0 10 -262144 -1 -1 20 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
 set 17 7 0 10 -262144 -1 -1;
 #X obj 870 578 f;
 #X obj 870 440 r /stepper/\$1/move/setStart;
-#X obj 865 682 r /stepper/\$1/move/gotoStart;
+#X obj 865 662 r /stepper/\$1/move/gotoStart;
 #X obj 870 597 s /stepper/\$1/move/startPos;
 #X obj 1169 461 r /stepper/\$1/move/startPos;
 #X obj 1145 502 -;
@@ -207,194 +198,360 @@ set 17 7 0 10 -262144 -1 -1;
 #X obj 1196 583 - 360;
 #X text 1303 595 go backward \, quickest path;
 #X floatatom 1227 522 5 0 0 0 - - -, f 5;
-#X obj 865 761 list;
-#X obj 865 799 s /toOSC;
-#X msg 865 780 /\$1 \$3 \$2;
+#X obj 865 819 s /toOSC;
+#X msg 865 800 /\$1 \$3 \$2;
 #X obj 865 701 f \$1;
 #X obj 1145 670 / 360;
-#X obj 865 722 pack 0 0 8000 0;
-#X msg 865 742 driveMode 1 \$1 \, move \$2 \$1 \, setSpeed \$3 \$1
-\, getStatus \$1 \$1;
 #X obj 895 578 s /stepper/\$1/pos/current/deg;
 #X obj 1145 440 r /stepper/\$1/pos/current/deg;
 #X obj 1145 543 abs;
-#X obj 183 196 nbx 3 14 -1e+37 1e+37 0 0 /stepper/\$1/pos/current/deg
-/stepper/\$1/pos/current/deg empty 0 -8 0 10 -262144 -1 -1 0 256;
+#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 10.0061
+256;
 #X obj 1145 522 t f f;
 #X obj 1172 607 moses 0;
 #X msg 1172 628 360;
 #X msg 1202 628 -360;
-#X obj 128 195 nbx 5 14 -1e+37 1e+37 0 0 /stepper/\$1/pos/current /stepper/\$1/pos/current
-current -45 7 0 10 -262144 -1 -1 0 256;
-#X obj 1242 208 steps2camrot;
-#X obj 475 508 steps2camrot;
-#X obj 452 470 steps2camrot;
-#X obj 509 528 steps2camrot;
+#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.0277946 256;
+#X obj 1624 191 steps2camrot;
+#X obj 143 666 steps2camrot;
+#X obj 120 628 steps2camrot;
+#X obj 177 686 steps2camrot;
 #X obj 895 497 t f f;
 #X obj 922 515 div 360;
 #X obj 922 536 * 360;
 #X obj 895 555 -;
 #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;
-#X obj 1073 56 r /stepper/\$1/move;
-#X obj 1073 77 * 360;
-#X obj 1073 96 s /stepper/\$1/move/deg;
-#X obj 1073 116 r /stepper/\$1/move/deg;
-#X obj 1073 156 s /stepper/\$1/move;
-#X obj 1073 137 / 360;
-#X obj 892 56 r /stepper/\$1/move;
-#X obj 892 116 s /toOSC;
-#X text 925 30 STOP;
-#X text 1082 30 MOVE DEGRES CONVERSION;
-#X text 909 144 STATUS;
+#X obj 1378 35 r /stepper/\$1/move;
+#X obj 1397 135 s /stepper/\$1/move/deg;
+#X obj 1378 155 r /stepper/\$1/move/deg;
+#X obj 1397 255 s /stepper/\$1/move;
+#X obj 1397 236 / 360;
+#X obj 1197 95 s /toOSC;
+#X text 1230 9 STOP;
+#X text 1387 9 MOVE DEGRES CONVERSION;
+#X text 1214 123 STATUS;
 #X text 1011 414 START POSITION MANAGEMENT;
-#X text 453 405 MOVE MANAGEMENT;
+#X text 121 563 MOVE MANAGEMENT;
 #X obj 153 97 s /stepper/\$1/pos/onTarget;
 #X obj 327 175 cnv 25 70 25 /stepper/\$1/runningGui /stepper/\$1/runningGui
 running 7 12 0 14 -260818 -258699 0;
-#X obj 720 402 s /stepper/\$1/runningGui;
-#X msg 778 332 color 14 13 13 \, label running \, label_pos 7 12;
-#X msg 720 384 color 10 11 20 \, label idle \, label_pos 17 12;
-#X obj 720 364 r /stepper/\$1/pos/onTarget;
-#X obj 778 313 r /stepper/#1/move/go;
-#X obj 795 293 r /stepper/\$1/move/gotoStart;
-#X text 966 261 GUI COLORS;
-#X obj 1071 287 r /stepper/\$1/accMode;
-#X obj 1071 308 route 0 1;
-#X msg 1071 327 color 10 10 20;
-#X msg 1096 348 color 0 22 22;
-#X obj 1071 381 s /stepper/\$1/accGUI;
-#X obj 436 264 r /stepper/\$1/accGUI;
+#X obj 1025 381 s /stepper/\$1/runningGui;
+#X msg 1083 311 color 14 13 13 \, label running \, label_pos 7 12;
+#X msg 1025 363 color 10 11 20 \, label idle \, label_pos 17 12;
+#X obj 1025 343 r /stepper/\$1/pos/onTarget;
+#X obj 1100 272 r /stepper/\$1/move/gotoStart;
+#X text 1271 240 GUI COLORS;
+#X obj 1376 286 r /stepper/\$1/accMode;
+#X obj 1376 307 route 0 1;
+#X msg 1376 326 color 10 10 20;
+#X msg 1401 347 color 0 22 22;
+#X obj 1376 380 s /stepper/\$1/accGUI;
+#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 20 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 801 231 text set \$1-seq;
+#X obj 801 172 pack s f;
+#X obj 801 132 symbol /stepper/\$1/move/startPos;
+#X obj 846 152 r /stepper/\$1/move/startPos;
+#X obj 788 90 t b b b f;
+#X msg 805 114 1;
+#X obj 675 210 bng 15 250 50 0 /stepper/\$1/writeSeq /stepper/\$1/writeSeq
+save 17 7 0 10 -262144 -1 -1;
+#X obj 788 69 r /stepper/\$1/writeSeq;
+#X text 144 204 CURRENT;
+#X obj 777 323 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
+-1 -1;
+#X msg 805 330 line 0 \, bang;
+#X obj 805 349 text sequence \$1-seq -g;
+#X obj 1373 844 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 1384 821 r /stepper/\$1/sequences/list;
+#X obj 427 208 bng 15 250 50 0 /stepper/\$1/sequencer/open empty choose_sequence
+17 7 0 10 -262144 -1 -1;
+#X obj 1121 815 r /stepper/\$1/openSeq;
+#X obj 1121 887 openpanel;
+#X msg 1121 866 symbol ./;
+#X obj 605 649 r /stepper/\$1/cue/current;
+#X obj 559 240 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 554 619 r /stepper/\$1/pos/onTarget;
+#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 494 517 t b b;
+#X obj 527 538 f \$1;
+#X msg 526 559 \; /stepper/\$1/cue/0/move/go bang;
+#X obj 586 525 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
+-1 -1;
+#X obj 1378 196 t b f b;
+#X msg 1418 215 0;
+#X msg 1378 216 1;
+#X obj 1397 116 * 360;
+#X obj 1378 75 t b f b;
+#X msg 1418 93 0;
+#X msg 1378 94 1;
+#X obj 1197 35 r /stepper/\$1/stop;
+#X obj 1378 57 spigot 1;
+#X obj 1378 176 spigot 1;
+#X msg 494 538 1;
+#X obj 554 810 spigot;
+#X obj 605 670 t f f;
+#X obj 494 496 r /stepper/\$1/sequencer/go;
+#X obj 620 731 r /stepper/\$1/sequencer/loop;
+#X obj 605 752 f;
+#X obj 605 774 route 0 1;
+#X msg 605 794 0;
+#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 554 851 pack 0 \$1;
+#X msg 554 872 \; /stepper/\$2/cue/\$1/move/go bang;
+#X obj 690 769 r /stepper/\$1/stop;
+#X obj 554 829 f;
+#X obj 632 689 + 1;
+#X msg 646 796 0;
+#X obj 680 675 print;
+#X obj 1083 292 r /stepper/\$1/move/go;
+#X obj 605 711 route 3;
+#X obj 554 640 bang;
+#X obj 410 273 stepperCue \$1 0;
+#X obj 598 124 text define -k \$1-seq;
+#A set /stepper/0/move/startPos 0 \; \; CUE 0 \; /stepper/0/cue/0/move
+0.138889 \; /stepper/0/cue/0/setMaxSpeed 0.570001 \; /stepper/0/cue/0/acceleration
+0.17 \; /stepper/0/cue/0/accMode 1 \; /stepper/0/cue/0/active 1 \;
+\; CUE 1 \; /stepper/0/cue/1/move 0.0694444 \; /stepper/0/cue/1/setMaxSpeed
+0.58 \; /stepper/0/cue/1/acceleration 0 \; /stepper/0/cue/1/accMode
+0 \; /stepper/0/cue/1/active 0 \; \; CUE 2 \; /stepper/0/cue/2/move
+-0.208333 \; /stepper/0/cue/2/setMaxSpeed 1.02 \; /stepper/0/cue/2/acceleration
+0 \; /stepper/0/cue/2/accMode 0 \; /stepper/0/cue/2/active 0 \; \;
+CUE 3 \; /stepper/0/cue/3/move 0.0277778 \; /stepper/0/cue/3/setMaxSpeed
+0.29 \; /stepper/0/cue/3/acceleration 0 \; /stepper/0/cue/3/accMode
+1 \; /stepper/0/cue/3/active 0 \; \;;
+#X obj 805 370 r CUE;
+#X obj 675 230 bng 15 250 50 0 /stepper/\$1/sequencer/load /stepper/\$1/sequencer/load
+reload 17 7 0 10 -262144 -1 -1;
+#X obj 805 311 r /stepper/\$1/sequencer/load;
+#X text 451 236 sequence;
+#X obj 598 20 r /stepper/\$1/writeSeq;
+#X obj 598 41 delay 100;
+#X obj 598 82 savepanel;
+#X msg 598 62 symbol ./;
+#X msg 598 103 write \$1;
+#X obj 368 1 r /stepper/\$1/sequencer/open;
+#X obj 368 19 openpanel;
+#X msg 514 59 read \$1;
+#X obj 369 98 s /stepper/\$1/sequencer/load;
+#X obj 368 79 bang;
+#X obj 368 58 delay 100;
+#X obj 368 37 t b a;
+#X obj 410 321 stepperCue \$1 1;
+#X obj 411 369 stepperCue \$1 2;
+#X obj 411 417 stepperCue \$1 3;
+#X obj 582 599 r /stepper/\$1/cue/next;
+#X obj 865 781 list;
+#X obj 865 722 pack 0 0 8000 0;
+#X msg 865 742 driveMode 1 \$1 \, maxSpeed \$3 \$1 \, move \$2 \$1
+\, setSpeed \$3 \$1 \, getStatus \$1 \$1;
 #X connect 3 0 11 0;
 #X connect 11 0 10 0;
 #X connect 11 0 13 0;
-#X connect 12 1 103 0;
+#X connect 12 1 96 0;
 #X connect 12 2 4 0;
 #X connect 12 3 5 0;
 #X connect 12 4 6 0;
 #X connect 13 0 12 0;
-#X connect 13 1 161 0;
-#X connect 18 0 19 0;
-#X connect 19 0 98 0;
-#X connect 20 0 23 0;
-#X connect 20 0 24 0;
-#X connect 21 0 97 0;
-#X connect 23 0 26 0;
-#X connect 26 0 18 0;
-#X connect 26 0 25 0;
-#X connect 28 0 32 0;
-#X connect 28 1 33 0;
-#X connect 29 0 31 0;
-#X connect 30 0 62 0;
-#X connect 31 0 28 0;
-#X connect 31 1 36 0;
-#X connect 32 0 35 0;
-#X connect 33 0 34 0;
-#X connect 35 0 34 0;
-#X connect 36 0 35 1;
-#X connect 40 0 140 1;
-#X connect 41 0 40 0;
-#X connect 42 0 63 0;
-#X connect 43 0 57 0;
-#X connect 44 0 48 0;
-#X connect 45 0 44 2;
-#X connect 46 0 45 0;
-#X connect 48 0 47 0;
-#X connect 49 0 43 1;
-#X connect 51 0 141 1;
-#X connect 52 0 56 0;
-#X connect 53 0 139 1;
-#X connect 54 0 142 1;
-#X connect 55 0 54 0;
-#X connect 56 0 43 0;
-#X connect 57 0 96 0;
-#X connect 57 1 66 0;
-#X connect 58 0 61 0;
-#X connect 59 0 60 0;
-#X connect 60 0 58 1;
-#X connect 61 0 44 0;
-#X connect 62 0 32 0;
-#X connect 63 0 44 0;
-#X connect 65 0 90 0;
-#X connect 66 0 65 0;
-#X connect 68 0 53 0;
-#X connect 69 0 68 0;
-#X connect 69 1 68 1;
-#X connect 70 0 71 0;
-#X connect 70 1 72 0;
-#X connect 71 0 69 0;
+#X connect 13 1 149 0;
+#X connect 17 0 18 0;
+#X connect 18 0 94 0;
+#X connect 19 0 22 0;
+#X connect 19 0 23 0;
+#X connect 20 0 93 0;
+#X connect 22 0 25 0;
+#X connect 25 0 17 0;
+#X connect 25 0 24 0;
+#X connect 27 0 31 0;
+#X connect 27 1 32 0;
+#X connect 28 0 30 0;
+#X connect 29 0 61 0;
+#X connect 30 0 27 0;
+#X connect 30 1 35 0;
+#X connect 31 0 34 0;
+#X connect 32 0 33 0;
+#X connect 34 0 33 0;
+#X connect 35 0 34 1;
+#X connect 39 0 130 1;
+#X connect 40 0 39 0;
+#X connect 41 0 62 0;
+#X connect 42 0 56 0;
+#X connect 43 0 47 0;
+#X connect 44 0 43 2;
+#X connect 45 0 44 0;
+#X connect 47 0 46 0;
+#X connect 48 0 42 1;
+#X connect 50 0 131 1;
+#X connect 51 0 55 0;
+#X connect 52 0 129 1;
+#X connect 53 0 132 1;
+#X connect 54 0 53 0;
+#X connect 55 0 42 0;
+#X connect 56 0 92 0;
+#X connect 56 1 65 0;
+#X connect 57 0 60 0;
+#X connect 58 0 59 0;
+#X connect 59 0 57 1;
+#X connect 60 0 43 0;
+#X connect 61 0 31 0;
+#X connect 62 0 43 0;
+#X connect 64 0 86 0;
+#X connect 65 0 64 0;
+#X connect 67 0 52 0;
+#X connect 68 0 67 0;
+#X connect 68 1 67 1;
+#X connect 69 0 70 0;
+#X connect 69 1 71 0;
+#X connect 70 0 68 0;
+#X connect 71 0 68 0;
 #X connect 72 0 69 0;
-#X connect 73 0 70 0;
-#X connect 74 0 68 0;
+#X connect 73 0 67 0;
+#X connect 81 0 82 0;
 #X connect 82 0 83 0;
 #X connect 83 0 84 0;
-#X connect 84 0 85 0;
-#X connect 90 0 89 0;
-#X connect 91 0 52 0;
-#X connect 92 0 165 0;
-#X connect 94 0 95 0;
-#X connect 95 0 155 0;
-#X connect 96 0 65 0;
-#X connect 97 0 20 0;
-#X connect 97 1 101 0;
-#X connect 99 0 17 0;
-#X connect 101 0 98 0;
-#X connect 104 0 105 0;
-#X connect 105 0 143 0;
-#X connect 110 0 113 0;
-#X connect 111 0 110 0;
-#X connect 112 0 126 0;
-#X connect 114 0 116 0;
-#X connect 115 0 122 0;
-#X connect 115 0 134 0;
-#X connect 116 0 115 0;
-#X connect 116 1 115 1;
-#X connect 118 0 127 0;
-#X connect 118 1 120 0;
-#X connect 119 0 128 1;
-#X connect 120 0 127 0;
-#X connect 123 0 125 0;
-#X connect 125 0 124 0;
-#X connect 126 0 128 0;
+#X connect 86 0 85 0;
+#X connect 87 0 51 0;
+#X connect 88 0 153 0;
+#X connect 90 0 91 0;
+#X connect 91 0 143 0;
+#X connect 92 0 64 0;
+#X connect 93 0 19 0;
+#X connect 93 1 95 0;
+#X connect 95 0 94 0;
+#X connect 97 0 98 0;
+#X connect 98 0 133 0;
+#X connect 103 0 106 0;
+#X connect 104 0 103 0;
+#X connect 105 0 118 0;
+#X connect 107 0 109 0;
+#X connect 108 0 115 0;
+#X connect 108 0 124 0;
+#X connect 109 0 108 0;
+#X connect 109 1 108 1;
+#X connect 111 0 119 0;
+#X connect 111 1 113 0;
+#X connect 112 0 247 1;
+#X connect 113 0 119 0;
+#X connect 117 0 116 0;
+#X connect 118 0 247 0;
+#X connect 119 0 112 1;
+#X connect 121 0 108 0;
+#X connect 122 0 111 0;
+#X connect 124 0 122 0;
+#X connect 124 1 125 0;
+#X connect 125 0 126 0;
+#X connect 125 1 127 0;
+#X connect 126 0 119 1;
 #X connect 127 0 119 1;
-#X connect 128 0 129 0;
-#X connect 129 0 123 0;
-#X connect 131 0 115 0;
-#X connect 132 0 118 0;
-#X connect 134 0 132 0;
-#X connect 134 1 135 0;
-#X connect 135 0 136 0;
-#X connect 135 1 137 0;
-#X connect 136 0 127 1;
-#X connect 137 0 127 1;
-#X connect 139 0 58 0;
-#X connect 140 0 56 2;
-#X connect 141 0 56 1;
-#X connect 142 0 56 3;
-#X connect 143 0 146 0;
-#X connect 143 1 144 0;
-#X connect 144 0 145 0;
-#X connect 145 0 146 1;
-#X connect 146 0 106 0;
-#X connect 146 0 130 0;
-#X connect 146 0 110 1;
-#X connect 148 0 149 0;
-#X connect 149 0 150 0;
-#X connect 151 0 153 0;
-#X connect 153 0 152 0;
-#X connect 154 0 94 0;
-#X connect 164 0 163 0;
-#X connect 165 0 163 0;
-#X connect 166 0 165 0;
-#X connect 167 0 164 0;
-#X connect 168 0 164 0;
-#X connect 170 0 171 0;
-#X connect 171 0 172 0;
-#X connect 171 1 173 0;
-#X connect 172 0 174 0;
-#X connect 173 0 174 0;
-#X connect 175 0 78 0;
-#X connect 175 0 79 0;
-#X coords 0 -1 1 1 325 230 1 80 150;
+#X connect 129 0 57 0;
+#X connect 130 0 55 2;
+#X connect 131 0 55 1;
+#X connect 132 0 55 3;
+#X connect 133 0 136 0;
+#X connect 133 1 134 0;
+#X connect 134 0 135 0;
+#X connect 135 0 136 1;
+#X connect 136 0 99 0;
+#X connect 136 0 120 0;
+#X connect 136 0 103 1;
+#X connect 138 0 203 0;
+#X connect 140 0 204 0;
+#X connect 142 0 141 0;
+#X connect 152 0 151 0;
+#X connect 153 0 151 0;
+#X connect 154 0 153 0;
+#X connect 155 0 152 0;
+#X connect 157 0 158 0;
+#X connect 158 0 159 0;
+#X connect 158 1 160 0;
+#X connect 159 0 161 0;
+#X connect 160 0 161 0;
+#X connect 162 0 77 0;
+#X connect 162 0 78 0;
+#X connect 170 0 169 0;
+#X connect 171 0 170 0;
+#X connect 172 0 170 1;
+#X connect 173 0 169 0;
+#X connect 173 1 174 0;
+#X connect 173 2 171 0;
+#X connect 173 3 169 1;
+#X connect 174 0 169 1;
+#X connect 176 0 173 0;
+#X connect 178 0 180 0;
+#X connect 179 0 180 0;
+#X connect 184 0 186 0;
+#X connect 186 0 185 0;
+#X connect 187 0 207 0;
+#X connect 189 0 223 0;
+#X connect 191 0 205 0;
+#X connect 191 1 192 0;
+#X connect 192 0 193 0;
+#X connect 194 0 192 0;
+#X connect 195 0 197 0;
+#X connect 195 1 142 0;
+#X connect 195 2 196 0;
+#X connect 196 0 203 1;
+#X connect 197 0 203 1;
+#X connect 198 0 139 0;
+#X connect 199 0 201 0;
+#X connect 199 1 198 0;
+#X connect 199 2 200 0;
+#X connect 200 0 204 1;
+#X connect 201 0 204 1;
+#X connect 202 0 90 0;
+#X connect 203 0 199 0;
+#X connect 204 0 195 0;
+#X connect 205 0 206 1;
+#X connect 206 0 217 0;
+#X connect 207 0 222 0;
+#X connect 207 1 218 0;
+#X connect 208 0 191 0;
+#X connect 209 0 210 1;
+#X connect 210 0 211 0;
+#X connect 211 0 212 0;
+#X connect 211 1 219 0;
+#X connect 212 0 206 1;
+#X connect 214 0 215 0;
+#X connect 216 0 212 0;
+#X connect 217 0 214 0;
+#X connect 218 0 217 1;
+#X connect 219 0 217 1;
+#X connect 221 0 152 0;
+#X connect 222 0 210 0;
+#X connect 223 0 206 0;
+#X connect 228 0 179 0;
+#X connect 230 0 231 0;
+#X connect 231 0 233 0;
+#X connect 232 0 234 0;
+#X connect 233 0 232 0;
+#X connect 234 0 225 0;
+#X connect 235 0 236 0;
+#X connect 236 0 241 0;
+#X connect 237 0 225 0;
+#X connect 239 0 238 0;
+#X connect 240 0 239 0;
+#X connect 241 0 240 0;
+#X connect 241 1 237 0;
+#X connect 245 0 223 0;
+#X connect 246 0 117 0;
+#X connect 247 0 248 0;
+#X connect 248 0 246 0;
+#X coords 0 -1 1 1 700 329 1 80 150;

+ 241 - 0
stepperCue.pd

@@ -0,0 +1,241 @@
+#N canvas 1929 61 1278 947 10;
+#X obj 102 252 cnv 15 356 41 /stepper/\$1/cue/\$2/canvas /stepper/\$1/cue/\$2/canvas
+empty 48 8 0 14 -225280 -225280 0;
+#X obj 104 160 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 206 21 r /stepper/\$1/sequences/list;
+#X obj 174 260 bng 25 250 50 0 /stepper/\$1/cue/\$2/move/go /stepper/\$1/cue/\$2/move/go
+GO 6 13 0 10 -4034 -1 -1;
+#X obj 427 258 tgl 10 0 /stepper/\$1/cue/\$2/accMode empty 0/1 15 5
+0 8 -262144 -1 -1 0 1;
+#X obj 205 271 nbx 4 14 -1e+37 1e+37 0 0 /stepper/\$1/cue/\$2/move
+/stepper/\$1/cue/\$2/move tours 0 -8 0 10 -262144 -1 -1 0.138889 256
+;
+#X obj 340 271 nbx 4 14 -1e+37 1e+37 0 0 /stepper/\$1/cue/\$2/setMaxSpeed
+/stepper/\$1/cue/\$2/setMaxSpeed speed 0 -8 0 10 -262144 -1 -1 2 256
+;
+#X obj 392 271 nbx 4 14 -1e+37 1e+37 0 0 /stepper/\$1/cue/\$2/acceleration
+/stepper/\$1/cue/\$2/acceleration acc 0 -8 0 10 -233017 -233017 -195568
+0.17 256;
+#X obj 320 55 r /stepper/\$1/accMode;
+#X obj 320 76 route 0 1;
+#X msg 320 95 color 10 10 20;
+#X msg 345 116 color 0 22 22;
+#X msg 219 106 color 10 10 20;
+#X msg 228 123 color 14 14 14;
+#X obj 248 32 loadbang;
+#X obj 403 176 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
+-1 -1;
+#N canvas 1065 317 450 300 \$0-osc 0;
+#X obj 47 33 kollabs/osc_bi \$2 /stepper/\$1/cue/\$2/accMode;
+#X obj 47 103 kollabs/osc_bi \$2 /stepper/\$1/cue/\$2/move;
+#X obj 47 183 kollabs/osc_bi \$2 /stepper/\$1/cue/\$2/setSpeed;
+#X obj 47 203 kollabs/osc_bi \$2 /stepper/\$1/cue/\$2/setMaxSpeed;
+#X obj 47 223 kollabs/osc_bi \$2 /stepper/\$1/cue/\$2/acceleration
+;
+#X obj 47 123 kollabs/osc_bi \$2 /stepper/\$1/cue/\$2/move/deg;
+#X restore 43 31 pd \$0-osc;
+#X obj 151 558 r /stepper/\$1/cue/\$2/move;
+#X obj 66 318 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
+-1;
+#X obj 66 339 f \$2;
+#X obj 66 429 t b f;
+#X obj 106 499 t b f;
+#X obj 133 519 + 1;
+#X obj 66 934 text set \$1-seq;
+#X msg 66 470 list CUE \$1;
+#X obj 106 578 pack s f;
+#X obj 106 538 symbol /stepper/\$1/cue/\$2/move;
+#X obj 151 603 t b f;
+#X obj 151 682 pack s f;
+#X obj 178 623 + 2;
+#X obj 151 642 symbol /stepper/\$1/cue/\$2/setMaxSpeed;
+#X obj 196 662 r /stepper/\$1/cue/\$2/setMaxSpeed;
+#X obj 196 709 t b f;
+#X obj 196 788 pack s f;
+#X obj 241 813 t b f;
+#X obj 241 892 pack s f;
+#X obj 223 729 + 3;
+#X obj 268 833 + 4;
+#X obj 248 468 t b f;
+#X obj 90 308 r /stepper/\$1/writeSeq;
+#X obj 196 748 symbol /stepper/\$1/cue/\$2/acceleration;
+#X obj 241 768 r /stepper/\$1/cue/\$2/acceleration;
+#X obj 241 852 symbol /stepper/\$1/cue/\$2/accMode;
+#X obj 286 872 r /stepper/\$1/cue/\$2/accMode;
+#X obj 66 381 + 2;
+#X text 468 405 MOVE DEGRES CONVERSION;
+#X obj 255 271 nbx 4 14 -1e+37 1e+37 0 0 /stepper/\$1/cue/\$2/move/deg
+/stepper/\$1/cue/\$2/move/deg deg 48 8 0 10 -262144 -1 -1 50 256;
+#X obj 251 166 route 0 1;
+#X msg 251 185 color 10 10 20;
+#X msg 276 206 color 0 22 22;
+#X obj 251 145 r /stepper/\$1/cue/\$2/accMode;
+#X obj 713 395 r /stepper/\$1/cue/current;
+#X obj 713 416 == \$2;
+#X obj 713 602 s /stepper/\$1/cue/\$2/canvas;
+#X msg 713 538 color 10 10 20;
+#X obj 733 476 t b f;
+#X obj 713 517 route 0 1 2;
+#X msg 721 666 color \$1 \$1 \$1;
+#X floatatom 726 644 5 0 0 0 - - -, f 5;
+#X msg 723 558 color 7 7 7;
+#X msg 733 578 color 17 17 17;
+#X obj 557 736 f \$2;
+#X obj 66 450 f \$2;
+#X obj 557 757 s /stepper/\$1/cue/current;
+#X obj 105 255 tgl 15 0 /stepper/\$1/cue/\$2/active /stepper/\$1/cue/\$2/active
+active 18 8 0 10 -262144 -1 -1 1 1;
+#X obj 733 455 r /stepper/\$1/cue/\$2/active;
+#X obj 557 715 r /stepper/\$1/cue/\$2/select;
+#X obj 105 275 bng 15 250 50 0 /stepper/\$1/cue/\$2/select /stepper/\$1/cue/\$2/select
+select 17 7 0 10 -262144 -1 -1;
+#X obj 713 437 + 1;
+#X obj 917 125 f \$1;
+#X obj 917 21 r /stepper/\$1/cue/\$2/move/go;
+#X obj 1029 40 r /stepper/\$1/cue/\$2/move;
+#X obj 1049 60 r /stepper/\$1/cue/\$2/setMaxSpeed;
+#X obj 1083 88 r /stepper/\$1/cue/\$2/acceleration;
+#X obj 1034 154 r /stepper/\$1/cue/\$2/accMode;
+#X obj 925 186 pack f f f f f;
+#X msg 925 207 \; /stepper/\$1/move \$2 \; /stepper/\$1/setMaxSpeed
+\$3 \; /stepper/\$1/acceleration \$4 \; /stepper/\$1/accMode \$5 \;
+/stepper/\$1/move/go bang;
+#X obj 827 545 loadbang;
+#X obj 66 402 t f f f f f f f;
+#X obj 275 488 + 6;
+#X obj 301 898 t b f;
+#X obj 301 977 pack s f;
+#X obj 328 918 + 5;
+#X obj 301 937 symbol /stepper/\$1/cue/\$2/active;
+#X obj 346 957 r /stepper/\$1/cue/\$2/active;
+#X obj 713 495 * 0;
+#X obj 573 694 r /stepper/\$1/cue/\$2/move/go;
+#X obj 470 629 / 360;
+#X obj 451 589 t b f b;
+#X msg 491 608 0;
+#X msg 451 609 1;
+#X obj 470 509 * 360;
+#X obj 451 468 t b f b;
+#X msg 491 486 0;
+#X msg 451 487 1;
+#X obj 451 428 r /stepper/\$1/cue/\$2/move;
+#X obj 470 528 s /stepper/\$1/cue/\$2/move/deg;
+#X obj 451 548 r /stepper/\$1/cue/\$2/move/deg;
+#X obj 470 648 s /stepper/\$1/cue/\$2/move;
+#X obj 451 450 spigot 1;
+#X obj 451 569 spigot 1;
+#X obj 66 360 * 7;
+#X obj 791 61 r /stepper/\$1/cue/\$2/active;
+#X obj 757 103 f;
+#X obj 740 190 s /stepper/\$1/cue/next;
+#X obj 757 124 route 0 1;
+#X connect 2 0 1 0;
+#X connect 3 0 13 0;
+#X connect 8 0 9 0;
+#X connect 9 0 10 0;
+#X connect 9 1 11 0;
+#X connect 14 0 12 0;
+#X connect 14 0 4 0;
+#X connect 17 0 25 1;
+#X connect 18 0 19 0;
+#X connect 19 0 101 0;
+#X connect 20 0 62 0;
+#X connect 20 1 23 1;
+#X connect 21 0 26 0;
+#X connect 21 1 22 0;
+#X connect 22 0 23 1;
+#X connect 24 0 23 0;
+#X connect 25 0 23 0;
+#X connect 26 0 25 0;
+#X connect 27 0 30 0;
+#X connect 27 1 29 0;
+#X connect 28 0 23 0;
+#X connect 29 0 23 1;
+#X connect 30 0 28 0;
+#X connect 31 0 28 1;
+#X connect 32 0 40 0;
+#X connect 32 1 36 0;
+#X connect 33 0 23 0;
+#X connect 34 0 42 0;
+#X connect 34 1 37 0;
+#X connect 35 0 23 0;
+#X connect 36 0 23 1;
+#X connect 37 0 23 1;
+#X connect 38 0 23 0;
+#X connect 38 1 79 0;
+#X connect 39 0 19 0;
+#X connect 40 0 33 0;
+#X connect 41 0 33 1;
+#X connect 42 0 35 0;
+#X connect 43 0 35 1;
+#X connect 44 0 78 0;
+#X connect 47 0 48 0;
+#X connect 47 1 49 0;
+#X connect 48 0 7 0;
+#X connect 49 0 7 0;
+#X connect 50 0 47 0;
+#X connect 51 0 52 0;
+#X connect 52 0 68 0;
+#X connect 54 0 53 0;
+#X connect 55 0 68 0;
+#X connect 55 1 85 1;
+#X connect 56 0 54 0;
+#X connect 56 1 59 0;
+#X connect 56 2 60 0;
+#X connect 57 0 53 0;
+#X connect 58 0 57 0;
+#X connect 59 0 53 0;
+#X connect 60 0 53 0;
+#X connect 61 0 63 0;
+#X connect 62 0 24 0;
+#X connect 65 0 55 0;
+#X connect 66 0 61 0;
+#X connect 68 0 85 0;
+#X connect 69 0 75 0;
+#X connect 70 0 103 0;
+#X connect 71 0 75 1;
+#X connect 72 0 75 2;
+#X connect 73 0 75 3;
+#X connect 74 0 75 4;
+#X connect 75 0 76 0;
+#X connect 77 0 54 0;
+#X connect 78 0 38 0;
+#X connect 78 1 80 0;
+#X connect 78 2 34 0;
+#X connect 78 3 32 0;
+#X connect 78 4 27 0;
+#X connect 78 5 21 0;
+#X connect 78 6 20 0;
+#X connect 79 0 23 1;
+#X connect 80 0 83 0;
+#X connect 80 1 82 0;
+#X connect 81 0 23 0;
+#X connect 82 0 23 1;
+#X connect 83 0 81 0;
+#X connect 84 0 81 1;
+#X connect 85 0 56 0;
+#X connect 86 0 61 0;
+#X connect 87 0 98 0;
+#X connect 88 0 90 0;
+#X connect 88 1 87 0;
+#X connect 88 2 89 0;
+#X connect 89 0 99 1;
+#X connect 90 0 99 1;
+#X connect 91 0 96 0;
+#X connect 92 0 94 0;
+#X connect 92 1 91 0;
+#X connect 92 2 93 0;
+#X connect 93 0 100 1;
+#X connect 94 0 100 1;
+#X connect 95 0 99 0;
+#X connect 97 0 100 0;
+#X connect 99 0 92 0;
+#X connect 100 0 88 0;
+#X connect 101 0 44 0;
+#X connect 102 0 103 1;
+#X connect 103 0 105 0;
+#X connect 105 0 104 0;
+#X connect 105 1 69 0;
+#X coords 0 -1 1 1 360 45 1 100 250;