Team Status Report for 11/21

This week was dedicated to the software side of our project, we worked specifically on CV and website. We also did additional testing with hardware components such as the PCB to acquire data for our final presentation/report. We will also conduct additional end-to-end testing to verify that our system meets the requirements for move detection accuracy, illegal move detection, and response latency. 

The risks of integration stand from last week. We will be integrating the hardware and software this coming week. In the case that our PCB doesn’t work with the Jetson we can mitigate it by keeping it with the arduino and just plugging the arduino into the Jetson. We also talked about other pathways for detection other than the CV with our TA last week. We can possibly use the last and current state of the PCB to find which squares have changes, and using that determine if a move is in-process or completed. This does pre-requisite the board being set up correctly initially which was not part of our initial user story, although this can be used as a mitigation path in case our CV doesn’t meet our testing requirements. There have been no changes made to the design, and no updates on the schedule.

As we move to the final integration phase, our main priority is making sure that all hardware and software components are communicating reliably so that we can meet our design requirements. We also plan to prioritize integration testing this week so that any remaining issues can be identified and addressed before the final demo. 

Kevin’s Status Report for 11/21

This week I was mainly focused on the software integration and making sure that the chess logic was correctly handling moves detected from the physical board and ensuring that the software can reliably update the board state. I also looked into making sure that move validation and logging functionality were being handled correctly. I was also working on preparing the software for further integration with the CV system and audio feedback.

Next week, I continue to test with the integration between physical chessboard and software and particularly focusing on the accuracy of the move detection and board-state updates. I also want to make more progress on integrating the CV results into the existing chess logic and verify that the audio feedback provides clear feedback to the users.

At this point, the main challenge is to make sure that all the different software and hardware components work reliably together. Even though the individual chess logic is functioning correctly in the software testing phase, I need to make sure that the system performs as expected when we connect it to the physical board. I will continue to prioritize the integration aspect of the software and hardware.

Team Status Report for 11/14

We have already done the necessary testing of the PCB and have gotten near perfect results on digital board detection, validating our > 98% hall sensor accuracy user requirement. The chess software is mostly based on preexisting libraries which have already been tested, we also observed no issues with making moves solely in software. This validates our 100% illegal move detection user requirement. The next testing step will mainly focus on CV piece detection; since we already have the infrastructure built to capture from the camera on the Jetson, this week we intend on doing a lot of testing and verification of the models we use. 

We also got some good feedback from the interim demo from the use case standpoint. We need to make sure that all aspects of the game can be differentiated by a fully visually impaired user, which includes the pieces. The chess squares already can be differentiated from black and white based on the depth of the square, however, the color of pieces themselves currently cannot be distinguished without visually seeing them. So, some tactile features will be needed on those. To validate these improvements, we will plan to conduct testing to determine if users can correctly distinguish between two sets of pieces without relying on visual information. This will help make sure that the physical board meets the accessibility needs of our intended users. 

Also as we begin to move towards system integration, we will need to do validation across several subsystems. Along with complete system validation tests to check if our latency user requirement is met. The biggest priority will be getting moves to be detected by both the PCB and CV into the chess software, all on the Jetson. This will by far be the main integration challenge, and all the other peripherals on the Jetson will need to be ported to Linux, which we do not foresee to be much of an issue. 

For our upcoming verification and validation testing, we plan to measure the accuracy of each subsystem with specialized tests. For the CV subsystem, we will be comparing the detected chess pieces and their locations against the actual board configuration to determine whether we meet our piece classification accuracy of greater than 98%. We will also be testing different board configurations and lighting conditions to evaluate consistency. For full system integration, we will compare physically executed moves against moves registered by the chess software, including legal and illegal moves. We will also measure the time between a physical move being completed and the corresponding feedback being generated to verify that the system meets our end to end latency requirement of 1.5 seconds. 

The biggest risk will be integration, as we were able to show all main subsystems working as intended in the interim demo. Our main plan for integration will be to get a correct end to end move detection from physical to software working. All other features are of lesser importance and will be integrated later.

One main part of the integration is getting the PCB to work on the Jetson. Currently it works perfectly using the arduino, so we have to transfer the code from C++ to Python so it can work well with the software side. 

