
www.Usenet.com
| <-- __Chronological__ --> | <-- __Thread__ --> |
I'm not sure how you'd do exactly what you want to do, but in a real world
situation would you even notice if the vehicle always steered to the left
(or always to the right) if it was heading _exactly_ towards a cone?
if you had a rule
if STRAIGHT_AHEAD then STEER_LEFT
then the cone would be avoided, but the influence of the rule would be
insignificant so long as the STRAIGHT_AHEAD set is small enough
Rob
"scooter" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> anyone?
>
> On Tue, 07 Oct 2003 18:47:34 +0530, scooter <[EMAIL PROTECTED]>
> wrote:
>
> >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
> >
> >
> >
> >
>
| <-- __Chronological__ --> | <-- __Thread__ --> |
Please check out one of the premium Usenet Newsgroup Service Providers below for access to Usenet.