pistorms-mars-rover
The aim of our project is to simulate the experience of controlling a Mars Rover from Earth using a Lego Mindstorms Robot with an onboard Raspberry Pi. UPDATE - We're going to sleep now - anyone in a different time zone want to carry on the work? Please see below.This project is solving the WebRover1 challenge. Description
We are building on the platform developed by Lego Rovers Devon - see http://fullmeasure.co.uk/legoroversdevon. This is a LEGO Mindstorms NXT-2.0 with a Raspberry Pi attached - we connect to the Pi over WiFi and control the Mindstorms robot 'PiStorms' using the NXT-Python library https://code.google.com/p/nxt-python/
The plan is to develop a server on the Pi which will allow remote control and query of the PiStorms robot, including a delay to simulate the experience of remote control from Earth. We also plan to add some autonomous activities, including a mode to explore the surroundings and scan objects using the ultrasonic range detector.
An additional aim is to expose the interface via a web page, enabling control of the PiStorms robot to be shared be anyone. When multiple users are attempting to control the robot simultaneously, a consensus approach will be used.
UPDATE. We have had some success - please see our twitter feed. We managed to set up a server to run on the Pi and control it via a web interface. The code is available on github. We succeeded in using the ultrasonic range detector to scan a martian rock (or helmet) and visualised the data. We would like to get the code updated to accept commands via tweets to our twitter account. We would also like to add in a delay between posting commands and the robot responding. Can anyone help/update the code? Thanks…..
TODO Update repository to include latest version of server and scan program.
Current status of requests
/forward/ - Move forward
/left/ - Rotate left
/right/ - Rotate right
/stop/ - Currently does nothing (Other actions stop automatically)
/spin/ - Currently not implemented
Curl requests should be made to the serving IP on port 5000 by default
Project Information
License: BSD 2-Clause "Simplified" or "FreeBSD" License (BSD-2-Clause)
Source Code/Project URL: https://github.com/phalt/legoflask
Resources
Lego Rovers Devon - http://fullmeasure.co.uk/legoroversdevon/
PiStorms Mars Rover on twitter - https://twitter.com/pistormsrover
Google Doc containing visualisation of scan data - https://docs.google.com/spreadsheet/ccc?key=0AjMjYjifN8OwdDVUS0dzQldfdFNkWnRrdjgxWGhLN1E&usp=sharing