No changes have been made to the existing system design from last week. The main focus of the remaining weeks will be integration which we have already mentioned above. Other than that, we need to update all of our previous documentation to reflect the current system design, as it has changed since the design document. 

Kevin’s Status Report for 11/14

This week I worked on preparing the software components for our interim demo on Monday and Wednesday. My main priority was making sure that the chess logic, board-state tracking, and text-to-speech functionality could all be demonstrated together. I also worked on organizing the software workflow so that moves could be processed for the user. Lastly, I made some changes so that the text-to-speech implementation is also adaptable to the Jetson’s Linux environment.

Next week, I will be focusing on integrating the existing chess software with the physical board’s Hall-effect sensors. This involves mapping sensor inputs to individual chessboard squares and making sure that the changes in sensor readings can be translated into valid chess moves. I will also continue to test the move validation and audio-feedback systems, particularly for illegal moves and situations where the detected board states don’t match the expected chess positions.

The main challenge is making sure nothing breaks during integration between the software and physical hardware since the chess logic needs to correctly interpret sequences of piece removals and placements rather than receiving moves directly from the user. Another concern would be ensuring that the board can recover from missed sensor readings or unexpected changes in the board state.

Kevin’s Status Report for 11/7

This week, I was mainly focused on preparing for our interim demo on Monday and also making small changes necessary for the software integration. The main thing was reviewing the digital board-state tracking, move validation, and game logic to make sure that we can demo how our software processes chess moves and updates the board state. Since the hardware integration is still ongoing, I was making sure that we can just demonstrate the core chess functionality independently. Some minor things were also reviewing the software workflow so that I would be able to explain interactions between the software and hardware components.

For next week, we are planning to begin integrating the software with the physical chessboard since we are expecting our hardware components to start coming in. This includes connecting the Hall-effect sensor outputs to the digital board state tracking system and verifying the physical piece movements are correctly being translated into chess moves. As more of the integration starts to happen, I will work with my team to verify or identify any issues affecting the overall system.

The primary challenges are still just coordinating the software integration with the physical hardware. This is because some parts like the PCB were expected to come by the end of this week. We still will be able to show individual components to be working so there are no major issues that we are facing. Overall, some tasks like camera integration, text-to-speech feedback and end-to-end testing are now scheduled for after the interim demo.

Kevin’s Status Report for 10/31

For this week, I was focused on implementing the image to digital board since the move validation and hint is fully functional. OpenCV is utilized to take in an image of the board, which then converts it into an 8×8 matrix. It then loads this matrix into the board state which allows the software to keep track of the current configuration of the physical chessboard. Once the board state updates, the existing python-chess logic can be used to validate moves and provide hints based on the current position. Another point of progress was getting the text to speech feedback system. It announces events in a game that would be relevant for the player to hear. Since we are approaching the system integration phase, I started reviewing how the the sensor events and camera recognition results will be processed to accurately update the digital chessboard.

For next week, I plant to focus on integrating the camera recognition results with the digital board-state tracking system. I also will continue working through connecting the text to speech feedback system with the chess logic so that users can receive audio notifications for leal and illegal moves. My main goal is to establish a reliable connection between the physical board inputs, move validation, and user feedback before we begin full system testing.

One of the main challenges that I anticipate is ensuring that the digital board state stays accurate when receiving inputs from multiple sources which includes the hall effect sensors and camera. Another concern is maintaining the low latency between detecting physical moves and providing audio feedback to the user. To address these challenges, I plan to test integration incrementally and verifying that each detected move is correctly processed before incorporating the full hardware system.

Team Status Report for 10/24

The risks are similar to the ones presented in the previous report. One main risk was the PCB being delayed. Now that it is ordered we believe it will make it in time for the integration & final product, but we cannot guarantee it will be here in time for the interim demo. To not delay integration or demo presentation we will use the 8 digital sensors from testing to set up a sensor row. Using this sensor row we can figure out the integration process between sensor output to jetson, which will then allow us to create the code for sensor routine. So once the PCB arrives we will have the entire integration set up completed and we will only need to solder and connect the pinout. Another risk that can potentially slow down our process is the arrival of the camera. We expect the camera for the Jetson to arrive next week on October 26. Once the camera arrives, the number one priority is to integrate the camera inputs into the Jetson and then to OpenCV. We expect OpenCV to utilize the CUDA compute cores on the Jetson, and it’s important to have that working as soon as possible. For now, we are testing individual components separately, making sure that they work on their own before we move onto integration. This will help us understand the root of the issue if there is an issue with integration. 

