Giter VIP home page Giter VIP logo

virtualgps's Introduction

Virtual Gps

Virtual GPS simulates GPS receiver, which uses configurable geographic location

How to use it?

Run Virtual GPS from command line as gpsd user:

sudo -u gpsd python3 virtualgps.py

OR

Setup system-wide service:

sudo cp virtualgps.py /usr/bin/
sudo cp virtualgps.service /etc/systemd/system/
sudo systemctl enable virtualgps.service
sudo systemctl start virtualgps.service

Note: Running virtualgps.py as gpsd user ensures that gpsd daemon can access /tmp/virtualgps device. If you run the application as any other user, make sure that access rights are set properly.

Debian package with Virtual GPS is available from www.astroberry.io.

How to access Virtual GPS?

Virtual GPS device is linked to /tmp/virtualgps file (only when virtualgps.py is running)

How to configure virtual location?

You can edit /etc/location.conf.d/location.conf file or use Preferences/Geographic Location menu

What's the deal of using Virtual GPS?

If you don't have GPS device but you use applications that require one, you can simulate GPS device with Virtual GPS. While started it reads location from /etc/location.conf.d/location.conf file and feeds it to gpsd daemon. Any application that can get location form gpsd will use your location from configuration file.

Issues

File any issues on https://github.com/rkaczorek/virtualgps/issues

virtualgps's People

Contributors

dmoulton avatar rkaczorek avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.