This commit is contained in:
Michael Fogleman 2018-01-22 17:58:33 -05:00
parent 1f18e89c8d
commit c3c3f62fdf
2 changed files with 9 additions and 9 deletions

View File

@ -9,9 +9,9 @@ from serial.tools.list_ports import comports
from .planner import Planner from .planner import Planner
from .progress import Bar from .progress import Bar
TIMESLICE_MS = 10 TIMESLICE_MS = 20
MICROSTEPPING_MODE = 1 MICROSTEPPING_MODE = 2
STEP_DIVIDER = 2 ** (MICROSTEPPING_MODE - 1) STEP_DIVIDER = 2 ** (MICROSTEPPING_MODE - 1)
STEPS_PER_INCH = 2032 / STEP_DIVIDER STEPS_PER_INCH = 2032 / STEP_DIVIDER
@ -21,13 +21,13 @@ PEN_UP_POSITION = 60
PEN_UP_SPEED = 150 PEN_UP_SPEED = 150
PEN_UP_DELAY = 0 PEN_UP_DELAY = 0
PEN_DOWN_POSITION = 45 PEN_DOWN_POSITION = 40
PEN_DOWN_SPEED = 150 PEN_DOWN_SPEED = 150
PEN_DOWN_DELAY = 0 PEN_DOWN_DELAY = 0
ACCELERATION = 4 ACCELERATION = 8
MAX_VELOCITY = 6 MAX_VELOCITY = 6
CORNER_FACTOR = 0.005 * 3 CORNER_FACTOR = 0.005 * 2
VID_PID = '04D8:FD92' VID_PID = '04D8:FD92'

View File

@ -5,13 +5,13 @@ import numpy as np
import os import os
import sys import sys
NUMBER = 4 NUMBER = 5
TITLE = 'Five Seconds of Balloon Fight' TITLE = 'Five Seconds of Donkey Kong'
LABEL = '#%s' % NUMBER LABEL = '#%s' % NUMBER
COLUMNS = 8 COLUMNS = 6
SECONDS = 5 SECONDS = 5
FRAME_OFFSET = 120 FRAME_OFFSET = -150
MIN_CHANGES = 1 MIN_CHANGES = 1
def stack_drawings(ds, spacing=0): def stack_drawings(ds, spacing=0):