#N canvas 927 127 984 626 10; #X obj 85 172 cnv 15 130 305 empty empty Status 2 8 0 14 -233017 -128992 0; #X obj 219 172 cnv 15 79 305 empty empty MANUEL 2 8 0 14 -233017 -128992 0; #X obj 302 172 cnv 15 180 305 empty empty Move 2 8 0 14 -233017 -128992 0; #X obj 65 9 r /fromOSC; #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; #X obj 92 89 == \$1; #X obj 60 132 spigot; #X msg 92 67 \$1; #X obj 60 21 inlet; #X obj 60 153 outlet; #X connect 0 0 2 0; #X connect 0 1 3 0; #X connect 1 0 2 1; #X connect 2 0 5 0; #X connect 3 0 1 0; #X connect 4 0 0 0; #X restore 65 29 pd filter\$1; #N canvas 123 519 450 300 conversion 0; #X obj 97 9 inlet; #X obj 97 30 unpack f f f f f; #X obj 97 94 outlet; #X obj 120 134 outlet; #X obj 143 174 outlet; #X obj 166 214 outlet; #X obj 190 254 outlet; #X obj 97 75 steps2camrot; #X obj 120 115 steps2camrot; #X obj 143 155 steps2camrot; #X obj 166 195 steps2camrot; #X obj 190 235 steps2camrot; #X connect 0 0 1 0; #X connect 1 0 7 0; #X connect 1 1 8 0; #X connect 1 2 9 0; #X connect 1 3 10 0; #X connect 1 4 11 0; #X connect 7 0 2 0; #X connect 8 0 3 0; #X connect 9 0 4 0; #X connect 10 0 5 0; #X connect 11 0 6 0; #X restore 65 96 pd conversion; #X obj 65 74 route /status /onTarget; #X obj 251 266 vsl 20 175 0.001 2 1 0 /stepper/\$1/manualSpeed /stepper/\$1/manualSpeed speed -6 185 0 10 -262144 -1 -1 0 1; #X obj 242 232 hradio 15 1 0 2 /stepper/\$1/manualDirection /stepper/\$1/manualDirection direction -10 22 0 10 -262144 -1 -1 0; #X obj 411 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; #X obj 281 586 ofGetPatchDirectory; #X obj 281 511 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X text 302 511 get the list of file names in a directory.; #X msg 282 634 symbol \$1/moves; #X symbolatom 281 607 50 0 0 0 - - -, f 50; #X obj 608 582 print; #X obj 290 664 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 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; #X obj 44 264 kollabs/osc_bi \$2 /stepper/\$1/acceleration; #X obj 44 74 kollabs/osc_bi \$2 /stepper/\$1/accMode; #X obj 44 94 kollabs/osc_bi \$2 /stepper/\$1/manualDrive; #X obj 44 35 kollabs/osc_bi \$2 /stepper/\$1/updateStatus; #X obj 44 304 kollabs/osc_bi \$2 /stepper/\$1/sequences/list; #X obj 44 354 kollabs/osc_bi \$2 /stepper/\$1/pos/current; #X obj 44 374 kollabs/osc_bi \$2 /stepper/\$1/pos/current/deg; #X obj 533 37 loadbang; #X obj 533 58 f \$1; #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 restore 661 40 pd \$0-osc; #X obj 240 193 tgl 35 0 /stepper/\$1/manualDrive /stepper/\$1/manualDrive empty 17 7 0 10 -204800 -33289 -1 0 1; #X obj 427 350 tgl 15 0 /stepper/\$1/accMode /stepper/\$1/accMode 0/1 17 7 0 10 -262144 -1 -1 0 1; #X obj 315 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 227 459 nbx 6 14 -1e+37 1e+37 0 0 /stepper/\$1/manualSpeed /stepper/\$1/manualSpeed empty 0 -8 0 10 -262144 -1 -1 0.001 256; #X obj 335 371 vsl 25 60 0 2 0 0 /stepper/\$1/setMaxSpeed /stepper/\$1/setMaxSpeed speed -4 70 0 10 -262144 -1 -1 2950 1; #X obj 325 449 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 424 372 vsl 25 60 0 2 0 0 /stepper/\$1/acceleration /stepper/\$1/acceleration acc 4 70 0 10 -233017 -233017 -195568 2950 1; #X obj 415 449 nbx 4 14 -1e+37 1e+37 0 0 /stepper/\$1/acceleration /stepper/\$1/acceleration empty 0 -8 0 10 -233017 -233017 -195568 1 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 439 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 306 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 435 229 bng 15 250 50 0 /stepper/\$1/move/gotoStart /stepper/\$1/move/gotoStart goto 17 7 0 10 -204800 -1 -1; #X obj 378 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 ; #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 315 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 153 97 s /stepper/\$1/pos/onTarget; #X obj 383 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 307 263 Reglages mouvement; #X obj 487 172 cnv 15 370 305 empty empty Sequence 2 8 0 14 -233017 -128992 0; #X obj 719 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 719 228 bng 15 250 50 0 /stepper/\$1/sequencer/open empty choose_sequence 17 7 0 10 -262144 -1 -1; #X obj 898 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 563 229 bng 30 250 50 0 /stepper/\$1/sequencer/go /stepper/\$1/sequencer/go GO 9 16 0 10 -204786 -1 -1; #X msg 494 538 1; #X obj 616 229 tgl 30 0 /stepper/\$1/sequencer/loop /stepper/\$1/sequencer/loop loop 32 15 0 13 -162280 -1 -1 0 1; #X obj 891 226 bng 15 250 50 0 /stepper/\$1/sequencer/load /stepper/\$1/sequencer/load reload 17 7 0 10 -262144 -1 -1; #X text 495 232 sequence; #N canvas 594 568 980 300 \$0-gui 0; #X obj 19 143 loadbang; #X obj 19 202 s /stepper/\$1/runningGui; #X msg 77 132 color 14 13 13 \, label running \, label_pos 7 12; #X msg 19 184 color 10 11 20 \, label idle \, label_pos 17 12; #X obj 19 164 r /stepper/\$1/pos/onTarget; #X obj 94 93 r /stepper/\$1/move/gotoStart; #X text 265 61 GUI COLORS; #X obj 370 107 r /stepper/\$1/accMode; #X obj 370 128 route 0 1; #X msg 370 147 color 10 10 20; #X msg 395 168 color 0 22 22; #X obj 370 201 s /stepper/\$1/accGUI; #X obj 77 113 r /stepper/\$1/move/go; #X connect 0 0 3 0; #X connect 2 0 1 0; #X connect 3 0 1 0; #X connect 4 0 3 0; #X connect 5 0 2 0; #X connect 7 0 8 0; #X connect 8 0 9 0; #X connect 8 1 10 0; #X connect 9 0 11 0; #X connect 10 0 11 0; #X connect 12 0 2 0; #X restore 661 59 pd \$0-gui; #N canvas 130 127 1010 904 \$0-sequencer 0; #X obj 463 246 text set \$1-seq; #X obj 463 187 pack s f; #X obj 508 167 r /stepper/\$1/move/startPos; #X obj 450 105 t b b b f; #X msg 467 129 1; #X obj 450 84 r /stepper/\$1/writeSeq; #X obj 439 338 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X msg 467 345 line 0 \, bang; #X obj 260 139 text define -k \$1-seq; #A set startPos 0 \; \; CUE 0 \; move 0.0555556 \; setMaxSpeed 1 \; acceleration 0 \; accMode 0 \; active 1 \; wait 0 \; \; CUE 1 \; move 0.0555556 \; setMaxSpeed 1 \; acceleration 0 \; accMode 0 \; active 1 \; wait 5 \; \; CUE 2 \; move 0.0555556 \; setMaxSpeed 1 \; acceleration 0 \; accMode 0 \; active 1 \; wait 1 \; \; CUE 3 \; move 0 \; setMaxSpeed 0 \; acceleration 0 \; accMode 1 \; active 0 \; wait 0 \; \;; #X obj 467 326 r /stepper/\$1/sequencer/load; #X obj 260 35 r /stepper/\$1/writeSeq; #X obj 260 56 delay 100; #X obj 260 97 savepanel; #X msg 260 77 symbol ./; #X msg 260 118 write \$1; #X obj 30 16 r /stepper/\$1/sequencer/open; #X obj 30 34 openpanel; #X msg 176 74 read \$1; #X obj 31 113 s /stepper/\$1/sequencer/load; #X obj 30 94 bang; #X obj 30 73 delay 100; #X obj 30 52 t b a; #X obj 114 275 r /stepper/\$1/openSeq; #X obj 114 347 openpanel; #X msg 114 326 symbol ./; #X obj 190 626 r /stepper/\$1/cue/current; #X obj 139 516 r /stepper/\$1/pos/onTarget; #X obj 79 434 t b b; #X obj 112 455 f \$1; #X msg 111 476 \; /stepper/\$1/cue/0/move/go bang; #X obj 171 442 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X obj 139 787 spigot; #X obj 190 647 t f f; #X obj 79 413 r /stepper/\$1/sequencer/go; #X obj 205 708 r /stepper/\$1/sequencer/loop; #X obj 190 729 f; #X obj 190 751 route 0 1; #X msg 190 772 0; #X obj 139 828 pack 0 \$1; #X msg 139 849 \; /stepper/\$2/cue/\$1/move/go bang; #X obj 275 746 r /stepper/\$1/stop; #X obj 139 806 f; #X obj 217 666 + 1; #X msg 299 786 0; #X obj 307 657 print; #X obj 190 688 route 3; #X obj 467 364 text sequence \$1-seq; #X obj 467 456 s \$1-cue; #X obj 622 481 r \$1-cue; #X obj 663 381 route move setMaxSpeed acceleration accMode active; #X obj 467 385 route list bang; #X obj 566 415 list trim; #X obj 572 520 pack s f f \$1; #X msg 572 542 \; /stepper/\$4/cue/\$3/\$1 \$2; #X obj 463 147 symbol startPos; #X obj 467 435 route CUE startPos; #X obj 522 456 s /stepper/\$1/move/startPos; #X obj 139 577 delay 0; #X obj 305 516 r /stepper/\$1/sequencer/wait; #X obj 169 598 r /stepper/\$1/cue/next; #X obj 139 640 bang; #X text 212 558 if reading sequence \, use wait; #X obj 22 539 r /stepper/\$1/stop; #X msg 22 560 stop; #X obj 139 537 bang; #X obj 139 558 f; #X text 309 596 else skip wait; #X obj 305 537 * 1000; #X msg 545 603 0; #X obj 442 599 line; #X obj 418 762 s /stepper/\$1/sequencer/wait/gui; #X floatatom 467 544 5 0 0 0 - - -, f 5; #X msg 442 578 0 \, 100 \$1; #X obj 458 622 moses 100; #X msg 510 553 1000; #X msg 549 703 color \$1 \$1; #X floatatom 565 675 5 0 0 0 - - -, f 5; #X msg 517 651 color 10 10; #X msg 413 728 color 14 14 \, vis_size \$1 5; #X obj 273 825 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X floatatom 257 653 5 0 0 0 - - -, f 5; #X obj 10 687 r /stepper/\$1/sequencer/go; #X msg 10 708 1; #X connect 1 0 0 0; #X connect 2 0 1 1; #X connect 3 0 0 0; #X connect 3 1 4 0; #X connect 3 2 54 0; #X connect 3 3 0 1; #X connect 4 0 0 1; #X connect 5 0 3 0; #X connect 6 0 46 0; #X connect 7 0 46 0; #X connect 9 0 7 0; #X connect 10 0 11 0; #X connect 11 0 13 0; #X connect 12 0 14 0; #X connect 13 0 12 0; #X connect 14 0 8 0; #X connect 15 0 16 0; #X connect 16 0 21 0; #X connect 17 0 8 0; #X connect 19 0 18 0; #X connect 20 0 19 0; #X connect 21 0 20 0; #X connect 21 1 17 0; #X connect 22 0 24 0; #X connect 24 0 23 0; #X connect 25 0 32 0; #X connect 25 0 80 0; #X connect 26 0 64 0; #X connect 27 1 28 0; #X connect 28 0 29 0; #X connect 30 0 28 0; #X connect 31 0 41 0; #X connect 32 0 45 0; #X connect 32 1 42 0; #X connect 33 0 27 0; #X connect 34 0 35 1; #X connect 35 0 36 0; #X connect 35 0 44 0; #X connect 36 0 37 0; #X connect 36 1 43 0; #X connect 37 0 31 1; #X connect 38 0 39 0; #X connect 40 0 37 0; #X connect 41 0 38 0; #X connect 41 0 79 0; #X connect 42 0 41 1; #X connect 43 0 41 1; #X connect 45 0 35 0; #X connect 46 0 50 0; #X connect 48 0 52 2; #X connect 50 0 55 0; #X connect 52 0 53 0; #X connect 54 0 1 0; #X connect 55 0 47 0; #X connect 55 1 56 0; #X connect 55 2 52 0; #X connect 57 0 60 0; #X connect 58 0 67 0; #X connect 59 0 60 0; #X connect 60 0 31 0; #X connect 62 0 63 0; #X connect 63 0 57 0; #X connect 64 0 65 0; #X connect 65 0 57 0; #X connect 65 0 72 0; #X connect 67 0 65 1; #X connect 68 0 69 0; #X connect 69 0 78 0; #X connect 69 0 73 0; #X connect 71 0 72 0; #X connect 72 0 69 0; #X connect 73 1 68 0; #X connect 73 1 77 0; #X connect 74 0 72 0; #X connect 75 0 70 0; #X connect 76 0 75 0; #X connect 77 0 70 0; #X connect 78 0 70 0; #X connect 81 0 82 0; #X connect 82 0 31 1; #X restore 661 78 pd \$0-sequencer; #N canvas 1 55 894 565 \$0-startposition 0; #X obj 170 103 r /stepper/\$1/pos/current; #X obj 170 122 * 360; #X floatatom 97 134 5 0 0 0 - - -, f 5; #X obj 145 222 f; #X obj 145 84 r /stepper/\$1/move/setStart; #X obj 140 306 r /stepper/\$1/move/gotoStart; #X obj 145 241 s /stepper/\$1/move/startPos; #X obj 444 105 r /stepper/\$1/move/startPos; #X obj 420 146 -; #X obj 444 125 t b f; #X text 450 147 distance currentPos->startPos; #X obj 420 206 moses 180; #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 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; #X obj 420 84 r /stepper/\$1/pos/current/deg; #X obj 420 187 abs; #X obj 420 166 t f f; #X obj 447 251 moses 0; #X msg 447 272 360; #X msg 477 272 -360; #X obj 170 141 t f f; #X obj 197 159 div 360; #X obj 197 180 * 360; #X obj 170 199 -; #X text 286 58 START POSITION MANAGEMENT; #X obj 140 455 list; #X obj 140 396 pack 0 0 4000 0; #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 461 driveMode 1 \$1 \, maxSpeed \$3 \$1 \, acceleration move \$2 \$1 \, setSpeed \$3 \$1 \, getStatus \$1 \$1; #X obj 611 332 / 60; #X obj 648 356 / 60; #X obj 648 338 r /stepper/\$1/accLimit; #X obj 611 314 r /stepper/\$1/speedLimit; #X obj 351 333 steps2camrot; #X obj 542 350 steps2camrot; #X obj 579 374 steps2camrot; #X connect 0 0 1 0; #X connect 1 0 26 0; #X connect 3 0 6 0; #X connect 4 0 3 0; #X connect 5 0 17 0; #X connect 7 0 9 0; #X connect 8 0 14 0; #X connect 8 0 22 0; #X connect 9 0 8 0; #X connect 9 1 8 1; #X connect 11 0 18 0; #X connect 11 1 12 0; #X connect 12 0 18 0; #X connect 16 0 15 0; #X connect 17 0 32 0; #X connect 18 0 40 1; #X connect 20 0 8 0; #X connect 21 0 11 0; #X connect 22 0 21 0; #X connect 22 1 23 0; #X connect 23 0 24 0; #X connect 23 1 25 0; #X connect 24 0 18 1; #X connect 25 0 18 1; #X connect 26 0 29 0; #X connect 26 1 27 0; #X connect 27 0 28 0; #X connect 28 0 29 1; #X connect 29 0 2 0; #X connect 29 0 19 0; #X connect 29 0 3 1; #X connect 31 0 16 0; #X connect 32 0 34 0; #X connect 34 0 31 0; #X connect 36 0 41 1; #X connect 37 0 42 1; #X connect 38 0 37 0; #X connect 39 0 36 0; #X connect 40 0 32 1; #X connect 41 0 32 2; #X connect 42 0 32 3; #X restore 661 97 pd \$0-startposition; #N canvas 689 84 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; #X obj 40 85 t f f; #X obj 40 172 f; #X msg 65 218 2; #X obj 40 236 s /stepper/\$1/driveMode; #X obj 40 193 spigot; #X obj 73 173 == 0; #X text 73 11 SET DRIVE MODE; #X obj 909 276 r /stepper/\$1/driveMode; #X obj 909 364 pack s f f; #X obj 966 339 f \$1; #X obj 966 317 loadbang; #X obj 909 418 s /toOSC; #X msg 909 396 /\$1 \$3 \$2; #X text 929 260 SEND DRIVE MODE; #X obj 880 190 / 60; #X obj 811 249 spigot; #X obj 894 212 r /stepper/\$1/driveMode; #X obj 894 233 == 2; #X msg 811 268 setSpeed \$1; #X obj 51 152 == 0; #X msg 909 297 driveMode \$1 \, setSpeed 0; #X text 865 13 MANUAL SPEED; #X obj 880 166 * 1; #X obj 895 146 t b f; #X obj 895 106 route 0 1; #X msg 895 126 -1; #X msg 924 126 1; #X obj 895 88 r /stepper/\$1/manualDirection; #X obj 880 41 r /stepper/\$1/manualSpeed; #X obj 215 149 r /stepper/\$1/updateStatus; #X obj 215 170 f \$1; #X msg 215 191 /getStatus \$1; #X obj 215 212 s /toOSC; #X obj 215 62 f \$1; #X msg 215 83 /stop \$1; #X obj 396 43 r /stepper/\$1/move; #X obj 415 143 s /stepper/\$1/move/deg; #X obj 396 163 r /stepper/\$1/move/deg; #X obj 415 263 s /stepper/\$1/move; #X obj 415 244 / 360; #X obj 215 103 s /toOSC; #X text 248 17 STOP; #X text 405 17 MOVE DEGRES CONVERSION; #X text 232 131 STATUS; #X obj 396 204 t b f b; #X msg 436 223 0; #X msg 396 224 1; #X obj 415 124 * 360; #X obj 396 83 t b f b; #X msg 436 101 0; #X msg 396 102 1; #X obj 215 43 r /stepper/\$1/stop; #X obj 396 65 spigot 1; #X obj 396 184 spigot 1; #X obj 453 474 / 60; #X obj 453 436 r /stepper/\$1/setMaxSpeed; #X obj 309 618 list prepend; #X obj 416 416 r /stepper/\$1/move; #X obj 309 412 f \$1; #X obj 491 514 / 60; #X obj 491 476 r /stepper/\$1/acceleration; #X obj 309 787 list; #X obj 309 825 s /toOSC; #X msg 309 806 /\$1 \$3 \$2; #X obj 309 391 r /stepper/\$1/move/go; #X msg 309 718 acceleration \$4 \$1 \, maxSpeed \$3 \$1 \, move \$2 \$1 \, getStatus \$1 \$1; #X text 333 369 MOVE MANAGEMENT; #X obj 44 319 r /stepper/\$1/manualDrive; #X obj 44 342 route 0 1; #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; #X text 43 293 Vconst -> accelerate AQAP; #X text 95 22 not used; #X msg 372 781 move \$2 \$1 \, setSpeed \$3 \$1 \, getStatus \$1 \$1 ; #X msg 334 748 acceleration \$5 \$1 \, maxSpeed \$3 \$1 \, move \$2 \$1 \, getStatus \$1 \$1; #X obj 569 534 / 60; #X text 704 494 used if driveMode = 2; #X obj 569 496 r /stepper/\$1/accLimit; #X obj 309 576 pack 10 5000 1000 1000 1000; #X obj 641 41 r /stepper/\$1/manualDrive; #X msg 641 62 0; #X text 641 18 Force speed to 0 when manual; #X obj 641 81 s /stepper/\$1/manualSpeed; #X msg 44 363 0; #X obj 378 596 r /stepper/\$1/accMode; #X obj 309 698 route 1 0; #N canvas 78 190 450 300 clipValue 0; #X obj 87 36 inlet; #X obj 87 117 moses; #X obj 181 46 inlet; #X obj 181 67 t f f; #X obj 114 158 f; #X obj 96 217 outlet; #X obj 117 138 bang; #X connect 0 0 1 0; #X connect 1 0 5 0; #X connect 1 1 6 0; #X connect 2 0 3 0; #X connect 3 0 1 1; #X connect 3 1 4 1; #X connect 4 0 5 0; #X connect 6 0 4 0; #X restore 705 587 pd clipValue; #X obj 342 640 r /stepper/\$1/manualDrive; #X obj 309 680 spigot; #X obj 342 661 == 0; #X floatatom 706 546 5 0 0 0 - - -, f 5; #X floatatom 716 601 5 0 0 0 - - -, f 5; #X floatatom 786 551 5 0 0 0 - - -, f 5; #N canvas 78 190 450 300 clipValue 0; #X obj 87 36 inlet; #X obj 87 117 moses; #X obj 181 46 inlet; #X obj 181 67 t f f; #X obj 114 158 f; #X obj 96 217 outlet; #X obj 117 138 bang; #X connect 0 0 1 0; #X connect 1 0 5 0; #X connect 1 1 6 0; #X connect 2 0 3 0; #X connect 3 0 1 1; #X connect 3 1 4 1; #X connect 4 0 5 0; #X connect 6 0 4 0; #X restore 453 455 pd clipValue; #X obj 613 436 r /stepper/\$1/speedLimit; #N canvas 78 190 450 300 clipValue 0; #X obj 87 36 inlet; #X obj 87 117 moses; #X obj 181 46 inlet; #X obj 181 67 t f f; #X obj 114 158 f; #X obj 96 217 outlet; #X obj 117 138 bang; #X connect 0 0 1 0; #X connect 1 0 5 0; #X connect 1 1 6 0; #X connect 2 0 3 0; #X connect 3 0 1 1; #X connect 3 1 4 1; #X connect 4 0 5 0; #X connect 6 0 4 0; #X restore 491 495 pd clipValue; #N canvas 78 190 450 300 clipValue 0; #X obj 87 36 inlet; #X obj 87 117 moses; #X obj 181 46 inlet; #X obj 181 67 t f f; #X obj 114 158 f; #X obj 96 217 outlet; #X obj 117 138 bang; #X connect 0 0 1 0; #X connect 1 0 5 0; #X connect 1 1 6 0; #X connect 2 0 3 0; #X connect 3 0 1 1; #X connect 3 1 4 1; #X connect 4 0 5 0; #X connect 6 0 4 0; #X restore 880 63 pd clipValue; #X obj 1040 40 r /stepper/\$1/speedLimit; #X obj 384 492 steps2camrot; #X obj 811 212 steps2camrot; #X obj 422 532 steps2camrot; #X obj 347 434 steps2camrot; #X obj 500 552 steps2camrot; #X connect 0 0 4 0; #X connect 0 1 5 0; #X connect 2 0 22 0; #X connect 3 0 0 0; #X connect 3 1 8 0; #X connect 4 0 7 0; #X connect 5 0 6 0; #X connect 7 0 6 0; #X connect 8 0 7 1; #X connect 10 0 23 0; #X connect 11 0 15 0; #X connect 12 0 11 2; #X connect 13 0 12 0; #X connect 15 0 14 0; #X connect 17 0 104 1; #X connect 18 0 21 0; #X connect 19 0 20 0; #X connect 20 0 18 1; #X connect 21 0 11 0; #X connect 22 0 4 0; #X connect 23 0 11 0; #X connect 25 0 17 0; #X connect 26 0 25 0; #X connect 26 1 25 1; #X connect 27 0 28 0; #X connect 27 1 29 0; #X connect 28 0 26 0; #X connect 29 0 26 0; #X connect 30 0 27 0; #X connect 31 0 101 0; #X connect 32 0 33 0; #X connect 33 0 34 0; #X connect 34 0 35 0; #X connect 36 0 37 0; #X connect 37 0 43 0; #X connect 38 0 55 0; #X connect 40 0 56 0; #X connect 42 0 41 0; #X connect 47 0 49 0; #X connect 47 1 42 0; #X connect 47 2 48 0; #X connect 48 0 55 1; #X connect 49 0 55 1; #X connect 50 0 39 0; #X connect 51 0 53 0; #X connect 51 1 50 0; #X connect 51 2 52 0; #X connect 52 0 56 1; #X connect 53 0 56 1; #X connect 54 0 36 0; #X connect 55 0 51 0; #X connect 56 0 47 0; #X connect 57 0 103 1; #X connect 58 0 98 0; #X connect 59 0 93 0; #X connect 60 0 106 1; #X connect 61 0 83 0; #X connect 62 0 105 1; #X connect 63 0 100 0; #X connect 64 0 66 0; #X connect 66 0 65 0; #X connect 67 0 61 0; #X connect 68 0 64 0; #X connect 70 0 71 0; #X connect 71 0 88 0; #X connect 71 1 74 0; #X connect 74 0 73 0; #X connect 79 0 64 0; #X connect 80 0 107 1; #X connect 82 0 80 0; #X connect 82 0 100 1; #X connect 83 0 59 0; #X connect 84 0 85 0; #X connect 85 0 87 0; #X connect 88 0 73 0; #X connect 89 0 59 1; #X connect 90 0 68 0; #X connect 90 1 79 0; #X connect 91 0 96 0; #X connect 92 0 94 0; #X connect 93 0 90 0; #X connect 94 0 93 1; #X connect 95 0 91 0; #X connect 97 0 91 1; #X connect 98 0 57 0; #X connect 99 0 98 1; #X connect 100 0 62 0; #X connect 101 0 25 0; #X connect 102 0 101 1; #X connect 103 0 83 2; #X connect 104 0 18 0; #X connect 105 0 83 3; #X connect 106 0 83 1; #X connect 107 0 83 4; #X restore 661 117 pd \$0-modes&moves; #X obj 596 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 725 190 bng 15 250 50 0 /stepper/\$1/move/gotoStart /stepper/\$1/move/gotoStart goto 17 7 0 10 -204800 -1 -1; #X obj 668 190 bng 15 250 50 0 /stepper/\$1/move/setStart /stepper/\$1/move/setStart set 17 7 0 10 -262144 -1 -1; #X obj 492 273 stepperCue \$1 0; #X obj 492 263 cnv 15 66 5 /stepper/\$1/sequencer/wait/gui /stepper/\$1/sequencer/wait/gui empty 20 12 0 14 -260818 -99865 0; #X obj 493 417 stepperCue \$1 3; #X obj 493 369 stepperCue \$1 2; #X obj 492 321 stepperCue \$1 1; #X text 226 281 1 -; #X connect 3 0 11 0; #X connect 11 0 10 0; #X connect 11 0 13 0; #X connect 12 1 41 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 48 0; #X connect 17 0 18 0; #X connect 18 0 39 0; #X connect 19 0 22 0; #X connect 19 0 23 0; #X connect 20 0 38 0; #X connect 22 0 25 0; #X connect 25 0 17 0; #X connect 25 0 24 0; #X connect 38 0 19 0; #X connect 38 1 40 0; #X connect 40 0 39 0; #X connect 50 0 33 0; #X connect 50 0 34 0; #X coords 0 -1 1 1 780 329 1 80 150;