Errors:
- collision_error
- -1: no error
- other values: a single track with multiple trains
- train_speed_mismatch_error[NUM_TRAINS]
- -1: no error
- 1: the front and rear wagon have different speeds
- train_point_changed_error[NUM_TRAINS]
- indicates, that a point was changed while the train was standing on it,
i.e., the front passed the point, but the rear not yet. - -1: no error
- other values: the point that has the error
- indicates, that a point was changed while the train was standing on it,
- wagon_error_message[NUM_TRAINS][2]
- -1: no error
- 1: point not set correctly
- 2: wagon uses wrong direction on KH_LN_2 or KH_LN_7, because the corresponding point was set wrongly
- 3: wagon position under min of track
- 4: wagon position over max of track
- wagon_error_pos[NUM_TRAINS][2]
- NOTE: The meaning depends on wagon_error_message.
- if wagon_error_message is 0
- this error can be ignored
- if wagon_error_message is 1 or 2
- the point on which the error occurs
- if wagon_error_message is 3 or 4
- the track on which the error occurs
Environment:
track_contacts: int[NUM_TRACKS][2]
0: no signal
1: forwards
2: backwards
3: uni
cross_contacts: int[]
0: no signal
1: closing
2: opening
...