TOP Contributors

  1. MIKROE (2762 codes)
  2. Alcides Ramos (374 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (90 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (139251 times)
  2. FAT32 Library (71748 times)
  3. Network Ethernet Library (57120 times)
  4. USB Device Library (47430 times)
  5. Network WiFi Library (43082 times)
  6. FT800 Library (42403 times)
  7. GSM click (29835 times)
  8. mikroSDK (28077 times)
  9. PID Library (26885 times)
  10. microSD click (26198 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Project

Mission Control for Raspberry Pi

Rating:

5

Author: Andrew Hazelden

Last Updated: 2016-02-17

Package Version: 1.4.2.0

Category: GPS

Downloaded: 976 times

Followed by: 4 users

License: MIT license  

Mission Control is a ground station program that allows you to plot the GPS based latitude, longitude, and altitude of your Raspberry Pi using a MikroElektronika GPS Click Board. The program has a graphical dashboard, and supports sharing the GPS position data via the internet using a Google Earth KMZ file.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "Mission Control for Raspberry Pi" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "Mission Control for Raspberry Pi" changes.

Do you want to report abuse regarding "Mission Control for Raspberry Pi".

  • Information
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
Other ARM Compilers
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Project Blog

The live data for Mission Control is provided by a MikroElektronika GPS Click board that is connected to the Raspberry Pi via a USB connection on /dev/ttyACM0.

Mission Control Dashboard

Mission Control Dashboard

The Mission Control Dashboard Updates in Real-time

View full image
The Live Dashboard View on Raspbian

The Live Dashboard View on Raspbian

You can track your position in real-time using Mission Control's SDL based dashboard display.

View full image
Firefox Google Earth WebView

Firefox Google Earth WebView

If you have the Google Earth WebView plugin installed you can track the Raspberry Pi in a remote web browser.

View full image
Google Earth Tracking

Google Earth Tracking

Mission Control also provides a KMZ export file that can be used in Google Earth. The KMZ file has a snapshot of the graphics dashboard and a waypoint log of the GPS Click's trail. The KMZ export is updated every 10 seconds.

View full image

Installation
Once you unpack the Mission Control archive  you can install the software by running:

      sudo sh ./install.sh  

This will copy the Mission Control software to the /opt/missioncontrol/ folder. The installer adds the SDL libraries and Apache using apt-get. This installer package is designed to be used with Raspbian.

The Apache web sharing folder is located at:

    /var/www/  

For this demo the raspberry pi should have the IP address set to 192.168.1.137 If you want to use a different IP address you need to update the address stored in the HTML file:

      /var/www/index.html  
    
You also need to update the Raspberry IP address stored in the kml file:

    /var/www/link.kml

A MissionControl.desktop shortcut is placed in the /home/pi/Desktop folder. The desktop item makes it easy to run Mission Control. The Mission Control program will launch and connect to the GPS Click via the /dev/ttyACM0 serial port connection at 115200.

The preferences for the Mission Control program are stored in a plain text preference file:       /opt/missioncontrol/gps_prefs.usf  

You can change the serial port device, and the baud rate in the gps_prefs.usf file.

[Mission Control Folder

[Mission Control Folder

This is the /opt/missioncontrol/ folder after installation.

View full image

Starting Mission Control

Step 1. Connect your MikroElektronika GPS Click board to the Raspberry Pi USB port.

Step 2. Double click on the "Mission Control" icon on your PI's desktop to start the program.

Double Click

Double Click

You can double click the desktop icon to start Mission Control.

View full image

If you are using the Raspbian LXDE window manager, you can also start Mission Control with the Internet > Mission Control menu item. You can start Mission Control with the debugging info visible by running the Internet Menu > Mission Control Terminal menu item.

The raw NMEA GPS log file can be viewed with the Internet Menu > GPS Tracklog menu item. This command opens the /opt/missioncontrol/gps_log/tracklog.gps file in the nano text editor.

Mission Control can be started from the command line by typing the following command in the LXterminal:   

    /opt/missioncontrol/missioncontrol 

 

Step 3. At this point the Raspberry Pi system should show the live Mission Control gauges.

You can now start your web browser on your desktop / laptop / mobile system and track the Raspberry PI using the Mission Control web interface. (You need to have Google Earth installed on your desktop to access the Mission Control webgui. )

Open your desktop system's web browser and access the Raspberry Pi's internet address:

http://192.168.1.137

If you want to view the Mission Control KMZ file directly in Google Earth you can download the current file using the URL:

http://192.168.1.137/mission_control.kmz

A live network Google Earth KMZ file is accessible at:

http://192.168.1.137/link.kmz

The link.kmz file is neat because it refreshes Google Earth regularly and downloads the latest Mission Control data.

A plain text NMEA GPS tracklog is saved on the Raspberry Pi at:

/opt/missioncontrol/gps_logs/tracklog.gps

This logfile is overwritten every time the Mission Control program is launched.

Options

Fullscreen Mode

You can switch between windowed and fullscreen modes by tapping the TAB key on your keyboard, or by clicking in the Mission Control window.


View Layouts

The Mission Control preference file (/opt/missioncontrol/gps_prefs.usf) has an option that allows you to choose between three different window layouts:

# View Layout 0=Vertical Block Layout, 1=Horizontal Layout 5up, 2=Horizontal Layout 6up
@view_layout 1

Setting the @view_layout value to 0 uses a vertically arranged block layout. This vertical layout fits nicely on the Raspberry Pi screen if you decide to use the composite video connection and lower the screen resolution to 640x480.

Setting the @view_layout to 1 uses a horizontal layout with 5 gauges. This layout fits nicely on a 1024x768 screen.

Setting the @view_layout to 2 uses a horizontal layout with 6 gauges.

Vertical Block Layout

Vertical Block Layout

The vertical layout works well on NTSC and PAL screens.

View full image
Horizontal Layout 5 Up

Horizontal Layout 5 Up

This view works well on smaller monitors.

View full image

ALSO FROM THIS AUTHOR

Midnight Blue Color Scheme for mikroC Pro

0

The Midnight Blue color scheme is used to customize the syntax highlighting in mikroC Pro. I created this color scheme to make the mikroC programming experience even better. The scheme is designed to work with all of the MikroElektronika MikroC Pro compilers.

[Learn More]

ACH SHT1x Click RPi Demo

0

The python based sht1x_click.py demo allows you to read a MikroElektronika SHT1X Click board on a Raspberry PI using I2C via a Pi Click Shield. The SHT1x Click board uses an I2C based Sensiron SHT11 module for reading the temperature and humidity. The RPi I/O uses MikroBus I2C SDA = RPI Pin 3, MikroBus I2C SCL = RPI Pin 5.

[Learn More]

Charcoal Color Scheme for mikroC Pro

0

The Charcoal color scheme is used to customize the syntax highlighting in mikroC Pro. I created this color scheme to make the mikroC programming experience even better with a darker and less saturated background than the Midnight Blue theme. The scheme is designed to work with all of the MikroElektronika mikroC Pro compilers.

[Learn More]