We have decided to go with 3D printing out the chess pieces rather than ordering them. Due to the price of the PCB board we decided to decrease the size of the PCB board and hence decrease the size of the entire chess board. In order to get pieces that perfectly fit our new board we decided to 3D print them. Since we have robo-club access we will be printing these for free, so our cost in terms of money decreases, but the cost in terms of time spent increases. The 3D printing should be complete by the end of next week.

This additionally added a task to our schedule. The updated schedule with all the addition tasks are shown below: 

Kevin’s Status Report for 10/24

This week I continued to work on the software development of the project and i started focusing on implementing move logging and preparing our existing software components for system integration. Based on our current schedule I will start working through recording the chess game moves using PGN which lets us maintain a history of the moves of a game being played. This is important since the system needs to accurately track the state of the chessboard and provide users with reliable feedback as the game progresses. I was also looking into how different software components will all integrate together like the digital-board state tracking, move validation, and Stockfish integration. This leads to the main challenges of preparing the software integration for the hardware components. Since our project will be relying on Hall-effect sensors to detect piece movement, we need the software to be able to correctly interpret changes and determine if a valid chess move has happened. Also, another challenge is accounting for situations where the detected board state doesn’t match the expected game state. For example, if a player accidentally moves a piece to the wrong square or if a sensor fails to detect a change, our software needs to recognize the discrepancy without updating the game state. This means that there needs to be coordination between the board-state tracking system and move validation.

For next week, I plan to work with my teammates to connect the game logic to the feedback mechanisms which include the audio instructions and visual indicators. I also plan to keep testing move validation and logging components to ensure that they remain reliable during the actual gameplay. For now, I am on schedule with my current progress. However there are some concerns with the integration timeline since there is a slight delay with the PCB manufacturing delay and the camera delivery date.

Kevin’s Status Report for 10/10

For this week’s progress report, I continued to develop the digital board-state tracking system responsible for maintaining the current configuration of chess pieces and updating the board after each move.  I also worked on integrating the python-chess library with the board-state tracking logic to check for legal moves and invalid board-states transitions. I was also focusing on structuring the software so that the CV outputs can be translated into board-state changes which then can be processed by the chess logic.

One challenge that I faced was making sure that the digital board state can accurately see the changes detected by the camera. This can come from when it tries to distinguish valid moves from incomplete / incorrect piece detections. Since the camera and Hall-effect sensor system are still being developed, the testing relies on the simulated board-state inputs than from the actual integrated system.

For next week, I will continue with refining the integration between board state tracking and python-chess to make sure that moves are being correctly checked and reflected on the digital board. I will also start implementing the Stockfish integration to provide move suggestions and board analysis. Another main thing would be to get the computer vision to begin detecting piece positions and board changes which also will be integrated with the game logic.

Kevin’s Status Report for 10/3

For this week’s progress, I continued with developing the board-state software. I mainly worked on representing the physical chessboard as a digital 8×8 state and I also worked on developing the logic behind comparing a previous board state with an updated state. Since the camera is currently available, I have been working with simulated board inputs to test the board-state tracking logic and made sure the software can correctly identify piece movement. I also made some progress organizing the software so that the board-state tracking can connect directly with the camera/OpenCV pipeline and python-chess move-validation system.

As of now, I feel like the project is currently on schedule with the software development side. Right now, board state tracking is most likely the most important task to complete. The main risk that has come up is just not having the hardware at the moment so I am not able to test using real images. While I used simulated boards, it could turn into a potential problem if the simulated board and images do not work the same.

For next week, I want to plan on integrating the board-state tracker with python-chess so that detected board changes can be translated into chess moves and then we can check for move legality. I will also continue using simulated move sequences to test normal moves and invalid board changes. If the camera is available, I can begin connecting the software framework to the actual camera capture and calibration pipeline.