Skip to content
Snippets Groups Projects
Commit 28140796 authored by Hoop77's avatar Hoop77
Browse files

-

parent 331ac22c
Branches
No related merge requests found
......@@ -30,6 +30,7 @@ void Ultrasonic::onInit()
{
ussDataMsg msg;
auto distance = getDistance();
std::cout << "distance: " << distance << "\n";
msg.distance = distance;
ussData.publish(msg);
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment