32 #include "PlatformGroupStatechartContext.generated.h"
35 using namespace PlatformGroup;
54 ChannelRefPtr counter = ChannelRefPtr::dynamicCast(
c->systemObserverPrx->startCounter(0,
"PlatformPositionCounter"));
55 local.setpositionCounter(counter);
60 std::vector<Eigen::Vector3f> path;
64 path.reserve(points->getSize());
68 for (
int i = 0; i < points->getSize(); i++)
73 path.emplace_back(Eigen::Vector3f{point->x, point->y, point->z});
102 auto layer = arvizClient->layer(
"path");
103 layer.add(
viz::Path(
"path").points(path));
104 arvizClient->commit({layer});
113 c->systemObserverPrx->removeCounter(r);