| | Communication between 2 Robots - Movement transmition
|
|
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 (...) (23 years ago, 21-Feb-02, to lugnet.robotics.rcx.java)
|
|
| | 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
|
|
Hi Vasilis and Jürgen, I think it can be done with only 1 thread in each. In my Java line follower, the main loop reads the light sensors (I use 2) and issues commands to the two motors. It should be possible to encode the commands into a byte and (...) (23 years ago, 23-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)
|