summaryrefslogtreecommitdiff
path: root/examples/takagi-sugeno/ObstacleAvoidance.fll
blob: 10b53f42410530bfc00e7b398f787aa1e770a316 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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: tsSteer
  enabled: true
  range: 0.000 1.000
  lock-range: false
  aggregation: Maximum
  defuzzifier: WeightedAverage Automatic
  default: nan
  lock-previous: false
  term: left Constant 0.333
  term: right Constant 0.666
RuleBlock: takagiSugeno
  enabled: true
  conjunction: none
  disjunction: none
  implication: none
  activation: General
  rule: if obstacle is left then tsSteer is right
  rule: if obstacle is right then tsSteer is left