Skip to content

Commit

Permalink
fix(continental): print error message on previous call to undefined f…
Browse files Browse the repository at this point in the history
…unction reference
  • Loading branch information
mojomex committed Jun 24, 2024
1 parent de23a74 commit 8143af7
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -578,6 +578,14 @@ Status ContinentalARS548HwInterface::SetYawRate(float yaw_rate)
return Status::OK;
}

Status ContinentalARS548HwInterface::CheckAndSetConfig()
{
RCLCPP_ERROR(
*parent_node_logger,
"This functionality is not yet implemented. Sensor is probably out of sync with config now.");
return Status::ERROR_1;
}

void ContinentalARS548HwInterface::SetLogger(std::shared_ptr<rclcpp::Logger> logger)
{
parent_node_logger = logger;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,14 @@ Status MultiContinentalARS548HwInterface::SetYawRate(float yaw_rate)
return Status::OK;
}

Status MultiContinentalARS548HwInterface::CheckAndSetConfig()
{
RCLCPP_ERROR(
*parent_node_logger,
"This functionality is not yet implemented. Sensor is probably out of sync with config now.");
return Status::ERROR_1;
}

void MultiContinentalARS548HwInterface::SetLogger(std::shared_ptr<rclcpp::Logger> logger)
{
parent_node_logger = logger;
Expand Down

0 comments on commit 8143af7

Please sign in to comment.