fjkdashfjdal
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
#include <terabee/ITerarangerMultiflex.hpp>
|
#include <terabee/ITerarangerMultiflex.hpp>
|
||||||
#include <terabee/DistanceData.hpp>
|
#include <terabee/DistanceData.hpp>
|
||||||
|
|
||||||
#include <iostream>
|
// #include <iostream>
|
||||||
|
|
||||||
using terabee::DistanceData;
|
using terabee::DistanceData;
|
||||||
|
|
||||||
@@ -71,10 +71,10 @@ private:
|
|||||||
terabee::DistanceData data = multiflex->getDistance();
|
terabee::DistanceData data = multiflex->getDistance();
|
||||||
|
|
||||||
// populate message with readings
|
// populate message with readings
|
||||||
auto msg = object_detection::msg::MultiflexReading();
|
// auto msg = object_detection::msg::MultiflexReading();
|
||||||
for (size_t i = 0; i < data.size(); i++)
|
for (size_t i = 0; i < data.size(); i++)
|
||||||
{
|
{
|
||||||
std::cout << "distance " << data.distance[i] < std::endl;
|
// std::cout << "distance " << data.distance[i] < std::endl;
|
||||||
// msg.distance_data[i] = data.distance[i];
|
// msg.distance_data[i] = data.distance[i];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user