KumarRobotics / ublox

A driver for ublox gps
BSD 3-Clause "New" or "Revised" License
453 stars 390 forks source link

Ntrip client to recieve correction data #150

Closed felrock closed 2 years ago

felrock commented 2 years ago

Ḯm using a zed-f9p and i would like to receive correction data from an ntrip caster, so i need a ntrip client and then apply the received correction. I found this related pr, but it seems to send rtcm and not receive it. Is there another repo that could aid here?

stan-guer commented 2 years ago

I used this and it works: https://github.com/ros-agriculture/ntrip_ros

fcladera commented 2 years ago

After #136, we have successfully tested this feature using https://github.com/LORD-MicroStrain/ntrip_client. Here is an example launch that is compatible with this package:

roslaunch ntrip_client ntrip_client.launch host:=your_host  mountpoint:=your_mountpoint username:=your_username password:=your_password rtcm_message_package:=rtcm_msgs
BRNKR commented 2 years ago

EDIT: Didnt see: https://github.com/KumarRobotics/ublox/blob/master/ublox_gps/src/node.cpp#L1901

So it is hardcoded to /rtcm topic


@fcladera but how to set the config in ublox package?

https://github.com/KumarRobotics/ublox/blob/master/ublox_gps/src/node.cpp#L1255

The code starts an subscription but param is called "publish" ?! it is misleading. can yo provide me the right instructions for the config.yaml and on which topic i have to publish the rtcm messages? Thank you

fcladera commented 2 years ago

Yes, that's correct. The NTRIP client publishes to /rtcm.

euge2838 commented 1 year ago

@Squizzy911 did you solve this issue? I have the same one.

pieterblok commented 1 year ago

After #136, we have successfully tested this feature using https://github.com/LORD-MicroStrain/ntrip_client. Here is an example launch that is compatible with this package:

roslaunch ntrip_client ntrip_client.launch host:=your_host  mountpoint:=your_mountpoint username:=your_username password:=your_password rtcm_message_package:=rtcm_msgs

@fcladera thanks for the update!

I'm currently using the NTRIP client of RTKLIB (https://github.com/rtklibexplorer/RTKLIB.git), but I want to switch to the NTRIP client of LORD-MicroStrain in ROS2. Doesn't this LORD-MicroStrain option need the output specification (-out)? And how can I properly convert this RTKLIB code to the LORD-MicroStrain one?

./str2str -in ntrip://guest:guest@160.16.134.72:80/CQ-UBLOX -out serial://ttyACM0:230400

This is the format: ntrip://[username]:[password]@[host]:[port]/[mountpoint]

Maybe I missed it, but there's no clear example on the LORD-MicroStrain git. Thank you!