Skip to content

joemirizio/mars-explorer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mars Explorer

Robotic Exploration of the Next Frontier STEM Activity

Build a Raspberry Pi rover and move it around using Leap Motion. The camera feed will detect and identify AR markers which represent resources you might find on Mars.

Prerequisites

Before you begin, make sure you have the required hardware and software.

Hardware

The two basic hardware components are the control station and the rover. The augmented reality markers are optional.

Control Station

The control station is run from a computer. It will work on all major operating systems and can even run on a Raspberry Pi. To open the web interface, you must use a modern web browser. The interface works best on Firefox 45+.

Rover

Each rover should have a:

Once all parts are connected and working, the Raspberry Pi should be turned on and configured based on the next section. For instructions on the hardware setup, please refer to the hardware setup.

Augmented Reality (AR) Markers

Print these markers, ensuring there is a white border around the black square.

Software

Control Station

Rover

These instructions assume you are using the latest version of Raspian.

Setup and Run

Control Station

  • Set computer to use a static IP address (192.168.1.200)
  • Once the control station computer is connected to the internet, run the following in a terminal:
git clone http://github.com/joemirizio/mars-explorer
cd mars-explorer
crossbar start

Rover

  • Turn on the Raspberry Pi and connect it to your WiFi network.
  • Configure a static IP address (192.168.1.20X) where X is the ID of the robot. Refer to this tutorial for detailed instructions. If you choose to use a different subnet based on your WiFi router's configuration, make sure to update the code accordingly.
  • To start, run /home/pi/mars-explorer/bin/run_rover.sh in a terminal.
  • [OPTIONAL] To run the rover automatically on startup, open a terminal and run:
sudo -s "echo '/home/pi/mars-explorer/bin/run_rover.sh' > /etc/rc.local"