Remote Touchscreen-Controlled Defense Turret Senior Design Documentation Courtney Mann, Brad Clymer, Szu-yu Huang Group 11



Download 415.03 Kb.
Page21/23
Date29.01.2017
Size415.03 Kb.
#12395
1   ...   15   16   17   18   19   20   21   22   23

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.




      1. 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:

  1. Power on the image sensor and laser pointer configuration

  2. Connect image sensor to PC

  3. Run the program to find the range from the image sensor frames

  4. Set system up facing plain solid colored wall approximately 30 meters away, the range of the turret

  5. Place an object at varying distances from the laser pointer system

  6. 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:



Rangefinder Program on Tablet


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:

  1. Power on the image sensor and laser pointer configuration

  2. Connect image sensor to microcontroller

  3. Run the program to find the range from the image sensor frames on the tablet

  4. Set the rangefinder to face a plain solid colored wall approximately 30 meters away, the range of the turret

  5. Place an object at varying distances from the laser pointer system

  6. 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.



    1. 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.

      1. User Command


Purpose: To check if the user interface is successfully running on the image processing module.
Procedure/ Expected Outcome:

  1. Power on both camera and the tablet

  2. Run the camera and open the user interface application

  3. Stationary objects shown on the screen should be well defined. Moving objects should have clear edges

  4. Delay between camera and the user interface display should be minimal

  5. The display should show up to three moving targets which are outlined in different colors.

  6. Besides automatic targets, a manually chosen point should be recognized as a target

  7. Select one of the potential targets which should be outlined as instructed

  8. Press the firing button, which should flash as instructed

  9. As the firing button is pressed, the centroid of the target should be displayed


Conditions of Success:

  • User interface is programmed correctly without any malfunction during execution

  • Colored command buttons are displayed at the bottom of the screen

  • Image displayed on the screen is clear and sharp without delay

  • Targets are represented by uniquely colored rectangles

  • Outputted centroid locations match the chosen target

  • The firing command is sent as the button is pressed



      1. Firing Control


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.


Download 415.03 Kb.

Share with your friends:
1   ...   15   16   17   18   19   20   21   22   23




The database is protected by copyright ©ininet.org 2024
send message

    Main page