TE2ax2C: Testunde-Electric 2x two-axle (driven), Compact
Mass: 7661.246094
Cost: $76298
==> Controls (in Cockpit seat):
[a]/[d] Target Speed
[w]/ Manual Throttle
[space] Emergency Brake
[1] Toggle Rail Interlocking (RF-limited range)
[2] Engage Speed Control
==> Features:
- Separated auxiliary and main circuits with breakers (Aux. Battery with automatic charging from main circuit)
- Speed Control ([a]/[d]+[2] keys in cockpit seat)
- Manual Throttle available ([w]/
keys in cockpit seat)
- Map View via HUD, Zoom, centred on current position, directional indicator (towards forward direction )
- 2x large Main Batteries for operating 1x medium electrical motor driving 2x two-axles
- Light controls: interior, backpanel illumination, exterior lights
- Anti-Wheel-Slip controller (with non-working edge cases :D)
- Automatic Back/Front Light swapping depending on direction of travel (Lights between connected Wagons are Off)
- Throttle Reset
- Hand-/Emergency Brake
- Reverse-Camera (pitch can be set in editor)
- Battery Charge Indicators
- Equipment Compartment (see screenshots)
- Rail Interlocking Toggle ([1] key in cockpit seat)
- Main-/Side-Panel Tilt adjustment
- Diesel-Generator as a separate Wagon, controllable from the Cockpit; once activated, automatically charges depending on the indicative battery-charge being charged from the main circuit
==> Boot-Up Sequence:
- Activate aux+main breakers (back rooms)
- Get in the Cockpit
- Release Handbrake
- Use manual Throttle or Speed Control for driving forwards(+)/backwards(-)
- randomly click buttons to see what they do :D
==> Things to Consider:
- Wagon-connection does not follow any community standard, thus it's my own. The Diesel-Generator wagon is a minimalistic example of using the protocol (see section below).
- You'd better crouch when moving around inside, as it is cramped and some blocks have weird hitboxes.
- The purple boxes (in between the ground layers) are the controlling elements (logic+mictrocontrollers) as it was easier to build that way. (if it's too ugly, repaint by replacing color)
- The map's direction marker is regarding the vehicle's front view.
- The Brakes are fully pulled when spawning, and for the wagon also when there is no connection.
==> Wagon Electrical-Connection Protocol (Composite Channels):
(W = Write = composite channel gets written by wagon)
(R = Read = composite channel gets read by wagon)
General Wagon Control (1-10)
Reserved for all-Wagon Controlling by the driving train.
1 (number, R/W): directional Wagon Count, meaning every wagon counts +1 from back to front and vice versa. That way, at the end of the chains, one can determine how many wagons are connected (or added when in between)
2 (number, R): Independent Brake (0.0 to 1.0)
3 (bool, R): Exterior-Lights On/Off, actual back/front light control is done via microcontroller + directional linear speed sensor
4-10: reserved (not used (yet))
Specialized Wagon Control (11-32)
These can be used depending on the context. The following mapping is regarding to the Diesel-Generator Wagon:
11 (bool, R): Activate Engine, keep TRUE to keep on
11 (bool, W): TRUE = Engine is on
12 (number, W): Generator Output
13 (number, W): Engine Temperature
14 (number, W): Tank Level (in Liters)