Overview - What features and tasks did you work on this past week?
This past week I worked on implementing OSC into Unity. Nicole managed to get the sender side of the project working, sending different types of cases depending on what area of the screen the ir tacker was in, while I tried to implement it into the Unity side.
Failures - What did not work out as planned? Why not? What did you learn and how would you approach it differently next time?
There were a lot of failures this week. The main issue being the conversion between the js files we found to use for the OSC implementation, and the C# files of our own. I spent a lot of time trying to figure out the best way to implement the changes in cases in osc. I started by attempting to simulate keystates within Unity, as they were already implemented with our characters. After finding that this would be a lot of unnecessary work, I implemented a bool statement to set the states of each movement and tried to call them in the cases. But going between js and c#, we found that it interrupted the bool states and changed them so they wouldn't work. So finding that this was failing, I implement a state change by setting an int state, then setting state to equal different values for different cases. But this again came up with an error that I couldn't debug, so I decided to go back to the bool states and see if I could make that work.
With assistance from a peer, we decided to try to change the js code to c# so we'd be able to easily go between the two scripts. We used this and worked on it for a while, implementing the ir tracking into the unity project. We worked on this until Nicole managed to make progress with the original js code, from which I worked on in order to progress towards our final goal.
I learned that transferring data from one scripting language to another is very difficult, and that I still do not understand it. I plan to continue working on this as this will continue to be a problem with our current project, and plan to approach it by asking for more help and doing more research.
Successes - What did go well? What approach(es) did you take?
Not a lot went well this week. We ended up with an almost working code which is great, and we got there by working together to implement research and tutorials into the code we'd created. There are bad weeks and good weeks for progress. This week was good for progress towards our goal. Not as much progress as we want, but progress is still progress. Unfortunately I don't have a lot to show for it since our progress involved a lot of backtracking, but I'm glad we managed to make some improvements.

No comments:
Post a Comment