Giter VIP home page Giter VIP logo

Comments (3)

gareth-cross avatar gareth-cross commented on June 11, 2024

Make sure you specify different name parameters for each GPS. The default in ublox_gps.launch is:

<arg name="gps" default="gps"/>

So both your GPS units will publish onto the same topic. You could call one gps1 and another gps2, etc...

from ublox.

ymkim92 avatar ymkim92 commented on June 11, 2024

Thank a lot Gareth!

from ublox.

ArjunBalakrishnan avatar ArjunBalakrishnan commented on June 11, 2024

Hello,
I followed this suggestion and created a launch file as given below. It creates two different nodes gps1 and gps2. But topics are only published in one of them. What could be the error? I highly appreciate any suggestions.

<launch>
<arg name="output" default="screen" />
 <arg name="respawn" default="true" />
 <arg name="respawn_delay" default="30" />
 <arg name="clear_params" default="true" />

 <node pkg="ublox_gps" type="ublox_gps" name="gps1"
       output="$(arg output)" 
       clear_params="$(arg clear_params)"
       respawn="$(arg respawn)" 
       respawn_delay="$(arg respawn_delay)">
   <rosparam command="load" 
             file="$(find ublox_gps)/config/gps1.yaml" />
 </node>

 <node pkg="ublox_gps" type="ublox_gps" name="gps2"
       output="$(arg output)" 
       clear_params="$(arg clear_params)"
       respawn="$(arg respawn)" 
       respawn_delay="$(arg respawn_delay)">
   <rosparam command="load" 
             file="$(find ublox_gps)/config/gps2.yaml" />
 </node>
</launch>

Thank you

from ublox.

Related Issues (20)

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.