Take a look at
Membership Functions

4 Inputs
Input Symbol
Distance from robot to the waypoint
Distance from robot to the closest obstacle
Angle between robot and obstacle
Angle between waypoint and obstacle
4 Outputs
Output Symbol
Behavior coefficient of FIS for go_to_waypoint behavior
Behavior coefficient of FIS for avoid_obstacle behavior
Behavior coefficient of FIS for wall_follow behavior
Behavior coefficient of FIS for wander behavior






, and