Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.ai.fuzzy    |    Fuzzy logic... all warm and fuzzy-like    |    1,275 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 55 of 1,275    |
|    scooter to All    |
|    coping with symmetry    |
|    07 Oct 03 18:47:34    |
   
   From: scooter@btopenworld.com   
      
   I'm trying to create a fuzzy controller for a vehicle to enable it to   
   steer around traffic cones. The controller will output a crisp value   
   equal to a steering force. Unfortunately I've run into a problem when   
   creating the rule set   
      
   Let's say I have these simple fuzzy variables:   
      
   DISTANCE_TO_CONE = {CLOSE, AVERAGE, FAR}   
      
   POSITION_TO_CONE = {TO_LEFT, TO_CENTER, TO_RIGHT}   
      
   STEERING = {STEER_LEFT, STEER_FORWARD, STEER_RIGHT}   
      
   now how do I create a rule such that if the cone is directly ahead and   
   close to the vehicle the vehicle will steer to the left *or* to the   
   right?   
      
   It seems that I can only create a rule that makes the vehicle steer   
   in one direction:   
      
   if CLOSE and TO_CENTER then STEER_LEFT   
      
      
   Is there a way I can overcome this problem? Is defining the   
   POSITION_TO_CONE variable as follows a possibility?   
      
   POSITION_TO_CONE = {FAR_LEFT, SLIGHTLY_LEFT, SLIGHTLY RIGHT,   
   FAR_RIGHT}   
      
   If so how would this system then deal with a value equally situated in   
   SLIGHTLY_LEFT & SLIGHTLY RIGHT?   
      
      
   thanks   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca