Surveyor Robotics Journal |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Surveyor Corporation home page
Subscribe to a syndicated RSS feed. Archives |
Sat, 07 Oct 2006 more SRV-1 "swarm mode" adventures ... After starting to consider how to employ IR beacons for localization and navigation in a multiple robot environment, we recognized a benefit to assigning specific ID's instead of random ID's to robots that were acting as beacons, as that would give us control over the positioning of the beacons. Fortunately, there's a convenient mechanism on the SRV-1 controller which enables us to assign fixed addresses using some of the unassigned i/o pins. As seen in the photos below, we added 2.7k-ohm pull-up resistors to some of the robots to connect any combination of E5 E6 E7 and E8 pads to the +3.3V connection on the right rear edge of the controller. Basically, this gives us 4 bits of addressing (16 combinations), though 0x00 (no connection) is a reserved address. As you can see in the first photo, we've connected E5 to +3.3V through a 2.7k resistor, and when we read the data bits, we find that this robot has been assigned ID = 0x01.
With a second robot, we connected E6 to +3.3V through a 2.7k resistor, which provides this robot with a fixed ID = 0x02.
Robots that don't have fixed ID's are still assigned a random ID, as described earlier. Beyond this, we added commands to enable/disable a beacon transmit (xmit) function and commands to enable/disable a beacon locate function. Putting this all together with the "swarm mode" addressing functions, we have a control mechanism that provides a lot of flexibility without a lot of complexity.
Here's a 600kb Quicktime clip of 4 SRV-1's operating in close proximity in "wander mode", where the robot (0x01) in the lower right of the video has been designated as the beacon, and the other robots have been instructed to locate the beacon. As before, the robots are controlled by a single base station on a common radio channel using the new "swarm mode" commands. You can click on the screen shot to launch a viewer - Posted Sat, 07 Oct 2006 22:02 | HTML Link | see additional stories ... |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||