Skip to content

Commit

Permalink
mistake test
Browse files Browse the repository at this point in the history
  • Loading branch information
bgill92 committed Sep 4, 2023
1 parent bee2351 commit d5070d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion naive/src/incrementer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Incrementer::Incrementer(std::unique_ptr<MiddlewareHandle> mw)
{
mw_->registerCallback([this](const std_msgs::msg::Int64::SharedPtr msg) {
std_msgs::msg::Int64 incremented;
incremented.data = msg->data + 1;
incremented.data = msg->data;
mw_->publish(incremented);
});
}

0 comments on commit d5070d1

Please sign in to comment.