Skip to content

Testing

Fritz Mahnke edited this page Jan 22, 2025 · 3 revisions

Procedures

Calibration

Test cases

Repeat these test cases for new software versions.

  • Inputs: Limits: 0-10, points: 0, 10, 20
  • Expected results: steps: 2, error: 0
  • Actual results:
  • Inputs: Limits: 0-20, points: 10, 20, 30
  • Expected results: steps: 2, error: 0
  • Actual results:

Simulator

  1. Enter limits in the System State area.
  2. Use position (relative): up to move axis to the first point.
  3. Press * on keypad to mark the point.
  4. Repeat steps 2-3 for the midpoint and maximum.
  5. Verify results shown are as expected.
  6. Use position (absolute): up to verify that the axis is currently at the maximum limit and does not move further.
    1. Use position (absolute): down to verify that the axis moves through the range and does not move past the minimum.
  7. Select position (absolute): cm. Repeat step 6 with metric units.

Results

Simulator

0.4.0

Calibration test cases
  • Inputs: Limits: 0-10, points: 0, 10, 20
  • Expected results: steps: 2, error: 0
  • Actual results: steps: 2, error: 0
  • Inputs: Limits: 0-10, points: 10, 20, 30
  • Expected results: steps: 2, error: 0
  • Actual results: steps: 2, error: 0
    • position (absolute): up/down doesn't correctly move axis.
    • position (absolute): cm shows max as 15, should be 10
Other
  • steps per increment is not displayed correctly before beginning calibration procedure.
    • Calibration display shows garbage in steps field
    • System State: ... stepsPerIncrement shows a negative value. Probably related.
  • distance tracking in both up/down directions is not yet implemented.

checksums

2025-01-22

the following were tested and working

788e5ff  /opt/scon/publish/latest/arduino-avr-nano/test/i2cwrapper_firmware/i2cwrapper_firmware.ino.eep
61cd54f  /opt/scon/publish/latest/arduino-avr-nano/test/i2cwrapper_firmware/i2cwrapper_firmware.ino.elf
0ede9fa  /opt/scon/publish/latest/arduino-avr-nano/test/i2cwrapper_firmware/i2cwrapper_firmware.ino.hex
04aafd8  /opt/scon/publish/latest/arduino-avr-nano/test/i2cwrapper_firmware/i2cwrapper_firmware.ino.with_bootloader.bin
1d430ee  /opt/scon/publish/latest/arduino-avr-nano/test/i2cwrapper_firmware/i2cwrapper_firmware.ino.with_bootloader.hex

3a9d7ad  /opt/scon/publish/latest/arduino-renesas_uno-minima/test/display/st7789-2in-240x320/st7789-2in-240x320.ino.bin
7aa4525  /opt/scon/publish/latest/arduino-renesas_uno-minima/test/display/st7789-2in-240x320/st7789-2in-240x320.ino.elf
e5322aa  /opt/scon/publish/latest/arduino-renesas_uno-minima/test/display/st7789-2in-240x320/st7789-2in-240x320.ino.hex
812685a  /opt/scon/publish/latest/arduino-renesas_uno-minima/test/display/st7789-2in-240x320/st7789-2in-240x320.ino.map

6caf9da  /opt/scon/publish/latest/arduino-renesas_uno-minima/test/keypad_i2c/controller/controller.ino.bin
9ccc351  /opt/scon/publish/latest/arduino-renesas_uno-minima/test/keypad_i2c/controller/controller.ino.elf
a555d08  /opt/scon/publish/latest/arduino-renesas_uno-minima/test/keypad_i2c/controller/controller.ino.hex
1626745  /opt/scon/publish/latest/arduino-renesas_uno-minima/test/keypad_i2c/controller/controller.ino.map

4eedcfa  /opt/scon/publish/latest/arduino-renesas_uno-minima/test/motor/basic/basic.ino.bin
944ef02  /opt/scon/publish/latest/arduino-renesas_uno-minima/test/motor/basic/basic.ino.elf
06a36f1  /opt/scon/publish/latest/arduino-renesas_uno-minima/test/motor/basic/basic.ino.hex
c962aca  /opt/scon/publish/latest/arduino-renesas_uno-minima/test/motor/basic/basic.ino.map

Clone this wiki locally