OS Platform and Distribution (e.g., Linux Ubuntu 18.04):
Apollo installed from (source):
Apollo version (1.0,1.5, 2.0, 2.5):
Hello, I have a question regarding the configuration of the GPS receiver. I have a base station configured to send the correction data (RTCMV3 format) to the mobile receiver via radio modems, it works but I have a small problem concerning the recovery of the correction data in Apollo.
In the default configuration of the gnss driver the data is sent by an NTRIP server which implies the use of the server address and port but I use radio modems, which means that I must use a serial port for sending the correction data to Apollo.
data {
format: NOVATEL_BINARY
serial {
device: "/dev/ttyUSB0"
baud_rate: 115200
}
}
#rtk_from {
# format: RTCM_V3
# serial {
# #device: "/dev/ttyUSB2"
# #baud_rate: 9600
# timeout_s: 5
# }
# push_location: true
#}
rtk_to {
format: NOVATEL_BINARY
serial {
device: "/dev/ttyUSB1"
baud_rate: 115200
}
}
command {
format: NOVATEL_BINARY
serial {
device: "/dev/ttyUSB2"
baud_rate: 115200
}
}
would it be possible to use the same serial port for sending GPS data (Novatel_Binary format) and correction data (RTCMV3) ???
RTCMV3 is a network protocol, I think it cannot be transmitted through the serial port.
I know that the GPS device of the d-kit car can access the network RTK by itself. Is this the feature you want?
Thank you for this precision, the GPS device is already accessing these data (see the two figures).
I am looking for a way to send the correction data to the apollo software because in the topics of the GNSS driver there is a topic "/apollo/sensor/gnss/rtcm_data" which is supposed to post this data but I can't do it through the same serial port I send the GPS data through.
navette1@in_dev_docker:/apollo$ rostopic echo /apollo/sensor/gnss/rtcm_data
/use_sim_time is not set, will not subscribe to simulated time [/clock] topic
You can use the data port to receive RTK correction data. Although there are still some details to confirm, such as whether the device supports it and how to set it up
data {
format: NOVATEL_BINARY
serial {
device: "/dev/novatel0"
baud_rate: 115200
}
}
I checked this track, it is actually used to send the correction data to the port specifier.
Did you know why the topic /apollo/sensor/gnss/rtcm_data does not send anything as a return?
I thought that this topic is used to publish the data of corrections received by the GPS device.
This data of topic are important for modules?

In my opinion, /apollo/sensor/gnss/rtcm_data is used for gnss module only. It's used for rtk calibration, no other modules need to use it.
Thank @daohu527, in this case no worries if I do not receive the data publications on this topic?
In dreamview apollo indicates the correct functioning of the GPS driver:

Yes, Other external modules do not need this topic. If gnss module works well, I think it's fine. : )
Thanks, you can close this issue.