Team Status Report 4/3/2021

This week, we made a lot of progress on our independent work streams. The housing prototype has been assembled and is ready to be used for testing. Currently JP, is testing the cup detection algorithm with the camera positioned how we would like for our demo. The housing has the support on the rear panel for the touch screen UI that Juan is implementing, and space to house the internal launching mechanism that Logan is building. We believe it is sufficient enough for our demo, but there will likely be small changes as we continue to test.

We are nearing a point where we can test the integration of our independent workstreams. For our demo, we plan to integrate mostly the cup detection and the launcher, since those are the most difficult parts. By the end of this week we should have the following ready to demo:

  • Detecting cup rings
  • Filtering out erroneous ellipses
  • Generating 3D point locations of each detected cup
  • Mapping detected cup to calibration map (linking cup position to cup number 1,2,3 etc.)
  • Rotating launcher to aim at specific cup
  • Triggering ball launching at specific cup

Logan Status Report (4/3)

This week I finally got my hands on a lot of the hardware I needed. I finished soldering the stepper control board and did preliminary testing to make sure it worked. After I verified it was all working correctly and could microstep in both directions I started testing the code I wrote for going to an angle. It took a little bit of tweaking, but it now is at the point where I can send an angle over serial (also a velocity but that doesn’t do anything yet), and it will turn to the closest angle it can to that. I minimize the difference by tracking the global angle that it arrived at after each step, so that it doesn’t always assume that it turns to the exact angle given by the user.

Video of stepper testing:

https://drive.google.com/file/d/1XPMc-EM1ohryy9YpaJJoyoN1blSXRkv9/view?usp=sharing

The DC Motor also arrived today so I’m excited to get that test rig set up as well.

Juan Pablo Weekly Status Report 4/3/2021

This week I continued to work on the UI. I’ve improved the overall look, the manual switching of cups, and added a rerack function that so far supports gents and diamond. The UI also recognizes when the Automatic Gentleman has won the game and announces accordingly.

This almost finished UI model was made with Tkinter and was originally gonna be integrated into the other C++/C components with some extra steps. This week I’m going to remove the need for those extra steps by making the UI fully functional in C++ which should make testing and integrating more straightforward.