I've been reading a book called The Robot Builder's Bonanza, and in that book there is a short chapter called Multiple Robot Interaction. One of the methods mentioned is a Queen/Drone type, where one robot tells the other robots what to do.
Suppose I want to program something like that. But how would I make them able to communicate with each other, without any other robots but the queen's drones picking up on the communication, i.e. avoiding interference or having other robots act in ways they aren't supposed to. The only way I've been able to think about is through internet or local networks, assigning each robot with a unique IP address in the 192.168 range. But that limits the number of robots quite a bit, and it seems like overkill for this situation.
So what programming techniques or algorithms are used for multiple robots communicating?
Programming interactions between robots
Started by ThemePark, Jun 23 2009 05:01 PM
3 replies to this topic
#1
Posted 23 June 2009 - 05:01 PM
|
|
|
#2
Posted 23 June 2009 - 08:04 PM
You could use a database have a "to" field basically like a PM system. Assign each robot a name.
Do you already have some bots I am sure if you posted some code we would love to digest it.
Do you already have some bots I am sure if you posted some code we would love to digest it.
#3
Posted 24 June 2009 - 02:24 AM
No, I haven't actually made any bots. Right now I'm just in the learning phase. But how exactly do I send and receive information between robots? How could I program "Send this information to the robot by this name"?
Edit:
Come to think of it, there's Bluetooth and infrared connections, which I assume, don't use an IP address. But then the question is, which is better, or more commonly used?
Edit:
Come to think of it, there's Bluetooth and infrared connections, which I assume, don't use an IP address. But then the question is, which is better, or more commonly used?
Edited by ThemePark, 24 June 2009 - 03:25 AM.
#4
Posted 24 June 2009 - 05:19 AM
Ir is unidirectional and has a connectivity range of about a meter. Bluetooth is omnidirectional and has a connectivity range of about ten meters. Bluetooth was invented to solve many of the issues associated with IrDA like the two mentioned above. From my experience, Bluetooth is harder to work with though it does provide some benefits over Ir. If you only need unidirectional (Queen to Drone) and only intend on the drones operating within a meter of the queen, make your life easier and use Ir.


Sign In
Create Account


Back to top










