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/hybrid/ObstacleAvoidance.fis | |
parent | bbefa170378553e5a6e0d72e4d52328b61f3e8ac (diff) |
new upstream version 6.0
Diffstat (limited to 'examples/hybrid/ObstacleAvoidance.fis')
-rw-r--r-- | examples/hybrid/ObstacleAvoidance.fis | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/examples/hybrid/ObstacleAvoidance.fis b/examples/hybrid/ObstacleAvoidance.fis new file mode 100644 index 0000000..1bf0476 --- /dev/null +++ b/examples/hybrid/ObstacleAvoidance.fis @@ -0,0 +1,43 @@ +#Code automatically generated with fuzzylite 6.0. + +[System] +Name='ObstacleAvoidance' +Type='hybrid' +Version=6.0 +NumInputs=1 +NumOutputs=2 +NumRules=4 +AndMethod='min' +OrMethod='max' +ImpMethod='prod' +AggMethod='max' +DefuzzMethod='centroid' + +[Input1] +Name='obstacle' +Range=[0.000 1.000] +NumMFs=2 +MF1='left':'rampmf',[1.000 0.000] +MF2='right':'rampmf',[0.000 1.000] + +[Output1] +Name='mSteer' +Range=[0.000 1.000] +NumMFs=2 +MF1='left':'rampmf',[1.000 0.000] +MF2='right':'rampmf',[0.000 1.000] + +[Output2] +Name='tsSteer' +Range=[0.000 1.000] +NumMFs=2 +MF1='left':'constant',[0.333] +MF2='right':'constant',[0.666] + +[Rules] +# RuleBlock mamdani +1.000 , 2.000 0.000 (1.000) : 1 +2.000 , 1.000 0.000 (1.000) : 1 +# RuleBlock takagiSugeno +1.000 , 0.000 2.000 (1.000) : 1 +2.000 , 0.000 1.000 (1.000) : 1 |