Git Product home page Git Product logo

rtklib_ros_bridge's Introduction

rtklib_ros_bridge

CircleCI

Overview

rtklib_ros_bridge is a package that outputs the latitude and longitude, satellite reception status, altitude, ecef xyz, ecef velocity vector, and Time of Week (GPS Time) calculated by RTKLIB as ROS messages.

Install

  1. First, download the modified RTKLIB to your home directory.

     cd $HOME  
     git clone https://github.com/MapIV/RTKLIB.git
     cd $HOME/RTKLIB     
     git checkout rtklib_ros_bridge    
    

    About RTKLIB

  2. Build RTKLIB.

     cd $HOME/RTKLIB/lib/iers/gcc/  
     make   
     cd $HOME/RTKLIB/app  
     make   
    
  3. Change the permissions of the two files.

     cd $HOME/RTKLIB/app/rtkrcv/gcc  
     chmod 755 rtkstart.sh  
     chmod 755 rtkshut.sh  
    
  4. Next, download and build rtklib_ros_bridge.

     cd $HOME/catkin_ws/src  
     git clone https://github.com/MapIV/rtklib_ros_bridge.git  
     cd ..  
     catkin_make -DCMAKE_BUILD_TYPE=Release  
    

Configuration

  1. Open RTKLIB settings.

     gedit $HOME/RTKLIB/app/rtkrcv/conf/rtklib_ros_bridge_sample.conf
    
  2. Set the serial device on line 10. If you connect using USB, it is OK.

Line 10:
inpstr1-path =/serial/by-id/usb-u-blox_AG_-_www.u-blox.com_u-blox_GNSS_receiver-if00:9600:8:n:1:off

※If you know the device number "/dev/ttyACM-" but OK.

  1. Next, configure the receiver from ublox application, u-center.The usage of u-center is not described here. Below is an overview of the settings. (Here is how to use a Ublox receiver)
  • Enable UBX message ※Set to output only RAWX and SFRBX

  • Save your settings last.

    About u-center

Usage

  1. Connect the GNSS receiver and start RTKLIB.

     cd $HOME/RTKLIB  
     bash rtklib_ros_bridge_sample.sh  
    
  2. Check the status of RTKLIB. If GPS Time is moving, it is OK. Execute the following command in the terminal of item 3.

     status 0.1  
    

※If GPS Time is not working, there may be a mistake in the receiver settings or RTKLIB settings.

  1. Start rtklib_ros_bridge.

     rosrun rtklib_bridge rtklib_bridge   
    

rtklib_ros_bridge's People

Contributors

aoki-takanose avatar osamusekino 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.