Skip to content

Commit 56a3a0b

Browse files
Fix warning for unsupported SPG mode (#181)
Co-authored-by: Philipp Polterauer <[email protected]>
1 parent 3c1784b commit 56a3a0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ublox_gps/src/node.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,10 +225,10 @@ void UbloxNode::addProductInterface(const std::string & product_category,
225225
components_.push_back(std::make_shared<AdrUdrProduct>(nav_rate_, meas_rate_, frame_id_, updater_, this));
226226
} else if (product_category == "FTS") {
227227
components_.push_back(std::make_shared<FtsProduct>());
228-
} else if (product_category == "SPG") {
228+
} else {
229229
RCLCPP_WARN(this->get_logger(), "Product category %s %s from MonVER message not recognized %s",
230230
product_category.c_str(), ref_rov.c_str(),
231-
"options are HPG REF, HPG ROV, HPG #.#, TIM, ADR, UDR, FTS, SPG");
231+
"options are HPG REF, HPG ROV, HPG #.#, TIM, ADR, UDR, FTS");
232232
}
233233
}
234234

0 commit comments

Comments
 (0)