-
Notifications
You must be signed in to change notification settings - Fork 422
Description
ROS2 Package Error :Cannot subscribe /rxmrtcm topic, U-blox: received NACK: 0x06 / 0x01
I downloaded the driver for the ROS2 branch on Ubuntu22.04 and ROS2, using Ublox zed-f9p as the device.
I wanted to receive/rxmtcm topics, but received an error: U-blox: received NACK: 0x06/0x01, and it seems that the topic was not successfully created: The message type 'ubbox_csgs/msg/RxmRTCM' is invalid
[ublox_gps_node-1] [DEBUG] [1755780390.012376512] [ublox_gps_node]: Setting rate 0x0b, 0x30, 1 [ublox_gps_node-1] [DEBUG] [1755780390.012546928] [ublox_gps_node]: U-Blox sent 11 bytes: [ublox_gps_node-1] b5 62 6 1 3 0 b 30 1 46 c1 [ublox_gps_node-1] [DEBUG] [1755780390.012682904] [ublox_gps_node]: Waiting for ACK 0x06 / 0x01 [ublox_gps_node-1] [ERROR] [1755780390.013840932] [ublox_gps_node]: U-blox: received NACK: 0x06 / 0x01 [ublox_gps_node-1] [DEBUG] [1755780390.013967271] [ublox_gps_node]: Setting rate 0x0b, 0x31, 1 [ublox_gps_node-1] [DEBUG] [1755780390.013997745] [ublox_gps_node]: Waiting for ACK 0x06 / 0x01 [ublox_gps_node-1] [DEBUG] [1755780390.014089993] [ublox_gps_node]: U-Blox sent 11 bytes: [ublox_gps_node-1] b5 62 6 1 3 0 b 31 1 47 c3 [ublox_gps_node-1] [ERROR] [1755780390.015258231] [ublox_gps_node]: U-blox: received NACK: 0x06 / 0x01
The problem may come from here, Because UBX-CFG MSG was deprecated after version 23.01, but I don't know how to modify it and instead use UBX-CFG VALSET
`// AID messages
if (getRosBoolean(this, "publish.aid.alm")) {
gps_->subscribe<ublox_msgs::msg::AidALM>([this](const ublox_msgs::msg::AidALM &m) { aid_alm_pub_->publish(m); },
1);
}
if (getRosBoolean(this, "publish.aid.eph")) {
gps_->subscribe<ublox_msgs::msg::AidEPH>([this](const ublox_msgs::msg::AidEPH &m) { aid_eph_pub_->publish(m); },
1);
}`