Pretty stressful, hardcore working day. Morning, afternoon, and evening was dedicated to robotics code. I worked on the code in the early morning, late night, during meals, and during all the classtime we had.
Finally got the bug fixed - we suspect it's a robotc bug. Dr. Dad-del helped us by pointing out that the error might have resulted from placing operations (subtraction, addition, etc) within array arguments. After doing some susbstitution, everything worked out fine (I hate robotc, pointers, and arrays with a burning passion now).
Anyways, we're mostly done with our code, we just need to finish writing the heuristic for our minimax algorithm. We need to check for a specific configuration of two 3 in a rows - I can probably finish this tonight. Meanwhile, in class we calibrated all the encoder values and tested the program with everything except the algorithm (thankfully, it works!). The robot senses the piece, picks it up, finds the opponent piece in the board, and checks for winners properly. Hopefully our algorithm will be finished soon and won't have too many errors! We're at around 1,100 lines right now and we don't exactly want to debug that.
After lunch, we had a DLS on the dark universe. I personally thought this talk was most interesting, and I learned quite a bit about the discovery and existence of dark matter and energy. We learned more about the speaker, Tony Tyson, and his project of a telescope which will be able to map out dark matter and essentially the universe within 3 years.
Tomorrow's our last working day - we're hoping to test and debug the algorithm, make sure the entire program runs properly, and finish the poster and presentation.
Finally got the bug fixed - we suspect it's a robotc bug. Dr. Dad-del helped us by pointing out that the error might have resulted from placing operations (subtraction, addition, etc) within array arguments. After doing some susbstitution, everything worked out fine (I hate robotc, pointers, and arrays with a burning passion now).
Anyways, we're mostly done with our code, we just need to finish writing the heuristic for our minimax algorithm. We need to check for a specific configuration of two 3 in a rows - I can probably finish this tonight. Meanwhile, in class we calibrated all the encoder values and tested the program with everything except the algorithm (thankfully, it works!). The robot senses the piece, picks it up, finds the opponent piece in the board, and checks for winners properly. Hopefully our algorithm will be finished soon and won't have too many errors! We're at around 1,100 lines right now and we don't exactly want to debug that.
After lunch, we had a DLS on the dark universe. I personally thought this talk was most interesting, and I learned quite a bit about the discovery and existence of dark matter and energy. We learned more about the speaker, Tony Tyson, and his project of a telescope which will be able to map out dark matter and essentially the universe within 3 years.
Tomorrow's our last working day - we're hoping to test and debug the algorithm, make sure the entire program runs properly, and finish the poster and presentation.