Kaynağa Gözat

modified startPosition

same as precedent commit, use mode 0 with accLimit instead of mode 1
Etienne Landon 7 yıl önce
ebeveyn
işleme
842fda065a
1 değiştirilmiş dosya ile 11 ekleme ve 8 silme
  1. 11 8
      kostepper.pd

+ 11 - 8
kostepper.pd

@@ -341,10 +341,13 @@ CUE 3 \; /stepper/0/cue/3/move 0.0277778 \; /stepper/0/cue/3/setMaxSpeed
 #X obj 170 199 -;
 #X text 286 58 START POSITION MANAGEMENT;
 #X obj 140 425 list;
-#X msg 140 386 driveMode 1 \$1 \, maxSpeed \$3 \$1 \, move \$2 \$1
-\, setSpeed \$3 \$1 \, getStatus \$1 \$1;
 #X obj 140 366 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
+\$3 \$1 \, move \$2 \$1 \, getStatus \$1 \$1;
+#X msg 416 441 driveMode 1 \$1 \, maxSpeed \$3 \$1 \, acceleration
+move \$2 \$1 \, setSpeed \$3 \$1 \, getStatus \$1 \$1;
 #X connect 0 0 1 0;
 #X connect 1 0 26 0;
 #X connect 3 0 6 0;
@@ -359,8 +362,8 @@ CUE 3 \; /stepper/0/cue/3/move 0.0277778 \; /stepper/0/cue/3/setMaxSpeed
 #X connect 11 1 12 0;
 #X connect 12 0 18 0;
 #X connect 16 0 15 0;
-#X connect 17 0 33 0;
-#X connect 18 0 34 1;
+#X connect 17 0 32 0;
+#X connect 18 0 33 1;
 #X connect 20 0 8 0;
 #X connect 21 0 11 0;
 #X connect 22 0 21 0;
@@ -377,11 +380,11 @@ CUE 3 \; /stepper/0/cue/3/move 0.0277778 \; /stepper/0/cue/3/setMaxSpeed
 #X connect 29 0 19 0;
 #X connect 29 0 3 1;
 #X connect 31 0 16 0;
-#X connect 32 0 31 0;
-#X connect 33 0 32 0;
-#X connect 34 0 33 1;
+#X connect 32 0 35 0;
+#X connect 33 0 32 1;
+#X connect 35 0 31 0;
 #X restore 661 97 pd \$0-startposition;
-#N canvas 289 132 1211 848 \$0-modes&moves 1;
+#N canvas 624 132 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;