At times I seem to get fixated on making a cab view control and to date I have made five such cab controls, each time with different technology, and each time it gets a bit better.
My first effort was built into the train control software.
And now, I have made one that runs on a phone (and Windows) using AppGameKit
This version has a better speed display, in addition to the track speed limit and current desired speed of the train, speeds above the speed limit of the (lead) locomotive are shown in red. The speedometer scale also changes dynamically according to the maximum speed of the current locomotive.
As before, all available digital functions can be invoked by buttons, but now the buttons also make a realistic click sound. It also superimposes signals onto the track image. When one touches any control in the cab, the image outside the window goes out of focus for half a second to simulate the depth of field of the driver's vision.
It now also features a cab window frame with windscreen wiper.
The Locomotive name and current odometer is also displayed. The odometer changes as the train travels about and is an actual distance covered by that model, accumulated over the years.
Oh, and it can also announce destinations etc. in German. When the train being viewed is dispatched there is a voice announcement stating that the driver has permission to start and what the destination is. If a trip is cancelled, that is also announced.
When the train has been dispatched, the desired speed is indicated with a yellow marker on the speedometer, and also presented (below the digital speed indicator) in yellow. 84Km/h in this example:
As before, it can also:
- Turn layout track power on and off
- Disable unexpected train alerts
- Pick any train and dispatch it to any destination.
- Trigger any event in the train control software
- Set any accessory address to red/green
- Monitor any sensor address
The track images are cached on the phone. If the software is directed to use an image it does not have, it fetches the image from the Bw software. It can also request all the images for all tracks and caches those for instant loading as needed.
It is based on the RemoteSign command set, communicating with my Bw train software over the network.
I might add the Buchfahrplan information display so the person driving the train sees the prototypical journey information as they progress along their trip.