28 using namespace ScanLocationGroup;
44 std::vector<armarx::FramedPositionPtr> locationList = in.getLocationList();
46 int nextLocationIndex = counterId->getDataField(
"value")->getInt();
47 getSystemObserver()->incrementCounter(counterId);
49 if (nextLocationIndex < (
int)locationList.size())
51 out.setnextLocation(locationList.at(nextLocationIndex));
55 objpose::SignalHeadMovementInput
input;
56 input.action = objpose::HeadMovementAction_Starting;
57 input.discardUpdatesIntervalMilliSeconds = in.getObjectPoseStorageDiscardUpdatesIntervalMS();
58 getObjectPoseStorage()->signalHeadMovement(
input);
63 out.setnextLocation(locationList.back());