Devank Status Report for March 25th, 2023

This Week I made a lot of progress. I redesigned the entire software stack for the shot calculation since it was extremely buggy and slow. After a rewrite of the entire code base for calculation, today I removed the last bug from a preliminary shot calculator and as of now given a random game state, the software will select the easiest possible shot for the user and create an image for it. The main problem I addressed was the removal of certain pockets. Until now I was only removing the pockets based on the current position of the target ball, and now it has been updated to the maximum x and y coordinates the ball can go after its shot. A different bug I found was when the x coordinates for the balls were the same, the slope was coming out to be infinity which was messing up the entire system and now that has been accounted for. Moreover, with the rewrite of the code, the code is now a lot more readable and portable since I defined macros for a lot of the constants I use to minimize the number of changes that would need to be made in integration with the CV system from Jimmy. I am on track, and my next steps would be integrating my and Jimmy’s CV system and then mine and Justin’s cue system. After that is done, time permitting, I want to look into the option of adding bounce shots (off the railings) and chain shots (hitting one ball into another for the second one to go in).

 



Leave a Reply

Your email address will not be published. Required fields are marked *