summaryrefslogtreecommitdiff
path: root/tests/examplefiles/example.flo
diff options
context:
space:
mode:
authorAnteru <bitbucket@ca.sh13.net>2019-04-30 15:47:45 +0000
committerAnteru <bitbucket@ca.sh13.net>2019-04-30 15:47:45 +0000
commit83e159f05ec8dae7d6e52140b23b363d4c3b18f2 (patch)
tree1fa06af4657f37b48cc798a662a0986fb004ba52 /tests/examplefiles/example.flo
parent836d98cc163ea0dcb1b60ef1e536fdacb351d78a (diff)
parenta0fc52727aaed41c8e09c87996de842117872afb (diff)
downloadpygments-83e159f05ec8dae7d6e52140b23b363d4c3b18f2.tar.gz
Merged in Praetonus/pygments-main/pony (pull request #627)
Add lexer for the Pony language
Diffstat (limited to 'tests/examplefiles/example.flo')
-rw-r--r--tests/examplefiles/example.flo40
1 files changed, 40 insertions, 0 deletions
diff --git a/tests/examplefiles/example.flo b/tests/examplefiles/example.flo
new file mode 100644
index 00000000..2d4ab5e7
--- /dev/null
+++ b/tests/examplefiles/example.flo
@@ -0,0 +1,40 @@
+#example mission box1.flo
+#from: https://github.com/ioflo/ioflo
+
+house box1
+
+ framer vehiclesim be active first vehicle_run
+ frame vehicle_run
+ do simulator motion uuv
+
+ framer mission be active first northleg
+ frame northleg
+ set elapsed with 20.0
+ set heading with 0.0
+ set depth with 5.0
+ set speed with 2.5
+ go next if elapsed >= goal
+
+ frame eastleg
+ set heading with 90.0
+ go next if elapsed >= goal
+
+ frame southleg
+ set heading with 180.0
+ go next if elapsed >= goal
+
+ frame westleg
+ set heading with 270.0
+ go next if elapsed >= goal
+
+ frame mission_stop
+ bid stop vehiclesim
+ bid stop autopilot
+ bid stop me
+
+ framer autopilot be active first autopilot_run
+ frame autopilot_run
+ do controller pid speed
+ do controller pid heading
+ do controller pid depth
+ do controller pid pitch \ No newline at end of file