diff options
author | Johannes 'josch' Schauer <josch@debian.org> | 2019-01-27 13:56:24 +0100 |
---|---|---|
committer | Johannes 'josch' Schauer <josch@debian.org> | 2019-01-27 13:56:33 +0100 |
commit | 6ce553563bc795f389f639a3a8cdfe356de71441 (patch) | |
tree | da4c9ede3087ca534d93bc1ac5a14f044f036600 /examples/mamdani/ObstacleAvoidance.fll | |
parent | bbefa170378553e5a6e0d72e4d52328b61f3e8ac (diff) |
new upstream version 6.0
Diffstat (limited to 'examples/mamdani/ObstacleAvoidance.fll')
-rw-r--r-- | examples/mamdani/ObstacleAvoidance.fll | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/examples/mamdani/ObstacleAvoidance.fll b/examples/mamdani/ObstacleAvoidance.fll new file mode 100644 index 0000000..a47f1b4 --- /dev/null +++ b/examples/mamdani/ObstacleAvoidance.fll @@ -0,0 +1,25 @@ +Engine: ObstacleAvoidance +InputVariable: obstacle + enabled: true + range: 0.000 1.000 + lock-range: false + term: left Ramp 1.000 0.000 + term: right Ramp 0.000 1.000 +OutputVariable: mSteer + enabled: true + range: 0.000 1.000 + lock-range: false + aggregation: Maximum + defuzzifier: Centroid 100 + default: nan + lock-previous: false + term: left Ramp 1.000 0.000 + term: right Ramp 0.000 1.000 +RuleBlock: mamdani + enabled: true + conjunction: none + disjunction: none + implication: AlgebraicProduct + activation: General + rule: if obstacle is left then mSteer is right + rule: if obstacle is right then mSteer is left
\ No newline at end of file |