ublox_f9p icon indicating copy to clipboard operation
ublox_f9p copied to clipboard

About ntrip client usage

Open wqrray opened this issue 5 years ago • 5 comments

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?

wqrray avatar Dec 16 '19 21:12 wqrray

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

bjajoh avatar Oct 28 '20 22:10 bjajoh

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.

bjajoh avatar Oct 29 '20 00:10 bjajoh

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!

miellis avatar Jun 11 '21 04:06 miellis

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

yulan0215 avatar May 31 '23 06:05 yulan0215

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.

euge2838 avatar Aug 23 '23 12:08 euge2838