1 / 7

CCR Simulator- Walkthrough

CCR Simulator- Walkthrough. CSCI 460- Spring 2012 Kayla Pope 3/5/2012. Project Definition (Brief). Design track definition program Support protocol for decoders and Auxiliary Input Units from National Model Railroad Assoc. Develop API functions that match protocol for existing CCR functions

tori
Télécharger la présentation

CCR Simulator- Walkthrough

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CCR Simulator- Walkthrough CSCI 460- Spring 2012 Kayla Pope 3/5/2012

  2. Project Definition (Brief) • Design track definition program • Support protocol for decoders and Auxiliary Input Units from National Model Railroad Assoc. • Develop API functions that match protocol for existing CCR functions • Develop graphical interface • Simulator supports multiple trains • Simulate error conditions (crash, train failure, etc.) • Modify 2010 CCR to run in real or simulator mode

  3. Beginning Research • Browsed Brice Hilgemann’s website • Initially focused on “basics” of it • Printed off his code • Looked for underlying data structures- haven’t really figured them out • Decided against creating “plug-in” program • Makes project more flexible • Means I must create simple user interface • Began playing with actual train • Not fully functional, but at least somewhat works • Haven’t seen it work with Brice’s project yet

  4. Cont’d Research & Design • Several short meetings with DCP and Dr. McVey • Decisions on track design program • User can: • Click points to create track • Drag “curve” points to create desired curves (in edit mode) • Data structure for “segments” • Will help with moving train along • Timer object to control speed • Timer tick shorter=faster speed • Speed limits??

  5. More Design Issues • Graphical Freedom given to user? • How to give freedom to create desired look • Document Object set up • Allows for user interface to change • Have not yet implemented this • CSCI 350 alum—is it difficult to implement after program is created? Should I do this before moving forward?

  6. Program Demo • VERY rough • Next up: • Create class to allow entire track to be redrawn • Need to know the “type” of point • Restrict points that can be moved • Knowing point type will help • Implement document object? • Redraw curve WHILE dragging?

  7. Suggestions Regarding… • track designer program • how to put in enough time • anything else! Thank you!

More Related