Skip to content

fprime-community/gps-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

F´ GPS Tutorial App

This is an example F´ driver for NEMA compatible GPS modules built in the F´ GPS Tutorial. The tutorial specifically targets the raspberry pi but this application should work on any linux system.

Building

  1. Run git clone --recurse-submodules to checkout this repository and its submodules.
  2. If you're cross compiling, change the default toolchain in GpsApp/settings.ini to the correct target (ex. raspberrypi).
  3. In the GpsApp directory, run fprime-util generate, then fprime-util build to build the app.

Running

The GpsApp binary will be in the bin directory and after copying to the target can be run directly. It defaults to listening to a GPS on the /dev/ttyUSB0 serial port, but the -d argument can be used to manually set the GPS serial port. The -a sets the location of the GDS to connect to.

# On target
$ ./GpsApp -a <GDS IP> -d /dev/ttyUSB0
# On host computer
$ fprime-gds -n --dictionary GpsApp/Top/GpsAppTopologyAppDictionary.xml

About

F´ GPS Driver Tutorial Example Code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •