GithubHelp home page GithubHelp logo

ekapus / traincrew Goto Github PK

View Code? Open in Web Editor NEW
3.0 4.0 2.0 42.01 MB

TrainCrew: Do more than run your train. An HTML/JS app to simulate railroad operational tasks.

Home Page: http://traincrew.conrail1285.com/

License: GNU General Public License v3.0

CSS 1.08% HTML 95.89% JavaScript 3.03%

traincrew's Introduction

TrainCrew: Do more than run your train.

This app lets you use a browser (generally recommended on a phone or iPad) to simulate numerous railroad functions that can be performed while running trains.

Current functionality includes

  • Handbrakes: Set and release.
  • Airbrakes: Perform initial, intermediate and continuity tests.
  • Switching: Couple, uncouple, and operate handbrakes.

The "app" is all written in plain HTML (using Bootstrap) and Javascript (using lots of Jquery), so running it and extending it should be relatively easy.

A live version can be found at http://traincrew.conrail1285.com, but you can easily set it up on your own web hosting.

This app was based on ideas from How To Operate a Modern Switching Layout book and the PDC BNML Conductors App.

Questions? Comments? I can be reached at [email protected].

traincrew's People

Contributors

ekapus avatar

Stargazers

Andy Cummings avatar Mark Underwood avatar  avatar

Watchers

James Cloos avatar  avatar Mark Underwood avatar Phil D avatar

traincrew's Issues

Add in three step

From Joe Walder on Facebook:
Oh yeah, don't forget the time for "3-Step." That's the protection the Engineer provides the Trainman, after coming to a complete stop, by fully applying the independent brake (engine brake) & making an application on the automatic brake (depending whether or not you're shifting with air - generally, we don't use air when humping cars - you want them to free-roll after they cut away); centering the reverser on the control stand; & opening (dropping) the generator field breaker on the control stand. All 3 moves brings about the term "3-Step." Other railroads out West have a different term for this (I think UP uses "Red Zone" or something like that), but it's pretty much the same.

Add in switching locomotives.

From Curt Gyker:

"I run a pair of diesels to the end of a branch line end then reverse the consist direction for return. How much time would it take for the engineer to place the lead into slave, turn off the headlight, dismount from the engine and walk to and mount the other engine which will now be in the lead, turn on its headlight and throw the switch to make it the lead in the consist... and then set his wee little hind end into the luxuriously upholstered engineers seat?"

Switching OPS page not working on my phone

I am having an issue running Traincrew on my Samsung Galaxy J7V running Android 8.0.0. Using Chrome to access the traincrew.conrail1285.com page. Teh Handbrake Ops, the Airbrake Ops and Locomotive Inspection & Ops pages are fine. All actions on those pages work. When I try the Switching Ops page, I can click on the different options, highlighting them but nothing happens, no sound and no timer countdown. Any ideas what I might be doing wrong?
Thanks for any help.
Maurice

Turnouts

Would love to see a function where conductor "walks" to turnout, throws it, and "returns" to train

Title and Home Link

The TrainCrew logo and "Home" link both return to webroot instead of the index.html file where TrainCrew is installed.

Add in handbrake test

From Joe Walder on Facebook:

Well, now we have to check the handbrakes to make sure they "hold" (FRA rule). After the Trainman gets "3-Step" & applies the handbrake(s) & DOES NOT TOUCH the angle cock; the Trainman clears the move & drops his/her 3-Step; the Engineer has to charge the brakes back up (full release; flow down); then move the engine either against the cut (if the cars are going downhill away from the locomotive) or stretches the cut (if the cars would roll towards the engine if the car(s) had no handbrake on); then you need wait a minute & if the test is successful, the Trainman gets 3-Step again & then closes the angle cock & then you can cut-away.

Add car inspection

C-100.FREIGHT CAR INSPECTION At each location where freight cars are added to a train which have not been inspected at that point, in addition to making required air brake test, the car(s) must be inspected by the train crew for the following conditions:
(a)Carbody1.Leaning or listing to side. 2.Sagging downward.3.Positioned improperly on truck. 4.Object dragging below.5.Object extending from side. 6.Door insecurely attached.7.Broken or missing safety appliance.8.Lading leaking from a placarded hazardous material car.

(b)Insecure coupling.

(c)Overheated wheel or journal.

(d)Broken or cracked wheel.

(e)Brake that fails to release.

(f)Any other apparent safety hazard likely to cause an accident or casualty before the train arrives at its destination.

When performing inspection of freight cars in compliance with this rule, the train crew member(s) must inspect both sides. If an inspection cannot be safely made of both sides of the equipment because of terrain, a one-side inspection is acceptable. The train may be moved to the nearest available location where the necessary inspection of the opposite side can be performed.This inspection MUST NOT be performed while the freight cars being inspected are moving.NOTE: Employees must not make a Rule C-100 inspection while riding on a locomotive, freight car, caboose or other On-Track equipment..

Page with all the options, not in correct order

Just a suggestion - perhaps a separate page with all the options, and it would be up to the operator to determine the correct sequence. It would be sort of a β€˜test’ to see if one remembers the proper sequence. Going one step further, perhaps a page for each major task - drop off car, pick up car, cross busy street. Then, the operator has to perform each of the steps, in the correct order, without prompting. Once they are finished the task, they find out if they correctly did the steps in the proper order, or if they forgot anything. Thanks for a great program!

Horn and Bell

For those operating DC, rather than DCC, a horn and bell option would seem to fit quite nicely with the rest of the great program

Fast Clock Ratio

Took a look at your app, very nice, good idea. I'd like to suggest that you include a options tab to include some variables to customize the program, particularly the fast clock ratio. Not everyone uses a 4:1 ratio and it would be great to be able to set this to the layout's standard.

Great work!

Move badges into buttons and format

On the various pages with badge countdowns, move the badges inside the buttons and make the buttons full width for a better mobile experience.

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.