-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleanup CLI and start dockerized integration tests
- Loading branch information
Arian Weber
authored and
Arian Weber
committed
Feb 8, 2024
1 parent
0d74e6c
commit cf5a705
Showing
3 changed files
with
135 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
#################################################################### | ||
# Model definition | ||
#################################################################### | ||
|
||
model :RailroadCrossing do | ||
|
||
#################################################################### | ||
# Train Components | ||
#################################################################### | ||
|
||
# Train environment representing the actual physical train | ||
graph :EnvTrain do | ||
# velocity & position | ||
end | ||
|
||
# Position sensor of the train | ||
graph :SensorTrainPosition do | ||
states :idle, :send_close_msg, :send_is_closed_msg | ||
|
||
end | ||
|
||
graph :SensorTrainRadioModule do | ||
|
||
end | ||
|
||
# Actuator to | ||
graph :ActTrainBrake do | ||
states :idle, :active | ||
end | ||
|
||
graph :CtrlTrain do | ||
end | ||
|
||
#################################################################### | ||
# Crossing Components | ||
#################################################################### | ||
|
||
graph :ActBarrierMotor do | ||
var motor_speed: [-1, 0, 1], init: 0 | ||
|
||
states :idle, :opening, :closing | ||
|
||
|
||
end | ||
|
||
graph :CtrlCrossing do | ||
end | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
graph :WingControl do | ||
|
||
end | ||
|
||
|
||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters