septentrio-gnss / septentrio_gnss_driver

ROS 1 & 2 driver for Septentrio GNSS & INS receivers
BSD 3-Clause "New" or "Revised" License
71 stars 37 forks source link

Unable to enable NTRIP via ROS yaml #119

Closed fiorano10 closed 2 months ago

fiorano10 commented 3 months ago

I am trying to enable and set up ntrip via the ROS driver but it does work. If I do it via the web interface it works fine but I am unable to change the params and have them take effect. I get the following error when running the node. Internet via usb is enabled and network is shared with mosaic

[ INFO] [1712269543.763666999]: /mosaic_rover: Setting up Rx.
[ERROR] [1712269544.007263301]: /mosaic_rover: Invalid command just sent to the Rx! The Rx's response contains 62 bytes and reads:
 $R? setAntennaOffset: Tabular argument 'Antenna' is invalid!

[ERROR] [1712269544.008559705]: /mosaic_rover: Invalid command just sent to the Rx! The Rx's response contains 57 bytes and reads:
 $R? setNtripSettings: Tabular argument 'Cd' is invalid!

[ERROR] [1712269544.010540076]: /mosaic_rover: Invalid command just sent to the Rx! The Rx's response contains 57 bytes and reads:
 $R? setNtripSettings: Tabular argument 'Cd' is invalid!

[ERROR] [1712269544.011905323]: /mosaic_rover: Invalid command just sent to the Rx! The Rx's response contains 60 bytes and reads:
 $R? setNtripTlsSettings: Tabular argument 'Cd' is invalid!

RTK settings in the yaml


rtk_settings:
  ntrip_1:
    id: "NTRIP1"
    caster: ""
    caster_port: 2101
    username: ""
    password: ""
    mountpoint: ""
    version: "v2"
    tls: false
    fingerprint: ""
    rtk_standard: "auto"
    send_gga: "auto"
    keep_open: true
  ip_server_1:
    id: ""
    port: 0
    rtk_standard: "auto"
    send_gga: "auto"
    keep_open: true
  serial_1:
    port: ""
    baud_rate: 115200
    rtk_standard: "auto"
    send_gga: "auto"
    keep_open: true
thomasemter commented 3 months ago

Hi there,

your id should read NTR1 and the settings are incomplete. You have to at least specify caster and mountpoint, else the receiver does not know where to connect to. Maybe you also have to provide a username and password depending on the caster you are using.

fiorano10 commented 2 months ago

Yup - that was it. Thank you!

thomasemter commented 2 months ago

Great, thanks for confirming,