Skip to content

Commit

Permalink
add logs
Browse files Browse the repository at this point in the history
  • Loading branch information
VladyslavHrynchak200204 committed Nov 22, 2024
1 parent ce4fb64 commit 7a0a8c9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/AprilTagNode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,9 @@ void AprilTagNode::toggle_enabled(
const std::shared_ptr<std_srvs::srv::SetBool::Request> request,
std::shared_ptr<std_srvs::srv::SetBool::Response> response
)
{ if (request->data){
{
RCLCPP_INFO(get_logger(), "Request received");
if (request->data){
RCLCPP_INFO(get_logger(), "Enabling apriltag detection");
}
else {
Expand Down

0 comments on commit 7a0a8c9

Please sign in to comment.