This test procedure will match the one for 7.1.3.1 OpenCV interfaces with camera, but will check the wireless connection of the camera and the tablet instead of the camera and the computer. The purpose, procedure, expected outcome, and conditions of success will mirror those written for section 7.1.3.1.
RTCDT Application on Tablet
This test procedure will match the one for 7.1.3.5 RTCDT Application, but will use the application on the tablet in place of the simulated one on the computer. The purpose, procedure, expected outcome, and conditions of success will mirror those written for section 7.1.3.5.
Rangefinder Testing
Rangefinder Program on PC
Purpose: To check that the rangefinder finds the depth information of the desired target and outputs this information for use by the microcontroller in servo commands
Procedure:
Power on the image sensor and laser pointer configuration
When the test is successfully completed with the rangefinder connected to the PC, the next step is to connect the rangefinder to the tablet, which will run the algorithm for determining the distance. For this the rangefinder will have to be connected to the microcontroller, which will then send the captured frames wirelessly to the tablet for processing.
Purpose: To check that the rangefinder program works correctly on the tablet, both in receiving information wirelessly from the microcontroller and outputting the distance of the object
Procedure:
Power on the image sensor and laser pointer configuration
Connect image sensor to microcontroller
Run the program to find the range from the image sensor frames on the tablet
Set the rangefinder to face a plain solid colored wall approximately 30 meters away, the range of the turret
Place an object at varying distances from the laser pointer system
Direct laser pointer and attached image sensor to target the object
Expected Outcome: The rangefinder program will output the depth information of the targeted object
Conditions of Success:
The depth information matches the distance from the rangefinder to the object, as measured beforehand.
System Test Procedure
The project consists of four major subsystems. They are wireless communication, image processing, user interface, and servo system. Under each subsystem, there are more control units that run upon each other. It is essential to test each sub system before integrating them together for the testing of the entire system. The group is going to use the same approach to test the entire system. Instead of integrating all subsystems together at once, the group will have two break points between user command module and firing control. Having break points or check points will allow the group to monitor if any malfunction has occurred during each execution as a command has been sent from the user interface.
User Command
Purpose: To check if the user interface is successfully running on the image processing module.
Procedure/ Expected Outcome:
Power on both camera and the tablet
Run the camera and open the user interface application
Stationary objects shown on the screen should be well defined. Moving objects should have clear edges
Purpose: To check if the coordinates of designated target data is successfully calculated and sent through the wireless protocol without corruption. Also, to check that if the firing command is processed by Arduino successfully and received by the laser pointer driver to trigger the diode. The team is going to integrate two major subsystems to test the entire system. This test module will be the complete system for the project.