- Difficult to get into the code
- Editing 3 bits of code that work together makes it difficult to test in stages
- Trying to keep the functionality of the original code as well as adding new functionality (backwards compatibility)
I was doing:
- Adding a variable to the fiducialdata type so that I knew whether it was being added, removed or moved
- Adding all the added, moved or removed markers to one eventtracked list
- Going through the eventtracked list and if the variable was added, removed or moved I'd emit <Added id=3...> or equivalent.
Having talked with Enrico I'm going to do:
- Instead of adding a variable I'll now make 3 lists. Each list will hold either added, removed or moved markers.
- These will then be sent along with the original marker information in the format <frame><marker>(original marker info)<added><marker>(added markers)</added>etc...</frame>
- In my client application I will then ignore all but the markers that are in added, removed or moved.
No comments:
Post a Comment