To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.javaOpen lugnet.robotics.rcx.java in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / Java / 156
155  |  157
Subject: 
Communication between 2 Robots - Movement transmition
Newsgroups: 
lugnet.robotics.rcx.java
Date: 
Thu, 21 Feb 2002 18:10:12 GMT
Viewed: 
3253 times
  
Hi!

I am a new member of your community, and i would like to ask the following
question. Please excuse me if something similar has been already posted in
the past, but i performed a seach in the previous posts and i did not found
any answer to my problem.

What i would like to perform is the following task:

I have two LEGO Mindstorm robots. I would like the one of them to follow a
line in the floor (les call it "master") and another one ("slave") which
will follows in parallel according to the information’s that will receive
from the master. More specific, the master it will be equipped with a light
sensor in order to recognize the line in the floor. Furthermore, it will
continuously communicate through the infrared port with the slave, which
will not have any sensor at all, in order to guide him for performing
parallel movement. The line it will not necessary be a straight line. It
might have curves or even be designed a combination of curves and straight
lines. The two robots will be placed in parallel at the beginning of the
line. The aim is to cross the line by moving in parallel until the end of
the line. In the case that the line is straight, both robots should move by
the same speed. The tricky part of this task is when there exist curves. In
this case, the slave should increase or decrease the speed in order to
follow the master in parallel.

My main problems are two:

1) How can i transmit the exactly movement that the "master" robot perform
to the "slave" robot in order the slave one to follow it?

2) Does any one know if there exist any mathematical type that i can use in
order to calculate the increasing or decreasing speed of the "slave" robot?


How something like this could be developed in the a JAVA language? If this
could not be implemented in JAVA, is it possible to be developed unter
another language like NQC?

Are there any similar examples where i can consult?

Thank you very much,

Vasilis Papaioannou



Message has 2 Replies:
  Re: Communication between 2 Robots - Movement transmition
 
Hi Vasilis, (...) I think the easiest is to pretend that the same type of communication that you want to have with the slave also goes on within the master. So you need (at least) two threads, one that looks at the line and one that does the (...) (23 years ago, 22-Feb-02, to lugnet.robotics.rcx.java)
  Re: Communication between 2 Robots - Movement transmition
 
I did something simple in my book where each robot had an angle sensor, and could copy each other's 1D movement. Some grad students at Tufts did the same thing with 2 angle sensors on each robot and 2D movement. Both projects also then expanded to (...) (23 years ago, 27-Feb-02, to lugnet.robotics.rcx.java)

4 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