Skip to content

Commit

Permalink
Required interface changes for staged firmware
Browse files Browse the repository at this point in the history
  • Loading branch information
treideme committed Apr 25, 2024
1 parent 6078308 commit 647a6a7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/bottlenose_camera_driver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1293,13 +1293,13 @@ bool CameraDriver::configure_point_cloud() {
}
if(enabled) {
int akazeValue = get_parameter("AKAZELength").as_int();
string value = std::to_string(akazeValue) + "-Bits";
string value = "Bits" + std::to_string(akazeValue);
if(!set_enum_register("AKAZELength", value)) {
RCLCPP_ERROR(get_logger(), "Could not configure AKAZELength");
return false;
}
akazeValue = get_parameter("AKAZEWindow").as_int();
value = std::to_string(akazeValue) + "x" + std::to_string(akazeValue) + "-Window";
value = "Window"+std::to_string(akazeValue) + "x" + std::to_string(akazeValue);
if(!set_enum_register("AKAZEWindow", value)) {
RCLCPP_ERROR(get_logger(), "Could not configure AKAZEWindow");
return false;
Expand All @@ -1319,7 +1319,7 @@ bool CameraDriver::configure_point_cloud() {
}
}
// Force detailed matching metrics
if(!set_enum_register("HAMATOutputFormat", "Coordinate Detailed")) {
if(!set_enum_register("HAMATOutputFormat", "CoordinateDetailed")) {
RCLCPP_ERROR(get_logger(), "Could not configure HAMATOutputFormat");
return false;
}
Expand Down

0 comments on commit 647a6a7

Please sign in to comment.