To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 3751
3750  |  3752
Subject: 
RE: issues with 6-legs bot
Newsgroups: 
lugnet.robotics.rcx.legos, lugnet.robotics.rcx.robolab
Date: 
Thu, 20 May 2004 14:00:08 GMT
Viewed: 
8233 times
  
Hi Steve,

Thank you very much  for your put!

Am I correct in thinking the two front, and two back legs
don't move, only the middle two?

That's a nice, simple design.


Can't take the credit.  I got the idea from the Sato book, instead of 4
legs, I thought the 6 legs are much more stable.


start Loop
  if-left light sensor=dark (less than threshold) -> reverse
left motor
                       else -> forward left motor
  end if block

  if-right light sensor=dark -> reverse right motor
                       else -> forward right motor
  end if block
end loop (jump to start)


That's pretty much what I did initially, except I used to put in "wait" time
and stops.  By simply removing all the "stop"s and reduce the wait time, it
works quite well on  a simple line tracking test.    Thanks for your input.


I multitask the light sensor readings because there may be times like the
following:

-   right light sensor<= threshold ->
       | <       making      slight       right         turn       >|
                (during this movement)
       | < some slipping condition happens!                >|
       | <  left light sensor across the the black line  >|
       | <  but did not get to read it yet                         >|
- now both front legs(sensors)  of the bot go over to the white area...
- picture this:  [] = the black line;  b = back legs;  f=front legs; L=
light sensors

      []
      []    f L
  b  []           L f
     b  []
- it keeps walking straight forward instead of making a left turn back on
track.
- in other words, I am trying to program it for more fault tolerant.


As it turns out, the minor problem is harder to resolve.  The
bouncing is common with walking robots.  One way to minimize
the problem is to start with the light sensor mounted higher.
Then, the difference between the two readings will be less.
(but will still exist)

Moving the sensor like this can cause other problems.  The
sensor will be more subject to ambiant light changes (like
the robot casting a shadow around the line).


I was going to build the light sensors on a pivot wheel construction which
rests on the platform, very much like what Scott Davis mentioned.  I
wondered if there was anyone trying that before.

--
Thanks,
E



Message has 1 Reply:
  Re: issues with 6-legs bot
 
(...) Your approach is pretty common. As it turns out, you can (should) remove the wait time, also. Many people think they need to tell the robot how long to turn, or how long to go forward. It's like driving down the road in a car. You don't look (...) (20 years ago, 20-May-04, to lugnet.robotics.rcx.legos, lugnet.robotics.rcx.robolab)

Message is in Reply To:
  Re: issues with 6-legs bot
 
(...) Am I correct in thinking the two front, and two back legs don't move, only the middle two? That's a nice, simple design. And you have two light sensors, and your goal is to keep them on either side of the line, right? (...) If I understand (...) (20 years ago, 19-May-04, to lugnet.robotics.rcx.legos, lugnet.robotics.rcx.robolab)

5 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR