Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About ntrip client usage #2

Open
wqrray opened this issue Dec 16, 2019 · 5 comments
Open

About ntrip client usage #2

wqrray opened this issue Dec 16, 2019 · 5 comments

Comments

@wqrray
Copy link

wqrray commented Dec 16, 2019

I can now get the correction data from ntrip client by launch a node and I can find a new "rtcm" node in the topic list, but how to use the correction data to do the correction for the position? The ublox_gps node seems unable to receive the correction data. I'm new to ROS, can you give me some hint on that?

@bjajoh
Copy link

bjajoh commented Oct 28, 2020

I would also be very interested, did you find a solution on that one?

@bjajoh
Copy link

bjajoh commented Oct 29, 2020

Ok, I got it working. You just need to put the correct topic for the callback in the source code.
ublox_gps/src/node.cpp

Change one of the las lines " param_nh.param("/ntrip_ros/rtcm_topic", rtcm_topic, std::string("rtcm"));
--> "/ntrip_ros/rtcm_topic" is the topic in my case.

@miellis
Copy link

miellis commented Jun 11, 2021

Ok, I got it working. You just need to put the correct topic for the callback in the source code.
ublox_gps/src/node.cpp

Change one of the las lines " param_nh.param("/ntrip_ros/rtcm_topic", rtcm_topic, std::string("rtcm"));
--> "/ntrip_ros/rtcm_topic" is the topic in my case.

This fixed it for me thanks alot!

@yulan0215
Copy link

I can now get the correction data from ntrip client by launch a node and I can find a new "rtcm" node in the topic list, but how to use the correction data to do the correction for the position? The ublox_gps node seems unable to receive the correction data. I'm new to ROS, can you give me some hint on that?

Hi, I launched the ntrip file but there was no data come, always the zero length data problem. Do you know what is the problem? Thx

@euge2838
Copy link

euge2838 commented Aug 23, 2023

I can now get the correction data from ntrip client by launch a node and I can find a new "rtcm" node in the topic list.

@wqrray @bjajoh Could you share the configuration? launch file and ntripclient.py file (assuming you used those).
How the output you receive from the caster/service looks like?
Thanks

UPDATE
The main issue was to be using Python 2.7 instead of Python 3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants