mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-01 23:59:12 +01:00
First implementation of graph vehicles
This commit is contained in:
17
tools/vehicle_graph/tests/consist.script
Normal file
17
tools/vehicle_graph/tests/consist.script
Normal file
@@ -0,0 +1,17 @@
|
||||
# events for: -graph-run consist.vhg -script consist.script -consist consist.vhg:r -consist consist-short.vhg -consist consist.vhg
|
||||
# options: -consist consist.vhg:r -consist consist-short.vhg -consist consist.vhg
|
||||
# direction from vehicle 1, then from vehicle 2 (facing the other way)
|
||||
0.5 force dir.q 1
|
||||
1.0 force dir.q 0
|
||||
1.0 force 2:dir.q 1
|
||||
# controller: vehicle 1 drives, vehicle 2 gives a value without driving, then drives as well; vehicle 4 alone
|
||||
1.5 force ctrl.q 0.6
|
||||
1.5 force ctrl_act.q 1
|
||||
1.5 force 2:ctrl.q 0.9
|
||||
2.0 force 2:ctrl_act.q 1
|
||||
2.0 force 4:ctrl.q 0.3
|
||||
2.0 force 4:ctrl_act.q 1
|
||||
# left doors of vehicle 1: the right doors of vehicle 2
|
||||
2.5 force door_l.q 1
|
||||
3.0 force door_l.q 0
|
||||
3.0 force 2:door_l.q 1
|
||||
Reference in New Issue
Block a user