To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 18718
18717  |  18719
Subject: 
Sword fighting robots
Newsgroups: 
lugnet.robotics
Date: 
Wed, 21 Aug 2002 17:34:18 GMT
Viewed: 
739 times
  
IDEA:

After watching the Tyron Powers version of Zorro, my 7-year-old son and I
would like to make two Lego robots that can sword fight each other.

  To make it harder: They should be autonomous
  To make it easier: They should "cheat" by sending each other messages to
coordinate the action.

In other words, we want them to "stage" fight, not really fight. We imagine
it being very cool to see them fighting very fast.

PROBLEMS:

How can the two robots keep the right distance and orientation from each other?

How can they move their swords precisely?

DETAILS:

    We have two RXC 2.0's. 5 Lego motors (and one homemade one), two light
sensors, 3 touch sensors, 2 light sensors, 1 angle sensor, 1 remote control.
a good collection of regular Technic and regular Legos. If needed, I would
buy more stuff for this project. I'm programming in NQC.

So far, our design gives each robot 3 motors. Two drive motors and one to
raise and lower the sword. One robot has the angle sensor on the sword.

Problem one:
  Even with the angle sensor, I don't know how to move the sword to the
angle I want. My current program just goes until the angle is reached and
then turns off the motor. The sword, however, oven overshoots. We'd be
grateful for tips or pointers on how to do this.

Problem two:
  Ideally, the robots would automatically get themselves facing each other
at, say, 2 inches apart. From this known position, they could do sequences
of moves. Maybe there is some way to use the two light sensors to achieve
this position, but I don't know what it could be. It seems they could look
for the other's light, but they wouldn't know how far away they are. Maybe
there is some design using the light sensors to face each other and the
touch sensors to get the right distance. Anyway, I'm open to any suggestions
on this.

I'm also open to any suggestions on the whole project.

Thanks for any help,

Yours,
Carl

carlk@msn.com



Message has 4 Replies:
  Re: Sword fighting robots
 
(...) Use the light sensors for orientation, and touch sensoer for distance - they can 'poke' each other once at the start of the fight :-> I'd suggest a choreographed fight, with a known sequence of moves, and use touch sensors to detect sword (...) (22 years ago, 21-Aug-02, to lugnet.robotics)
  Re: Sword fighting robots
 
(...) To get more precise (and smoother) positioning, slow down the movement when it starts getting close to the desired position. Motor speed is generally best governed by pulse-width modulation via rapid on/brake switching, although some people (...) (22 years ago, 21-Aug-02, to lugnet.robotics)
  Re: Sword fighting robots
 
(...) I suppose you could use the IR transmitter and light sensor as a rangefinder. Quite a few people have succeeded in getting range measurements using that scheme. If the target is a known colour, that'll make it easier. If the two robots take it (...) (22 years ago, 21-Aug-02, to lugnet.robotics)
  Re: Sword fighting robots
 
"Carl Kadie" <carlk@msn.com> wrote in message news:H17FH7.IAE@lugnet.com... (...) <snip cool idea> (...) other? My first thought is to have each robot search for a colored spot on the floor. The dots would be spaced at the correct distance from (...) (22 years ago, 22-Aug-02, to lugnet.robotics)

5 Messages in This Thread:




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

Custom Search

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