User Tools

Site Tools


misc:hacks:gps

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
misc:hacks:gps [2014-01-06 12:02]
macke
misc:hacks:gps [2021-06-24 16:44] (current)
kimberly
Line 1: Line 1:
 +<WRAP center round important 60%>
 +This page has deprecated and will be archived. Please go to [[https://www.bitcraze.io/]].
 +</WRAP>
 ====== Adding a u-blox MAX-7 GPS module ====== ====== Adding a u-blox MAX-7 GPS module ======
  
  
-====== What you need ======+===== What you need =====
   * u-blox MAX-7 GPS breakout (we have [[http://ava.upuaut.net/store/index.php?route=product/product&path=59_60&product_id=52|one from HAP Supplies]])   * u-blox MAX-7 GPS breakout (we have [[http://ava.upuaut.net/store/index.php?route=product/product&path=59_60&product_id=52|one from HAP Supplies]])
   * KDE Marble built with Python bindings   * KDE Marble built with Python bindings
  
-====== How to get it working ====== +===== How to get it working ===== 
-These instructions are valid for Ubuntu 13.10 but similar steps should work with other OSes.+These instructions are valid for Ubuntu 13.10 but similar steps should work with other distros.
  
   * Attach the u-blox beakout to the expansion header by connecting the following pins (breakout -> Crazyflie expansion header):   * Attach the u-blox beakout to the expansion header by connecting the following pins (breakout -> Crazyflie expansion header):
Line 16: Line 19:
   * Since the Python bindings for Marble isn't built by default you will have to build Marble from source and enable these (instructions taken from [[http://techbase.kde.org/Projects/Marble/MarblePythonInstructions|here]])   * Since the Python bindings for Marble isn't built by default you will have to build Marble from source and enable these (instructions taken from [[http://techbase.kde.org/Projects/Marble/MarblePythonInstructions|here]])
 <code> <code>
-sudo apt-get install python-sip-dev python-qt4-dev+sudo apt-get install python-sip-dev python-qt4-dev kdelibs5-dev python-kde4
  
 git clone git://anongit.kde.org/marble.git ~/marble/sources -b KDE/4.12 git clone git://anongit.kde.org/marble.git ~/marble/sources -b KDE/4.12
Line 25: Line 28:
 sudo make install sudo make install
 </code> </code>
-  * Make sure you have the correct firmware/software (the firmware isn't pushed yet but the cfclient is on the ''gpstab'' branch)+  * Make sure you have the correct firmware/software (the firmware is on the [[https://github.com/bitcraze/crazyflie-firmware/tree/gps_ublox_dev|gps_ublox_dev]] branch and the client is on the [[https://github.com/bitcraze/crazyflie-clients-python/tree/gpstab|gpstab]] branch)
  
-====== Tweaking and development ====== +===== Tweaking and development ===== 
-There's no assisted GPS or battery backup so every time the Crazyflie is powered on the GPS module does a cold-start, which means that it takes at least ~30 seconds to get a fix. This will be improved in the future.+There's no assisted GPS or battery backup so every time the Crazyflie is powered on the GPS module does a cold-start, which a while to get a fix. During ideal conditions it should be 42 seconds (according to datasheet) but during testing we have seen times closer to 4-6 minutes. The plan is to improve this in the future by implementing assisted GPS (downloading almanac on the PC and transferring via CRTP).
  
 Getting a position fix will not be as easy as with your phone, so make sure to be outside (or at least stick the Crazyflie a couple of meters outside the window). Getting a position fix will not be as easy as with your phone, so make sure to be outside (or at least stick the Crazyflie a couple of meters outside the window).
  
 If you don't have a GPS module you can still use the [[projects:crazyflie:pc_utils:debugdriver|DebugDriver]] which will send fake latitude/longitude/altitude to the UI. If you don't have a GPS module you can still use the [[projects:crazyflie:pc_utils:debugdriver|DebugDriver]] which will send fake latitude/longitude/altitude to the UI.
- 
misc/hacks/gps.1389006127.txt.gz · Last modified: 2015-07-15 16:30 (external edit)