Created
March 5, 2019 20:19
-
-
Save ddefb/4dd24d17e51c0b479784f01a30b34264 to your computer and use it in GitHub Desktop.
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
node obstacle(dist: int) returns (obs: bool) | |
let | |
automaton | |
state OBSTACLE do | |
obs = true; | |
unless (dist > 45) then NO_OBSTACLE | |
state NO_OBSTACLE do | |
obs = false; | |
unless (dist <= 45) then OBSTACLE | |
end | |
tel |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment