Building the e4-Rover Mars Challenge
Join the DZone community and get the full member experience.Join For Free
the eclipsecon e4-rover mars challenge is coming together very nicely. it is turning out to be an impressive use of eclipse technology, including e4, equinox and equinox in the cloud. i had the chance to interview jeff norris from nasa and boris bokowski an e4 and platform committer. i asked them to described the e4-rover architecture; you can l isten to the conversation here.
for those that rather read than listen, here is a summary:
- a lego mindstorm robot will be setup in an arena at eclispecon. there will be 4 rfid tags around the arena and two rfid readers on the robot. the goal is to drive the robot around the arena to different tags, to collect points.
- the robot will be controlled by a local server application based on equinox running on a mac laptop located next to the arena.
- the local equinox application will communicate with another equinox based application hosted on amazon ec2. the equinox application on ec2 receives and forwards commands from an e4 client that is to be used by the players. the equinox application on ec2 receives a video stream from the arena, so players can control the robot from anywhere. in fact, as a test i have driven the robot located in los angeles from ottawa. the ec2 based equinox applications also manages a queue for players waiting to drive the robot and keeps track of the scoring. the great thing about having this on ec2 is that it is fully load balanced and will easily scale up in case lots of people start playing.
- the players will be using a desktop client built on e4. one of the main goals of the contest is to introduce developers to e4. the client will consist of a set of views that show the video image, provide controls to drive the robot, scoring information and the player queue. besides collecting points during the game, players are also asked to enhance the client to make it look nicer and make it easier to collect more points. below is a screenshot of the client. the intention is to have the client code available in the next couple of days.
jeff and boris do a much better job of explaining the architecture, so give it a listen.
we also have been lucky enough to get some great prizes for the winners. lego has donated two mindstorm nxt 2.0 robotic sets, amazon has donated credits for aws and nasa and the eclipse foundation will help organize a trip for one person to visit the nasa jet propulsion lab in los angeles. it should be lots of fun.
see you at eclipsecon.
Opinions expressed by DZone contributors are their own.