Giter Club home page Giter Club logo

nmea_gps_driver's Introduction

nmea_gps_driver

Fork of official ROS NMEA GPS Driver

I found the GPS nmea driver not doing exactly what I wanted on Clearpath's Kingfisher, so I've refactored it "a little" and created my own fork of it on github. I'll try to send it upstream but in the mean-time you're welcome to try it.

Main changes:

  • Listen to all (still need GSV, but it's not so useful) the messages and publish a GPSFix message in addition to the NavSatMessage with additional data. I was mostly interested in publishing the heading to merge it with my compass and gyro data with some EKF.
  • Adds a new parameter "trigger", which define which GPS message will trigger a publish. The data is accumulated otherwise. I use "GGA" as trigger, but "RMC" would work as well.
  • Refactored the code to make it read data by batch on the serial port. In practice it waits for one character, then sleep a little bit (parameter sleep_ms, default 5ms), and reads everything that was received. This way, it only takes 2% CPU instead of 10%.

nmea_gps_driver's People

Contributors

cedricpradalier avatar ericperko avatar mikepurvis avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

enginbozkurt

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.