This weekend I spent a lot of time looking into how Steve and Kratz communicated with the track to get sensor information. I also worked on adding trains and how requesting would be done. From this, I'm now able to add a train to the track and associate it with a particular color if the track is available. I now just need to work on requesting track while things move, take care of blocked trains, and monitor sensor hits.
I looked into sensor information but was unable to get much to work and I think I may have to take over direct communication with the track instead of having Kratz's old code do this.
Here's a list of things I wanted to do and their current status':
- Fix broken turnout - DONE
- Review collision logic and implement more of the structure - DONE
- Work on utilizing previous code and communicate with track
> Get sensor information - IN PROGRESS
> Be able to change the turnouts - DONE
- Do further work on interfaces and how different actions will effect them - IN PROGRESS
- Go over Timeline and create more real goals - DONE but task list will be formed each week
- Document work and start work on a user guide - STARTED/IN PROGRESS
- Document how to re-program switchits for other users on this project - DONE
>
Image for programming
>
Manual
Below if a new list of things that I want to do this week:
- Begin working on client interface and communicating with server
- Finalizing adding and removing trains
- Change it to only allow client connections if a train is available
- Figure out sensor communication and testing
- Add new colored images for multiple trains
- Work on new track requests for trains