Printer Overview
Printer Class is the main class which will handle initialization of stages and controller. Images captured by camera interface will be pass to printer class. The location of this file is src -> system -> printer.py and the configuration file is config -> printer.yaml parameters to which are as follow:
# File -> printer.yaml
axes:
- x_axis:
- id: 0
- speed: 5
- speed_fast: 50
- y_axis:
- id: 1
- speed: 5
- speed_fast: 50
- z_axis:
- id: 2
- speed: 50
- speed_slow: 0.5
camera_offset:
- -98.3159
- 1.1260
- 5.2599
moving_height: 18
recipe:
- 0
- 0
- 0
Printer Test
Printer Class could be tested in two ways, one is to test movement without pressure and one with pressure.
1. Movement Test
In order to test the movement of the stages, three scripts corresponding to each stage is provided in tests -> move directory.
Move stages in x axis:
Move stages in y axis:
Move stages in z axis:
2. Print Test
In order to test the printing, two scripts are provided one of which prints vertically and other horizontally in tests -> print directory.
Print line horizontally:
Print line vertically: