
www.Usenet.com
| <-- __Chronological__ --> | <-- __Thread__ --> |
scooter <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>... > On Tue, 14 Oct 2003 10:59:20 +0100, "Rob Agar" > <[EMAIL PROTECTED]> wrote: > > >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 Another way to handle this might be rules using NOT (condition), something like: if STRAIGHT_AHEAD and NOT LEFT then STEER_LEFT if STRAIGHT_AHEAD and NOT RIGHT then STEER_RIGHT if NOT RIGHT and NOT LEFT then STEER_RIGHT William Siler
| <-- __Chronological__ --> | <-- __Thread__ --> |
Please check out one of the premium Usenet Newsgroup Service Providers below for access to Usenet.