Git Product home page Git Product logo

ece_1186_trains's Introduction

ece_1186_trains's People

Contributors

just10ying avatar zoo1 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ece_1186_trains's Issues

Train creation should throw exception if invalid

Summary: When creating a train with invalid arguments the train creation continous without throwing an exception
System Configuration: Zach's Computer
Steps to Reproduce: Create a train with invalid arguments
Expected behavior: Exception thrown
Actual behavior: No Exception thrown

Time Modifier

Summary: time modifier was able to have a value of zero. This is bad for the train model, and I was requested to change this.
System Configuration: Justin's computer, Java 1.8
Steps to reproduce: press the pause button next to "current time," or change the time modifier to 0.
Expected behavior: time modifier should be set to a very small value instead of zero to avoid problems in the train model.
Actual behavior: the value was changed to zero.

Train Model GUI cannot view multple trains

Summary: When selecting a different train in the Train Model GUI the selction does not remain constant and get resets
System Configuration: Zach's Computer
Steps to Reproduce: Use GUI to select a different train
Expected behavior: Train remains selected
Actual behavior: Train does not remain selected

Train Model Eats Resources

Summary: Starting a Train samples every chance it gets, should instead sample every millisecond or slightly less than that
System Configuration: Zach's Computer
Steps to Reproduce: Start up a Train
Expected behavior: resources are conserved
Actual behavior: resources are not conserved

Speed and Authority Updates

Summary: suggested speed and authority were sent as messages to the track controller even when a train was not yet created or the schedule was not yet active.
System Configuration: Justin's computer, Java 1.8
Steps to reproduce: update the suggested speed or authority before executing a schedule.
Expected behavior: no updates to the track controller should be sent before schedule execution starts
Actual behavior: suggested speed and authority are sent regardless of the schedule exeucting.

Suggested Speed Updates

Summary: suggested speed remained the same value even after authority was zero.
System Configuration: Justin's computer, Java 1.8
Steps to reproduce: use MessageTester to send location messages to the CTC server until the authority becomes zero.
Expected behavior: suggested speed should become zero when authority is zero.
Actual behavior: suggested speed retains its value even after the authority decreases to zero.

Destination Update

Summary: Next destination was not being reset on update
System Configuration: Justin's computer, Java 1.8
Steps to reproduce: use MessageTester to send train location messages to the CTC Server
Expected behavior: next destination should be set to the next destination or "None" if a train arrives at a location.
Actual behavior: next destination remains the same.

Train Model should update Train model when GUI creates a new block

Summary: When adding a new block to the train model via the GUI the Train controller does not receive an update message
System Configuration: Zach's Computer
Steps to Reproduce: Use GUI to add new block to train
Expected behavior: Message sent to corresponding Train Controller
Actual behavior: No message sent

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.